juno-network 0.5.3 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -2
- package/main/codegen/JunoSwap.client.js +44 -42
- package/module/codegen/JunoSwap.client.js +180 -0
- package/module/codegen/JunoSwap.types.js +1 -0
- package/module/codegen/confio/proofs.js +1152 -0
- package/module/codegen/contracts.js +18 -0
- package/module/codegen/cosmos/app/v1alpha1/config.js +148 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +227 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +104 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.query.js +20 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +297 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +82 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +806 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +236 -0
- package/module/codegen/cosmos/authz/v1beta1/event.js +135 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +49 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +365 -0
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +76 -0
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.query.js +53 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +91 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +309 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +49 -0
- package/module/codegen/cosmos/bank/v1beta1/bank.js +461 -0
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +137 -0
- package/module/codegen/cosmos/bank/v1beta1/query.js +972 -0
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +147 -0
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.query.js +123 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +78 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +195 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +57 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +754 -0
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +139 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +155 -0
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +235 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1281 -0
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +712 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +225 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +104 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1091 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +72 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +55 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +209 -0
- package/module/codegen/cosmos/bundle.js +190 -0
- package/module/codegen/cosmos/capability/v1beta1/capability.js +199 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +150 -0
- package/module/codegen/cosmos/client.js +44 -0
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +61 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +27 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +129 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +95 -0
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +88 -0
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +270 -0
- package/module/codegen/cosmos/crypto/multisig/keys.js +59 -0
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +105 -0
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +95 -0
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +95 -0
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +728 -0
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +585 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.js +880 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +101 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.query.js +119 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +88 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +382 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +99 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +102 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +255 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +29 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +137 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +365 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +429 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +50 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +54 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +247 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +89 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +68 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +111 -0
- package/module/codegen/cosmos/gov/v1/gov.js +750 -0
- package/module/codegen/cosmos/gov/v1/query.js +859 -0
- package/module/codegen/cosmos/gov/v1/query.lcd.js +112 -0
- package/module/codegen/cosmos/gov/v1/query.rpc.query.js +108 -0
- package/module/codegen/cosmos/gov/v1/tx.amino.js +167 -0
- package/module/codegen/cosmos/gov/v1/tx.js +545 -0
- package/module/codegen/cosmos/gov/v1/tx.registry.js +120 -0
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +48 -0
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +111 -0
- package/module/codegen/cosmos/gov/v1beta1/gov.js +801 -0
- package/module/codegen/cosmos/gov/v1beta1/query.js +859 -0
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +112 -0
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.query.js +108 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +128 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.js +424 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +99 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/cosmos/group/v1/events.js +549 -0
- package/module/codegen/cosmos/group/v1/genesis.js +175 -0
- package/module/codegen/cosmos/group/v1/query.js +1769 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +167 -0
- package/module/codegen/cosmos/group/v1/query.rpc.query.js +104 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +429 -0
- package/module/codegen/cosmos/group/v1/tx.js +1969 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +509 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +111 -0
- package/module/codegen/cosmos/group/v1/types.js +1350 -0
- package/module/codegen/cosmos/lcd.js +50 -0
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +73 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +193 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +308 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +32 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +264 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +163 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +242 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +917 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +88 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +31 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +141 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/orm/v1/orm.js +305 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +225 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +175 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +317 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +38 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/rpc.query.js +34 -0
- package/module/codegen/cosmos/rpc.tx.js +25 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +317 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +355 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +43 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +234 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +19 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +105 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +204 -0
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +178 -0
- package/module/codegen/cosmos/staking/v1beta1/query.js +1469 -0
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +196 -0
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.query.js +174 -0
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1446 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +216 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.js +598 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +120 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +48 -0
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +378 -0
- package/module/codegen/cosmos/tx/v1beta1/service.js +714 -0
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +62 -0
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.svc.js +75 -0
- package/module/codegen/cosmos/tx/v1beta1/tx.js +903 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +445 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +66 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +75 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +59 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +174 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +57 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +273 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +114 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +440 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +480 -0
- package/module/codegen/cosmos_proto/bundle.js +8 -0
- package/module/codegen/cosmos_proto/cosmos.js +194 -0
- package/module/codegen/cosmwasm/bundle.js +31 -0
- package/module/codegen/cosmwasm/client.js +39 -0
- package/module/codegen/cosmwasm/lcd.js +57 -0
- package/module/codegen/cosmwasm/rpc.query.js +39 -0
- package/module/codegen/cosmwasm/rpc.tx.js +30 -0
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +358 -0
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +127 -0
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +772 -0
- package/module/codegen/cosmwasm/wasm/v1/query.js +1046 -0
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +128 -0
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.query.js +123 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +189 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.js +711 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +141 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +55 -0
- package/module/codegen/cosmwasm/wasm/v1/types.js +668 -0
- package/module/codegen/gogoproto/bundle.js +8 -0
- package/module/codegen/gogoproto/gogo.js +1 -0
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +328 -0
- package/module/codegen/google/bundle.js +19 -0
- package/module/codegen/google/protobuf/any.js +58 -0
- package/module/codegen/google/protobuf/descriptor.js +2775 -0
- package/module/codegen/google/protobuf/duration.js +119 -0
- package/module/codegen/google/protobuf/empty.js +35 -0
- package/module/codegen/google/protobuf/field_mask.js +48 -0
- package/module/codegen/google/protobuf/struct.js +310 -0
- package/module/codegen/google/protobuf/timestamp.js +143 -0
- package/module/codegen/google/protobuf/wrappers.js +426 -0
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +69 -0
- package/module/codegen/ibc/applications/transfer/v1/query.js +276 -0
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +46 -0
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.query.js +55 -0
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +115 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +58 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.js +150 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.registry.js +36 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +20 -0
- package/module/codegen/ibc/applications/transfer/v2/packet.js +78 -0
- package/module/codegen/ibc/bundle.js +120 -0
- package/module/codegen/ibc/client.js +45 -0
- package/module/codegen/ibc/core/channel/v1/channel.js +646 -0
- package/module/codegen/ibc/core/channel/v1/genesis.js +188 -0
- package/module/codegen/ibc/core/channel/v1/query.js +1759 -0
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +162 -0
- package/module/codegen/ibc/core/channel/v1/query.rpc.query.js +165 -0
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +530 -0
- package/module/codegen/ibc/core/channel/v1/tx.js +1218 -0
- package/module/codegen/ibc/core/channel/v1/tx.registry.js +225 -0
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +83 -0
- package/module/codegen/ibc/core/client/v1/client.js +433 -0
- package/module/codegen/ibc/core/client/v1/genesis.js +215 -0
- package/module/codegen/ibc/core/client/v1/query.js +814 -0
- package/module/codegen/ibc/core/client/v1/query.lcd.js +104 -0
- package/module/codegen/ibc/core/client/v1/query.rpc.query.js +110 -0
- package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
- package/module/codegen/ibc/core/client/v1/tx.js +436 -0
- package/module/codegen/ibc/core/client/v1/tx.registry.js +99 -0
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/commitment/v1/commitment.js +190 -0
- package/module/codegen/ibc/core/connection/v1/connection.js +537 -0
- package/module/codegen/ibc/core/connection/v1/genesis.js +81 -0
- package/module/codegen/ibc/core/connection/v1/query.js +608 -0
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +65 -0
- package/module/codegen/ibc/core/connection/v1/query.rpc.query.js +77 -0
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +269 -0
- package/module/codegen/ibc/core/connection/v1/tx.js +603 -0
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +99 -0
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/port/v1/query.js +182 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.query.js +20 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +87 -0
- package/module/codegen/ibc/lcd.js +76 -0
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +59 -0
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1166 -0
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1166 -0
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +424 -0
- package/module/codegen/ibc/rpc.query.js +52 -0
- package/module/codegen/ibc/rpc.tx.js +43 -0
- package/module/codegen/ics23/bundle.js +8 -0
- package/module/codegen/index.js +18 -0
- package/module/codegen/juno/bundle.js +20 -0
- package/module/codegen/juno/lcd.js +55 -0
- package/module/codegen/juno/mint/genesis.js +57 -0
- package/module/codegen/juno/mint/mint.js +137 -0
- package/module/codegen/juno/mint/query.js +243 -0
- package/module/codegen/juno/mint/query.lcd.js +35 -0
- package/module/codegen/juno/mint/query.rpc.query.js +53 -0
- package/module/codegen/juno/rpc.query.js +37 -0
- package/module/codegen/tendermint/abci/types.js +3341 -0
- package/module/codegen/tendermint/bundle.js +36 -0
- package/module/codegen/tendermint/crypto/keys.js +58 -0
- package/module/codegen/tendermint/crypto/proof.js +317 -0
- package/module/codegen/tendermint/libs/bits/types.js +71 -0
- package/module/codegen/tendermint/p2p/types.js +386 -0
- package/module/codegen/tendermint/types/block.js +78 -0
- package/module/codegen/tendermint/types/evidence.js +281 -0
- package/module/codegen/tendermint/types/params.js +361 -0
- package/module/codegen/tendermint/types/types.js +1172 -0
- package/module/codegen/tendermint/types/validator.js +202 -0
- package/module/codegen/tendermint/version/types.js +119 -0
- package/module/index.js +1 -0
- package/package.json +8 -3
- package/src/codegen/JunoSwap.client.ts +299 -0
- package/src/codegen/JunoSwap.types.ts +143 -0
- package/src/codegen/confio/proofs.ts +1521 -0
- package/src/codegen/contracts.ts +13 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +172 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +308 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +26 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +112 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +316 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +88 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +72 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +90 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +865 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +306 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +180 -0
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +58 -0
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +79 -0
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +68 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +464 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +131 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +127 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +51 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +396 -0
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +68 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +666 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +194 -0
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +150 -0
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +155 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1301 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +110 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +35 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +230 -0
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1106 -0
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +145 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +282 -0
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +254 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1708 -0
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +759 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +242 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +112 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +74 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +80 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1181 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +266 -0
- package/src/codegen/cosmos/bundle.ts +214 -0
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +216 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +168 -0
- package/src/codegen/cosmos/client.ts +51 -0
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +69 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +37 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +25 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +136 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +130 -0
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +129 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +349 -0
- package/src/codegen/cosmos/crypto/multisig/keys.ts +78 -0
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +142 -0
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +124 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +122 -0
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +945 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +800 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +104 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +149 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1187 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +120 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +59 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +473 -0
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +107 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +72 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +37 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +283 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +42 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +56 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +144 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +421 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +71 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +48 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +467 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +75 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +91 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +38 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +269 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +71 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +156 -0
- package/src/codegen/cosmos/gov/v1/gov.ts +983 -0
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +115 -0
- package/src/codegen/cosmos/gov/v1/query.rpc.query.ts +134 -0
- package/src/codegen/cosmos/gov/v1/query.ts +1114 -0
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +226 -0
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +66 -0
- package/src/codegen/cosmos/gov/v1/tx.ts +661 -0
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +156 -0
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +1064 -0
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +115 -0
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +134 -0
- package/src/codegen/cosmos/gov/v1beta1/query.ts +1114 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +174 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +57 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +518 -0
- package/src/codegen/cosmos/group/v1/events.ts +600 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +208 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +159 -0
- package/src/codegen/cosmos/group/v1/query.rpc.query.ts +147 -0
- package/src/codegen/cosmos/group/v1/query.ts +1945 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +585 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +512 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +157 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2197 -0
- package/src/codegen/cosmos/group/v1/types.ts +1577 -0
- package/src/codegen/cosmos/lcd.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +81 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +218 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +46 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +339 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +279 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +174 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +279 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +86 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +88 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +976 -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 +25 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +156 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +392 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +289 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +187 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +40 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.query.ts +37 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +348 -0
- package/src/codegen/cosmos/rpc.query.ts +36 -0
- package/src/codegen/cosmos/rpc.tx.ts +28 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +45 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +47 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +394 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +268 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +27 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +110 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +265 -0
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +253 -0
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +199 -0
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +222 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1970 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1957 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +294 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +68 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +735 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +528 -0
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +65 -0
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +94 -0
- package/src/codegen/cosmos/tx/v1beta1/service.ts +984 -0
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +1497 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +69 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +99 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +631 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +86 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +40 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +245 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +432 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +157 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +127 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +50 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +475 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +527 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -0
- package/src/codegen/cosmos_proto/cosmos.ts +289 -0
- package/src/codegen/cosmwasm/bundle.ts +34 -0
- package/src/codegen/cosmwasm/client.ts +44 -0
- package/src/codegen/cosmwasm/lcd.ts +59 -0
- package/src/codegen/cosmwasm/rpc.query.ts +41 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +33 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +433 -0
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +180 -0
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +1083 -0
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +131 -0
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +152 -0
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1378 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +252 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +142 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +75 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +944 -0
- package/src/codegen/cosmwasm/wasm/v1/types.ts +861 -0
- package/src/codegen/gogoproto/bundle.ts +3 -0
- package/src/codegen/gogoproto/gogo.ts +1 -0
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +683 -0
- package/src/codegen/google/bundle.ts +19 -0
- package/src/codegen/google/protobuf/any.ts +291 -0
- package/src/codegen/google/protobuf/descriptor.ts +4317 -0
- package/src/codegen/google/protobuf/duration.ts +215 -0
- package/src/codegen/google/protobuf/empty.ts +62 -0
- package/src/codegen/google/protobuf/field_mask.ts +459 -0
- package/src/codegen/google/protobuf/struct.ts +420 -0
- package/src/codegen/google/protobuf/timestamp.ts +259 -0
- package/src/codegen/google/protobuf/wrappers.ts +587 -0
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +82 -0
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +49 -0
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +66 -0
- package/src/codegen/ibc/applications/transfer/v1/query.ts +369 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +182 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +73 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +37 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +217 -0
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +115 -0
- package/src/codegen/ibc/bundle.ts +125 -0
- package/src/codegen/ibc/client.ts +53 -0
- package/src/codegen/ibc/core/channel/v1/channel.ts +923 -0
- package/src/codegen/ibc/core/channel/v1/genesis.ts +231 -0
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +165 -0
- package/src/codegen/ibc/core/channel/v1/query.rpc.query.ts +214 -0
- package/src/codegen/ibc/core/channel/v1/query.ts +2444 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +670 -0
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +226 -0
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +116 -0
- package/src/codegen/ibc/core/channel/v1/tx.ts +1492 -0
- package/src/codegen/ibc/core/client/v1/client.ts +629 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +288 -0
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +107 -0
- package/src/codegen/ibc/core/client/v1/query.rpc.query.ts +138 -0
- package/src/codegen/ibc/core/client/v1/query.ts +1130 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +205 -0
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +55 -0
- package/src/codegen/ibc/core/client/v1/tx.ts +603 -0
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +257 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +758 -0
- package/src/codegen/ibc/core/connection/v1/genesis.ts +98 -0
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +68 -0
- package/src/codegen/ibc/core/connection/v1/query.rpc.query.ts +97 -0
- package/src/codegen/ibc/core/connection/v1/query.ts +836 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +343 -0
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +56 -0
- package/src/codegen/ibc/core/connection/v1/tx.ts +795 -0
- package/src/codegen/ibc/core/port/v1/query.rpc.query.ts +26 -0
- package/src/codegen/ibc/core/port/v1/query.ts +204 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +98 -0
- package/src/codegen/ibc/lcd.ts +78 -0
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +82 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1499 -0
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1499 -0
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +626 -0
- package/src/codegen/ibc/rpc.query.ts +54 -0
- package/src/codegen/ibc/rpc.tx.ts +46 -0
- package/src/codegen/ics23/bundle.ts +3 -0
- package/src/codegen/index.ts +19 -0
- package/src/codegen/juno/bundle.ts +18 -0
- package/src/codegen/juno/lcd.ts +57 -0
- package/src/codegen/juno/mint/genesis.ts +76 -0
- package/src/codegen/juno/mint/mint.ts +172 -0
- package/src/codegen/juno/mint/query.lcd.ts +38 -0
- package/src/codegen/juno/mint/query.rpc.query.ts +64 -0
- package/src/codegen/juno/mint/query.ts +312 -0
- package/src/codegen/juno/rpc.query.ts +39 -0
- package/src/codegen/tendermint/abci/types.ts +3943 -0
- package/src/codegen/tendermint/bundle.ts +32 -0
- package/src/codegen/tendermint/crypto/keys.ts +69 -0
- package/src/codegen/tendermint/crypto/proof.ts +375 -0
- package/src/codegen/tendermint/libs/bits/types.ts +77 -0
- package/src/codegen/tendermint/p2p/types.ts +438 -0
- package/src/codegen/tendermint/types/block.ts +91 -0
- package/src/codegen/tendermint/types/evidence.ts +325 -0
- package/src/codegen/tendermint/types/params.ts +521 -0
- package/src/codegen/tendermint/types/types.ts +1399 -0
- package/src/codegen/tendermint/types/validator.ts +228 -0
- package/src/codegen/tendermint/version/types.ts +152 -0
- package/src/index.ts +1 -0
- package/types/codegen/JunoSwap.client.d.ts +29 -27
- package/types/codegen/JunoSwap.types.d.ts +43 -25
@@ -0,0 +1,509 @@
|
|
1
|
+
import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
|
2
|
+
export const registry = [["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup], ["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers], ["/cosmos.group.v1.MsgUpdateGroupAdmin", MsgUpdateGroupAdmin], ["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata], ["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy], ["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin], ["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata], ["/cosmos.group.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.group.v1.MsgWithdrawProposal", MsgWithdrawProposal], ["/cosmos.group.v1.MsgVote", MsgVote], ["/cosmos.group.v1.MsgExec", MsgExec], ["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup]];
|
3
|
+
export const load = protoRegistry => {
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
6
|
+
});
|
7
|
+
};
|
8
|
+
export const MessageComposer = {
|
9
|
+
encoded: {
|
10
|
+
createGroup(value) {
|
11
|
+
return {
|
12
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
13
|
+
value: MsgCreateGroup.encode(value).finish()
|
14
|
+
};
|
15
|
+
},
|
16
|
+
|
17
|
+
updateGroupMembers(value) {
|
18
|
+
return {
|
19
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
20
|
+
value: MsgUpdateGroupMembers.encode(value).finish()
|
21
|
+
};
|
22
|
+
},
|
23
|
+
|
24
|
+
updateGroupAdmin(value) {
|
25
|
+
return {
|
26
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
27
|
+
value: MsgUpdateGroupAdmin.encode(value).finish()
|
28
|
+
};
|
29
|
+
},
|
30
|
+
|
31
|
+
updateGroupMetadata(value) {
|
32
|
+
return {
|
33
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
34
|
+
value: MsgUpdateGroupMetadata.encode(value).finish()
|
35
|
+
};
|
36
|
+
},
|
37
|
+
|
38
|
+
createGroupPolicy(value) {
|
39
|
+
return {
|
40
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
41
|
+
value: MsgCreateGroupPolicy.encode(value).finish()
|
42
|
+
};
|
43
|
+
},
|
44
|
+
|
45
|
+
createGroupWithPolicy(value) {
|
46
|
+
return {
|
47
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
48
|
+
value: MsgCreateGroupWithPolicy.encode(value).finish()
|
49
|
+
};
|
50
|
+
},
|
51
|
+
|
52
|
+
updateGroupPolicyAdmin(value) {
|
53
|
+
return {
|
54
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
55
|
+
value: MsgUpdateGroupPolicyAdmin.encode(value).finish()
|
56
|
+
};
|
57
|
+
},
|
58
|
+
|
59
|
+
updateGroupPolicyDecisionPolicy(value) {
|
60
|
+
return {
|
61
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
62
|
+
value: MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish()
|
63
|
+
};
|
64
|
+
},
|
65
|
+
|
66
|
+
updateGroupPolicyMetadata(value) {
|
67
|
+
return {
|
68
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
69
|
+
value: MsgUpdateGroupPolicyMetadata.encode(value).finish()
|
70
|
+
};
|
71
|
+
},
|
72
|
+
|
73
|
+
submitProposal(value) {
|
74
|
+
return {
|
75
|
+
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
76
|
+
value: MsgSubmitProposal.encode(value).finish()
|
77
|
+
};
|
78
|
+
},
|
79
|
+
|
80
|
+
withdrawProposal(value) {
|
81
|
+
return {
|
82
|
+
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
83
|
+
value: MsgWithdrawProposal.encode(value).finish()
|
84
|
+
};
|
85
|
+
},
|
86
|
+
|
87
|
+
vote(value) {
|
88
|
+
return {
|
89
|
+
typeUrl: "/cosmos.group.v1.MsgVote",
|
90
|
+
value: MsgVote.encode(value).finish()
|
91
|
+
};
|
92
|
+
},
|
93
|
+
|
94
|
+
exec(value) {
|
95
|
+
return {
|
96
|
+
typeUrl: "/cosmos.group.v1.MsgExec",
|
97
|
+
value: MsgExec.encode(value).finish()
|
98
|
+
};
|
99
|
+
},
|
100
|
+
|
101
|
+
leaveGroup(value) {
|
102
|
+
return {
|
103
|
+
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
104
|
+
value: MsgLeaveGroup.encode(value).finish()
|
105
|
+
};
|
106
|
+
}
|
107
|
+
|
108
|
+
},
|
109
|
+
withTypeUrl: {
|
110
|
+
createGroup(value) {
|
111
|
+
return {
|
112
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
113
|
+
value
|
114
|
+
};
|
115
|
+
},
|
116
|
+
|
117
|
+
updateGroupMembers(value) {
|
118
|
+
return {
|
119
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
120
|
+
value
|
121
|
+
};
|
122
|
+
},
|
123
|
+
|
124
|
+
updateGroupAdmin(value) {
|
125
|
+
return {
|
126
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
127
|
+
value
|
128
|
+
};
|
129
|
+
},
|
130
|
+
|
131
|
+
updateGroupMetadata(value) {
|
132
|
+
return {
|
133
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
134
|
+
value
|
135
|
+
};
|
136
|
+
},
|
137
|
+
|
138
|
+
createGroupPolicy(value) {
|
139
|
+
return {
|
140
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
141
|
+
value
|
142
|
+
};
|
143
|
+
},
|
144
|
+
|
145
|
+
createGroupWithPolicy(value) {
|
146
|
+
return {
|
147
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
148
|
+
value
|
149
|
+
};
|
150
|
+
},
|
151
|
+
|
152
|
+
updateGroupPolicyAdmin(value) {
|
153
|
+
return {
|
154
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
155
|
+
value
|
156
|
+
};
|
157
|
+
},
|
158
|
+
|
159
|
+
updateGroupPolicyDecisionPolicy(value) {
|
160
|
+
return {
|
161
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
162
|
+
value
|
163
|
+
};
|
164
|
+
},
|
165
|
+
|
166
|
+
updateGroupPolicyMetadata(value) {
|
167
|
+
return {
|
168
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
169
|
+
value
|
170
|
+
};
|
171
|
+
},
|
172
|
+
|
173
|
+
submitProposal(value) {
|
174
|
+
return {
|
175
|
+
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
176
|
+
value
|
177
|
+
};
|
178
|
+
},
|
179
|
+
|
180
|
+
withdrawProposal(value) {
|
181
|
+
return {
|
182
|
+
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
183
|
+
value
|
184
|
+
};
|
185
|
+
},
|
186
|
+
|
187
|
+
vote(value) {
|
188
|
+
return {
|
189
|
+
typeUrl: "/cosmos.group.v1.MsgVote",
|
190
|
+
value
|
191
|
+
};
|
192
|
+
},
|
193
|
+
|
194
|
+
exec(value) {
|
195
|
+
return {
|
196
|
+
typeUrl: "/cosmos.group.v1.MsgExec",
|
197
|
+
value
|
198
|
+
};
|
199
|
+
},
|
200
|
+
|
201
|
+
leaveGroup(value) {
|
202
|
+
return {
|
203
|
+
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
204
|
+
value
|
205
|
+
};
|
206
|
+
}
|
207
|
+
|
208
|
+
},
|
209
|
+
toJSON: {
|
210
|
+
createGroup(value) {
|
211
|
+
return {
|
212
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
213
|
+
value: MsgCreateGroup.toJSON(value)
|
214
|
+
};
|
215
|
+
},
|
216
|
+
|
217
|
+
updateGroupMembers(value) {
|
218
|
+
return {
|
219
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
220
|
+
value: MsgUpdateGroupMembers.toJSON(value)
|
221
|
+
};
|
222
|
+
},
|
223
|
+
|
224
|
+
updateGroupAdmin(value) {
|
225
|
+
return {
|
226
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
227
|
+
value: MsgUpdateGroupAdmin.toJSON(value)
|
228
|
+
};
|
229
|
+
},
|
230
|
+
|
231
|
+
updateGroupMetadata(value) {
|
232
|
+
return {
|
233
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
234
|
+
value: MsgUpdateGroupMetadata.toJSON(value)
|
235
|
+
};
|
236
|
+
},
|
237
|
+
|
238
|
+
createGroupPolicy(value) {
|
239
|
+
return {
|
240
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
241
|
+
value: MsgCreateGroupPolicy.toJSON(value)
|
242
|
+
};
|
243
|
+
},
|
244
|
+
|
245
|
+
createGroupWithPolicy(value) {
|
246
|
+
return {
|
247
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
248
|
+
value: MsgCreateGroupWithPolicy.toJSON(value)
|
249
|
+
};
|
250
|
+
},
|
251
|
+
|
252
|
+
updateGroupPolicyAdmin(value) {
|
253
|
+
return {
|
254
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
255
|
+
value: MsgUpdateGroupPolicyAdmin.toJSON(value)
|
256
|
+
};
|
257
|
+
},
|
258
|
+
|
259
|
+
updateGroupPolicyDecisionPolicy(value) {
|
260
|
+
return {
|
261
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
262
|
+
value: MsgUpdateGroupPolicyDecisionPolicy.toJSON(value)
|
263
|
+
};
|
264
|
+
},
|
265
|
+
|
266
|
+
updateGroupPolicyMetadata(value) {
|
267
|
+
return {
|
268
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
269
|
+
value: MsgUpdateGroupPolicyMetadata.toJSON(value)
|
270
|
+
};
|
271
|
+
},
|
272
|
+
|
273
|
+
submitProposal(value) {
|
274
|
+
return {
|
275
|
+
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
276
|
+
value: MsgSubmitProposal.toJSON(value)
|
277
|
+
};
|
278
|
+
},
|
279
|
+
|
280
|
+
withdrawProposal(value) {
|
281
|
+
return {
|
282
|
+
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
283
|
+
value: MsgWithdrawProposal.toJSON(value)
|
284
|
+
};
|
285
|
+
},
|
286
|
+
|
287
|
+
vote(value) {
|
288
|
+
return {
|
289
|
+
typeUrl: "/cosmos.group.v1.MsgVote",
|
290
|
+
value: MsgVote.toJSON(value)
|
291
|
+
};
|
292
|
+
},
|
293
|
+
|
294
|
+
exec(value) {
|
295
|
+
return {
|
296
|
+
typeUrl: "/cosmos.group.v1.MsgExec",
|
297
|
+
value: MsgExec.toJSON(value)
|
298
|
+
};
|
299
|
+
},
|
300
|
+
|
301
|
+
leaveGroup(value) {
|
302
|
+
return {
|
303
|
+
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
304
|
+
value: MsgLeaveGroup.toJSON(value)
|
305
|
+
};
|
306
|
+
}
|
307
|
+
|
308
|
+
},
|
309
|
+
fromJSON: {
|
310
|
+
createGroup(value) {
|
311
|
+
return {
|
312
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
313
|
+
value: MsgCreateGroup.fromJSON(value)
|
314
|
+
};
|
315
|
+
},
|
316
|
+
|
317
|
+
updateGroupMembers(value) {
|
318
|
+
return {
|
319
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
320
|
+
value: MsgUpdateGroupMembers.fromJSON(value)
|
321
|
+
};
|
322
|
+
},
|
323
|
+
|
324
|
+
updateGroupAdmin(value) {
|
325
|
+
return {
|
326
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
327
|
+
value: MsgUpdateGroupAdmin.fromJSON(value)
|
328
|
+
};
|
329
|
+
},
|
330
|
+
|
331
|
+
updateGroupMetadata(value) {
|
332
|
+
return {
|
333
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
334
|
+
value: MsgUpdateGroupMetadata.fromJSON(value)
|
335
|
+
};
|
336
|
+
},
|
337
|
+
|
338
|
+
createGroupPolicy(value) {
|
339
|
+
return {
|
340
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
341
|
+
value: MsgCreateGroupPolicy.fromJSON(value)
|
342
|
+
};
|
343
|
+
},
|
344
|
+
|
345
|
+
createGroupWithPolicy(value) {
|
346
|
+
return {
|
347
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
348
|
+
value: MsgCreateGroupWithPolicy.fromJSON(value)
|
349
|
+
};
|
350
|
+
},
|
351
|
+
|
352
|
+
updateGroupPolicyAdmin(value) {
|
353
|
+
return {
|
354
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
355
|
+
value: MsgUpdateGroupPolicyAdmin.fromJSON(value)
|
356
|
+
};
|
357
|
+
},
|
358
|
+
|
359
|
+
updateGroupPolicyDecisionPolicy(value) {
|
360
|
+
return {
|
361
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
362
|
+
value: MsgUpdateGroupPolicyDecisionPolicy.fromJSON(value)
|
363
|
+
};
|
364
|
+
},
|
365
|
+
|
366
|
+
updateGroupPolicyMetadata(value) {
|
367
|
+
return {
|
368
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
369
|
+
value: MsgUpdateGroupPolicyMetadata.fromJSON(value)
|
370
|
+
};
|
371
|
+
},
|
372
|
+
|
373
|
+
submitProposal(value) {
|
374
|
+
return {
|
375
|
+
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
376
|
+
value: MsgSubmitProposal.fromJSON(value)
|
377
|
+
};
|
378
|
+
},
|
379
|
+
|
380
|
+
withdrawProposal(value) {
|
381
|
+
return {
|
382
|
+
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
383
|
+
value: MsgWithdrawProposal.fromJSON(value)
|
384
|
+
};
|
385
|
+
},
|
386
|
+
|
387
|
+
vote(value) {
|
388
|
+
return {
|
389
|
+
typeUrl: "/cosmos.group.v1.MsgVote",
|
390
|
+
value: MsgVote.fromJSON(value)
|
391
|
+
};
|
392
|
+
},
|
393
|
+
|
394
|
+
exec(value) {
|
395
|
+
return {
|
396
|
+
typeUrl: "/cosmos.group.v1.MsgExec",
|
397
|
+
value: MsgExec.fromJSON(value)
|
398
|
+
};
|
399
|
+
},
|
400
|
+
|
401
|
+
leaveGroup(value) {
|
402
|
+
return {
|
403
|
+
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
404
|
+
value: MsgLeaveGroup.fromJSON(value)
|
405
|
+
};
|
406
|
+
}
|
407
|
+
|
408
|
+
},
|
409
|
+
fromPartial: {
|
410
|
+
createGroup(value) {
|
411
|
+
return {
|
412
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
413
|
+
value: MsgCreateGroup.fromPartial(value)
|
414
|
+
};
|
415
|
+
},
|
416
|
+
|
417
|
+
updateGroupMembers(value) {
|
418
|
+
return {
|
419
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
420
|
+
value: MsgUpdateGroupMembers.fromPartial(value)
|
421
|
+
};
|
422
|
+
},
|
423
|
+
|
424
|
+
updateGroupAdmin(value) {
|
425
|
+
return {
|
426
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
427
|
+
value: MsgUpdateGroupAdmin.fromPartial(value)
|
428
|
+
};
|
429
|
+
},
|
430
|
+
|
431
|
+
updateGroupMetadata(value) {
|
432
|
+
return {
|
433
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
434
|
+
value: MsgUpdateGroupMetadata.fromPartial(value)
|
435
|
+
};
|
436
|
+
},
|
437
|
+
|
438
|
+
createGroupPolicy(value) {
|
439
|
+
return {
|
440
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
441
|
+
value: MsgCreateGroupPolicy.fromPartial(value)
|
442
|
+
};
|
443
|
+
},
|
444
|
+
|
445
|
+
createGroupWithPolicy(value) {
|
446
|
+
return {
|
447
|
+
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
448
|
+
value: MsgCreateGroupWithPolicy.fromPartial(value)
|
449
|
+
};
|
450
|
+
},
|
451
|
+
|
452
|
+
updateGroupPolicyAdmin(value) {
|
453
|
+
return {
|
454
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
455
|
+
value: MsgUpdateGroupPolicyAdmin.fromPartial(value)
|
456
|
+
};
|
457
|
+
},
|
458
|
+
|
459
|
+
updateGroupPolicyDecisionPolicy(value) {
|
460
|
+
return {
|
461
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
462
|
+
value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value)
|
463
|
+
};
|
464
|
+
},
|
465
|
+
|
466
|
+
updateGroupPolicyMetadata(value) {
|
467
|
+
return {
|
468
|
+
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
469
|
+
value: MsgUpdateGroupPolicyMetadata.fromPartial(value)
|
470
|
+
};
|
471
|
+
},
|
472
|
+
|
473
|
+
submitProposal(value) {
|
474
|
+
return {
|
475
|
+
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
476
|
+
value: MsgSubmitProposal.fromPartial(value)
|
477
|
+
};
|
478
|
+
},
|
479
|
+
|
480
|
+
withdrawProposal(value) {
|
481
|
+
return {
|
482
|
+
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
483
|
+
value: MsgWithdrawProposal.fromPartial(value)
|
484
|
+
};
|
485
|
+
},
|
486
|
+
|
487
|
+
vote(value) {
|
488
|
+
return {
|
489
|
+
typeUrl: "/cosmos.group.v1.MsgVote",
|
490
|
+
value: MsgVote.fromPartial(value)
|
491
|
+
};
|
492
|
+
},
|
493
|
+
|
494
|
+
exec(value) {
|
495
|
+
return {
|
496
|
+
typeUrl: "/cosmos.group.v1.MsgExec",
|
497
|
+
value: MsgExec.fromPartial(value)
|
498
|
+
};
|
499
|
+
},
|
500
|
+
|
501
|
+
leaveGroup(value) {
|
502
|
+
return {
|
503
|
+
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
504
|
+
value: MsgLeaveGroup.fromPartial(value)
|
505
|
+
};
|
506
|
+
}
|
507
|
+
|
508
|
+
}
|
509
|
+
};
|
@@ -0,0 +1,111 @@
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { MsgCreateGroup, MsgCreateGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgSubmitProposal, MsgSubmitProposalResponse, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgVote, MsgVoteResponse, MsgExec, MsgExecResponse, MsgLeaveGroup, MsgLeaveGroupResponse } from "./tx";
|
4
|
+
/** Msg defines the RPC service */
|
5
|
+
|
6
|
+
export class MsgClientImpl {
|
7
|
+
constructor(rpc) {
|
8
|
+
_defineProperty(this, "rpc", void 0);
|
9
|
+
|
10
|
+
this.rpc = rpc;
|
11
|
+
this.createGroup = this.createGroup.bind(this);
|
12
|
+
this.updateGroupMembers = this.updateGroupMembers.bind(this);
|
13
|
+
this.updateGroupAdmin = this.updateGroupAdmin.bind(this);
|
14
|
+
this.updateGroupMetadata = this.updateGroupMetadata.bind(this);
|
15
|
+
this.createGroupPolicy = this.createGroupPolicy.bind(this);
|
16
|
+
this.createGroupWithPolicy = this.createGroupWithPolicy.bind(this);
|
17
|
+
this.updateGroupPolicyAdmin = this.updateGroupPolicyAdmin.bind(this);
|
18
|
+
this.updateGroupPolicyDecisionPolicy = this.updateGroupPolicyDecisionPolicy.bind(this);
|
19
|
+
this.updateGroupPolicyMetadata = this.updateGroupPolicyMetadata.bind(this);
|
20
|
+
this.submitProposal = this.submitProposal.bind(this);
|
21
|
+
this.withdrawProposal = this.withdrawProposal.bind(this);
|
22
|
+
this.vote = this.vote.bind(this);
|
23
|
+
this.exec = this.exec.bind(this);
|
24
|
+
this.leaveGroup = this.leaveGroup.bind(this);
|
25
|
+
}
|
26
|
+
|
27
|
+
createGroup(request) {
|
28
|
+
const data = MsgCreateGroup.encode(request).finish();
|
29
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data);
|
30
|
+
return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data)));
|
31
|
+
}
|
32
|
+
|
33
|
+
updateGroupMembers(request) {
|
34
|
+
const data = MsgUpdateGroupMembers.encode(request).finish();
|
35
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data);
|
36
|
+
return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data)));
|
37
|
+
}
|
38
|
+
|
39
|
+
updateGroupAdmin(request) {
|
40
|
+
const data = MsgUpdateGroupAdmin.encode(request).finish();
|
41
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data);
|
42
|
+
return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data)));
|
43
|
+
}
|
44
|
+
|
45
|
+
updateGroupMetadata(request) {
|
46
|
+
const data = MsgUpdateGroupMetadata.encode(request).finish();
|
47
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data);
|
48
|
+
return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data)));
|
49
|
+
}
|
50
|
+
|
51
|
+
createGroupPolicy(request) {
|
52
|
+
const data = MsgCreateGroupPolicy.encode(request).finish();
|
53
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data);
|
54
|
+
return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data)));
|
55
|
+
}
|
56
|
+
|
57
|
+
createGroupWithPolicy(request) {
|
58
|
+
const data = MsgCreateGroupWithPolicy.encode(request).finish();
|
59
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data);
|
60
|
+
return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data)));
|
61
|
+
}
|
62
|
+
|
63
|
+
updateGroupPolicyAdmin(request) {
|
64
|
+
const data = MsgUpdateGroupPolicyAdmin.encode(request).finish();
|
65
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data);
|
66
|
+
return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data)));
|
67
|
+
}
|
68
|
+
|
69
|
+
updateGroupPolicyDecisionPolicy(request) {
|
70
|
+
const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish();
|
71
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data);
|
72
|
+
return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data)));
|
73
|
+
}
|
74
|
+
|
75
|
+
updateGroupPolicyMetadata(request) {
|
76
|
+
const data = MsgUpdateGroupPolicyMetadata.encode(request).finish();
|
77
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data);
|
78
|
+
return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data)));
|
79
|
+
}
|
80
|
+
|
81
|
+
submitProposal(request) {
|
82
|
+
const data = MsgSubmitProposal.encode(request).finish();
|
83
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data);
|
84
|
+
return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data)));
|
85
|
+
}
|
86
|
+
|
87
|
+
withdrawProposal(request) {
|
88
|
+
const data = MsgWithdrawProposal.encode(request).finish();
|
89
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data);
|
90
|
+
return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data)));
|
91
|
+
}
|
92
|
+
|
93
|
+
vote(request) {
|
94
|
+
const data = MsgVote.encode(request).finish();
|
95
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data);
|
96
|
+
return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data)));
|
97
|
+
}
|
98
|
+
|
99
|
+
exec(request) {
|
100
|
+
const data = MsgExec.encode(request).finish();
|
101
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data);
|
102
|
+
return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data)));
|
103
|
+
}
|
104
|
+
|
105
|
+
leaveGroup(request) {
|
106
|
+
const data = MsgLeaveGroup.encode(request).finish();
|
107
|
+
const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data);
|
108
|
+
return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data)));
|
109
|
+
}
|
110
|
+
|
111
|
+
}
|