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,84 @@
|
|
1
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
2
|
+
import { Grant } from "./feegrant";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
5
|
+
/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */
|
6
|
+
export interface QueryAllowanceRequest {
|
7
|
+
/** granter is the address of the user granting an allowance of their funds. */
|
8
|
+
granter: string;
|
9
|
+
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
10
|
+
grantee: string;
|
11
|
+
}
|
12
|
+
/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */
|
13
|
+
export interface QueryAllowanceResponse {
|
14
|
+
/** allowance is a allowance granted for grantee by granter. */
|
15
|
+
allowance: Grant;
|
16
|
+
}
|
17
|
+
/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */
|
18
|
+
export interface QueryAllowancesRequest {
|
19
|
+
grantee: string;
|
20
|
+
/** pagination defines an pagination for the request. */
|
21
|
+
pagination?: PageRequest;
|
22
|
+
}
|
23
|
+
/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */
|
24
|
+
export interface QueryAllowancesResponse {
|
25
|
+
/** allowances are allowance's granted for grantee by granter. */
|
26
|
+
allowances: Grant[];
|
27
|
+
/** pagination defines an pagination for the response. */
|
28
|
+
pagination?: PageResponse;
|
29
|
+
}
|
30
|
+
/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */
|
31
|
+
export interface QueryAllowancesByGranterRequest {
|
32
|
+
granter: string;
|
33
|
+
/** pagination defines an pagination for the request. */
|
34
|
+
pagination?: PageRequest;
|
35
|
+
}
|
36
|
+
/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */
|
37
|
+
export interface QueryAllowancesByGranterResponse {
|
38
|
+
/** allowances that have been issued by the granter. */
|
39
|
+
allowances: Grant[];
|
40
|
+
/** pagination defines an pagination for the response. */
|
41
|
+
pagination?: PageResponse;
|
42
|
+
}
|
43
|
+
export declare const QueryAllowanceRequest: {
|
44
|
+
encode(message: QueryAllowanceRequest, writer?: _m0.Writer): _m0.Writer;
|
45
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest;
|
46
|
+
fromJSON(object: any): QueryAllowanceRequest;
|
47
|
+
toJSON(message: QueryAllowanceRequest): unknown;
|
48
|
+
fromPartial(object: DeepPartial<QueryAllowanceRequest>): QueryAllowanceRequest;
|
49
|
+
};
|
50
|
+
export declare const QueryAllowanceResponse: {
|
51
|
+
encode(message: QueryAllowanceResponse, writer?: _m0.Writer): _m0.Writer;
|
52
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse;
|
53
|
+
fromJSON(object: any): QueryAllowanceResponse;
|
54
|
+
toJSON(message: QueryAllowanceResponse): unknown;
|
55
|
+
fromPartial(object: DeepPartial<QueryAllowanceResponse>): QueryAllowanceResponse;
|
56
|
+
};
|
57
|
+
export declare const QueryAllowancesRequest: {
|
58
|
+
encode(message: QueryAllowancesRequest, writer?: _m0.Writer): _m0.Writer;
|
59
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest;
|
60
|
+
fromJSON(object: any): QueryAllowancesRequest;
|
61
|
+
toJSON(message: QueryAllowancesRequest): unknown;
|
62
|
+
fromPartial(object: DeepPartial<QueryAllowancesRequest>): QueryAllowancesRequest;
|
63
|
+
};
|
64
|
+
export declare const QueryAllowancesResponse: {
|
65
|
+
encode(message: QueryAllowancesResponse, writer?: _m0.Writer): _m0.Writer;
|
66
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse;
|
67
|
+
fromJSON(object: any): QueryAllowancesResponse;
|
68
|
+
toJSON(message: QueryAllowancesResponse): unknown;
|
69
|
+
fromPartial(object: DeepPartial<QueryAllowancesResponse>): QueryAllowancesResponse;
|
70
|
+
};
|
71
|
+
export declare const QueryAllowancesByGranterRequest: {
|
72
|
+
encode(message: QueryAllowancesByGranterRequest, writer?: _m0.Writer): _m0.Writer;
|
73
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest;
|
74
|
+
fromJSON(object: any): QueryAllowancesByGranterRequest;
|
75
|
+
toJSON(message: QueryAllowancesByGranterRequest): unknown;
|
76
|
+
fromPartial(object: DeepPartial<QueryAllowancesByGranterRequest>): QueryAllowancesByGranterRequest;
|
77
|
+
};
|
78
|
+
export declare const QueryAllowancesByGranterResponse: {
|
79
|
+
encode(message: QueryAllowancesByGranterResponse, writer?: _m0.Writer): _m0.Writer;
|
80
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse;
|
81
|
+
fromJSON(object: any): QueryAllowancesByGranterResponse;
|
82
|
+
toJSON(message: QueryAllowancesByGranterResponse): unknown;
|
83
|
+
fromPartial(object: DeepPartial<QueryAllowancesByGranterResponse>): QueryAllowancesByGranterResponse;
|
84
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
2
|
+
import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query";
|
3
|
+
export declare class LCDQueryClient extends LCDClient {
|
4
|
+
constructor({ restEndpoint }: {
|
5
|
+
restEndpoint: string;
|
6
|
+
});
|
7
|
+
allowance(params: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
|
8
|
+
allowances(params: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
|
9
|
+
allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
|
10
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
2
|
+
import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query";
|
3
|
+
/** Query defines the RPC service */
|
4
|
+
export interface Query {
|
5
|
+
allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
|
6
|
+
allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
|
7
|
+
allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
|
8
|
+
}
|
9
|
+
export declare class QueryClientImpl implements Query {
|
10
|
+
private readonly rpc;
|
11
|
+
constructor(rpc: Rpc);
|
12
|
+
allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
|
13
|
+
allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
|
14
|
+
allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
|
15
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx";
|
3
|
+
export interface AminoMsgGrantAllowance extends AminoMsg {
|
4
|
+
type: "cosmos-sdk/MsgGrantAllowance";
|
5
|
+
value: {
|
6
|
+
granter: string;
|
7
|
+
grantee: string;
|
8
|
+
allowance: {
|
9
|
+
type_url: string;
|
10
|
+
value: Uint8Array;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
}
|
14
|
+
export interface AminoMsgRevokeAllowance extends AminoMsg {
|
15
|
+
type: "cosmos-sdk/MsgRevokeAllowance";
|
16
|
+
value: {
|
17
|
+
granter: string;
|
18
|
+
grantee: string;
|
19
|
+
};
|
20
|
+
}
|
21
|
+
export declare const AminoConverter: {
|
22
|
+
"/cosmos.feegrant.v1beta1.MsgGrantAllowance": {
|
23
|
+
aminoType: string;
|
24
|
+
toAmino: ({ granter, grantee, allowance }: MsgGrantAllowance) => AminoMsgGrantAllowance["value"];
|
25
|
+
fromAmino: ({ granter, grantee, allowance }: AminoMsgGrantAllowance["value"]) => MsgGrantAllowance;
|
26
|
+
};
|
27
|
+
"/cosmos.feegrant.v1beta1.MsgRevokeAllowance": {
|
28
|
+
aminoType: string;
|
29
|
+
toAmino: ({ granter, grantee }: MsgRevokeAllowance) => AminoMsgRevokeAllowance["value"];
|
30
|
+
fromAmino: ({ granter, grantee }: AminoMsgRevokeAllowance["value"]) => MsgRevokeAllowance;
|
31
|
+
};
|
32
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { Any } from "../../../google/protobuf/any";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/**
|
5
|
+
* MsgGrantAllowance adds permission for Grantee to spend up to Allowance
|
6
|
+
* of fees from the account of Granter.
|
7
|
+
*/
|
8
|
+
export interface MsgGrantAllowance {
|
9
|
+
/** granter is the address of the user granting an allowance of their funds. */
|
10
|
+
granter: string;
|
11
|
+
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
12
|
+
grantee: string;
|
13
|
+
/** allowance can be any of basic, periodic, allowed fee allowance. */
|
14
|
+
allowance: Any;
|
15
|
+
}
|
16
|
+
/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */
|
17
|
+
export interface MsgGrantAllowanceResponse {
|
18
|
+
}
|
19
|
+
/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */
|
20
|
+
export interface MsgRevokeAllowance {
|
21
|
+
/** granter is the address of the user granting an allowance of their funds. */
|
22
|
+
granter: string;
|
23
|
+
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
24
|
+
grantee: string;
|
25
|
+
}
|
26
|
+
/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */
|
27
|
+
export interface MsgRevokeAllowanceResponse {
|
28
|
+
}
|
29
|
+
export declare const MsgGrantAllowance: {
|
30
|
+
encode(message: MsgGrantAllowance, writer?: _m0.Writer): _m0.Writer;
|
31
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance;
|
32
|
+
fromJSON(object: any): MsgGrantAllowance;
|
33
|
+
toJSON(message: MsgGrantAllowance): unknown;
|
34
|
+
fromPartial(object: DeepPartial<MsgGrantAllowance>): MsgGrantAllowance;
|
35
|
+
};
|
36
|
+
export declare const MsgGrantAllowanceResponse: {
|
37
|
+
encode(_: MsgGrantAllowanceResponse, writer?: _m0.Writer): _m0.Writer;
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse;
|
39
|
+
fromJSON(_: any): MsgGrantAllowanceResponse;
|
40
|
+
toJSON(_: MsgGrantAllowanceResponse): unknown;
|
41
|
+
fromPartial(_: DeepPartial<MsgGrantAllowanceResponse>): MsgGrantAllowanceResponse;
|
42
|
+
};
|
43
|
+
export declare const MsgRevokeAllowance: {
|
44
|
+
encode(message: MsgRevokeAllowance, writer?: _m0.Writer): _m0.Writer;
|
45
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance;
|
46
|
+
fromJSON(object: any): MsgRevokeAllowance;
|
47
|
+
toJSON(message: MsgRevokeAllowance): unknown;
|
48
|
+
fromPartial(object: DeepPartial<MsgRevokeAllowance>): MsgRevokeAllowance;
|
49
|
+
};
|
50
|
+
export declare const MsgRevokeAllowanceResponse: {
|
51
|
+
encode(_: MsgRevokeAllowanceResponse, writer?: _m0.Writer): _m0.Writer;
|
52
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse;
|
53
|
+
fromJSON(_: any): MsgRevokeAllowanceResponse;
|
54
|
+
toJSON(_: MsgRevokeAllowanceResponse): unknown;
|
55
|
+
fromPartial(_: DeepPartial<MsgRevokeAllowanceResponse>): MsgRevokeAllowanceResponse;
|
56
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx";
|
3
|
+
export declare const registry: ReadonlyArray<[string, GeneratedType]>;
|
4
|
+
export declare const load: (protoRegistry: Registry) => void;
|
5
|
+
export declare const MessageComposer: {
|
6
|
+
encoded: {
|
7
|
+
grantAllowance(value: MsgGrantAllowance): {
|
8
|
+
typeUrl: string;
|
9
|
+
value: Uint8Array;
|
10
|
+
};
|
11
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
12
|
+
typeUrl: string;
|
13
|
+
value: Uint8Array;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
withTypeUrl: {
|
17
|
+
grantAllowance(value: MsgGrantAllowance): {
|
18
|
+
typeUrl: string;
|
19
|
+
value: MsgGrantAllowance;
|
20
|
+
};
|
21
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
22
|
+
typeUrl: string;
|
23
|
+
value: MsgRevokeAllowance;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
toJSON: {
|
27
|
+
grantAllowance(value: MsgGrantAllowance): {
|
28
|
+
typeUrl: string;
|
29
|
+
value: unknown;
|
30
|
+
};
|
31
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
32
|
+
typeUrl: string;
|
33
|
+
value: unknown;
|
34
|
+
};
|
35
|
+
};
|
36
|
+
fromJSON: {
|
37
|
+
grantAllowance(value: any): {
|
38
|
+
typeUrl: string;
|
39
|
+
value: MsgGrantAllowance;
|
40
|
+
};
|
41
|
+
revokeAllowance(value: any): {
|
42
|
+
typeUrl: string;
|
43
|
+
value: MsgRevokeAllowance;
|
44
|
+
};
|
45
|
+
};
|
46
|
+
fromPartial: {
|
47
|
+
grantAllowance(value: MsgGrantAllowance): {
|
48
|
+
typeUrl: string;
|
49
|
+
value: MsgGrantAllowance;
|
50
|
+
};
|
51
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
52
|
+
typeUrl: string;
|
53
|
+
value: MsgRevokeAllowance;
|
54
|
+
};
|
55
|
+
};
|
56
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
2
|
+
import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx";
|
3
|
+
/** Msg defines the RPC service */
|
4
|
+
export interface Msg {
|
5
|
+
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
|
6
|
+
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
|
7
|
+
}
|
8
|
+
export declare class MsgClientImpl implements Msg {
|
9
|
+
private readonly rpc;
|
10
|
+
constructor(rpc: Rpc);
|
11
|
+
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
|
12
|
+
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
|
13
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/** GenesisState defines the raw genesis transaction in JSON. */
|
4
|
+
export interface GenesisState {
|
5
|
+
/** gen_txs defines the genesis transactions. */
|
6
|
+
gen_txs: Uint8Array[];
|
7
|
+
}
|
8
|
+
export declare const GenesisState: {
|
9
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
11
|
+
fromJSON(object: any): GenesisState;
|
12
|
+
toJSON(message: GenesisState): unknown;
|
13
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
14
|
+
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/** GenesisState defines the gov module's genesis state. */
|
5
|
+
export interface GenesisState {
|
6
|
+
/** starting_proposal_id is the ID of the starting proposal. */
|
7
|
+
startingProposalId: Long;
|
8
|
+
/** deposits defines all the deposits present at genesis. */
|
9
|
+
deposits: Deposit[];
|
10
|
+
/** votes defines all the votes present at genesis. */
|
11
|
+
votes: Vote[];
|
12
|
+
/** proposals defines all the proposals present at genesis. */
|
13
|
+
proposals: Proposal[];
|
14
|
+
/** params defines all the paramaters of related to deposit. */
|
15
|
+
depositParams: DepositParams;
|
16
|
+
/** params defines all the paramaters of related to voting. */
|
17
|
+
votingParams: VotingParams;
|
18
|
+
/** params defines all the paramaters of related to tally. */
|
19
|
+
tallyParams: TallyParams;
|
20
|
+
}
|
21
|
+
/** GenesisState defines the gov module's genesis state. */
|
22
|
+
export interface GenesisStateSDKType {
|
23
|
+
/** starting_proposal_id is the ID of the starting proposal. */
|
24
|
+
starting_proposal_id: Long;
|
25
|
+
/** deposits defines all the deposits present at genesis. */
|
26
|
+
deposits: DepositSDKType[];
|
27
|
+
/** votes defines all the votes present at genesis. */
|
28
|
+
votes: VoteSDKType[];
|
29
|
+
/** proposals defines all the proposals present at genesis. */
|
30
|
+
proposals: ProposalSDKType[];
|
31
|
+
/** params defines all the paramaters of related to deposit. */
|
32
|
+
deposit_params: DepositParamsSDKType;
|
33
|
+
/** params defines all the paramaters of related to voting. */
|
34
|
+
voting_params: VotingParamsSDKType;
|
35
|
+
/** params defines all the paramaters of related to tally. */
|
36
|
+
tally_params: TallyParamsSDKType;
|
37
|
+
}
|
38
|
+
export declare const GenesisState: {
|
39
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
40
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
41
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
42
|
+
};
|
@@ -0,0 +1,301 @@
|
|
1
|
+
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
2
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
3
|
+
import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
5
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
6
|
+
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
7
|
+
export declare enum VoteOption {
|
8
|
+
/** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
|
9
|
+
VOTE_OPTION_UNSPECIFIED = 0,
|
10
|
+
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
11
|
+
VOTE_OPTION_YES = 1,
|
12
|
+
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
13
|
+
VOTE_OPTION_ABSTAIN = 2,
|
14
|
+
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
15
|
+
VOTE_OPTION_NO = 3,
|
16
|
+
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
17
|
+
VOTE_OPTION_NO_WITH_VETO = 4,
|
18
|
+
UNRECOGNIZED = -1
|
19
|
+
}
|
20
|
+
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
21
|
+
export declare enum VoteOptionSDKType {
|
22
|
+
/** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
|
23
|
+
VOTE_OPTION_UNSPECIFIED = 0,
|
24
|
+
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
25
|
+
VOTE_OPTION_YES = 1,
|
26
|
+
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
27
|
+
VOTE_OPTION_ABSTAIN = 2,
|
28
|
+
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
29
|
+
VOTE_OPTION_NO = 3,
|
30
|
+
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
31
|
+
VOTE_OPTION_NO_WITH_VETO = 4,
|
32
|
+
UNRECOGNIZED = -1
|
33
|
+
}
|
34
|
+
export declare function voteOptionFromJSON(object: any): VoteOption;
|
35
|
+
export declare function voteOptionToJSON(object: VoteOption): string;
|
36
|
+
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
37
|
+
export declare enum ProposalStatus {
|
38
|
+
/** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */
|
39
|
+
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
40
|
+
/**
|
41
|
+
* PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
42
|
+
* period.
|
43
|
+
*/
|
44
|
+
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1,
|
45
|
+
/**
|
46
|
+
* PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
47
|
+
* period.
|
48
|
+
*/
|
49
|
+
PROPOSAL_STATUS_VOTING_PERIOD = 2,
|
50
|
+
/**
|
51
|
+
* PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
52
|
+
* passed.
|
53
|
+
*/
|
54
|
+
PROPOSAL_STATUS_PASSED = 3,
|
55
|
+
/**
|
56
|
+
* PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
57
|
+
* been rejected.
|
58
|
+
*/
|
59
|
+
PROPOSAL_STATUS_REJECTED = 4,
|
60
|
+
/**
|
61
|
+
* PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
62
|
+
* failed.
|
63
|
+
*/
|
64
|
+
PROPOSAL_STATUS_FAILED = 5,
|
65
|
+
UNRECOGNIZED = -1
|
66
|
+
}
|
67
|
+
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
68
|
+
export declare enum ProposalStatusSDKType {
|
69
|
+
/** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */
|
70
|
+
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
71
|
+
/**
|
72
|
+
* PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
73
|
+
* period.
|
74
|
+
*/
|
75
|
+
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1,
|
76
|
+
/**
|
77
|
+
* PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
78
|
+
* period.
|
79
|
+
*/
|
80
|
+
PROPOSAL_STATUS_VOTING_PERIOD = 2,
|
81
|
+
/**
|
82
|
+
* PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
83
|
+
* passed.
|
84
|
+
*/
|
85
|
+
PROPOSAL_STATUS_PASSED = 3,
|
86
|
+
/**
|
87
|
+
* PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
88
|
+
* been rejected.
|
89
|
+
*/
|
90
|
+
PROPOSAL_STATUS_REJECTED = 4,
|
91
|
+
/**
|
92
|
+
* PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
93
|
+
* failed.
|
94
|
+
*/
|
95
|
+
PROPOSAL_STATUS_FAILED = 5,
|
96
|
+
UNRECOGNIZED = -1
|
97
|
+
}
|
98
|
+
export declare function proposalStatusFromJSON(object: any): ProposalStatus;
|
99
|
+
export declare function proposalStatusToJSON(object: ProposalStatus): string;
|
100
|
+
/** WeightedVoteOption defines a unit of vote for vote split. */
|
101
|
+
export interface WeightedVoteOption {
|
102
|
+
option: VoteOption;
|
103
|
+
weight: string;
|
104
|
+
}
|
105
|
+
/** WeightedVoteOption defines a unit of vote for vote split. */
|
106
|
+
export interface WeightedVoteOptionSDKType {
|
107
|
+
option: VoteOptionSDKType;
|
108
|
+
weight: string;
|
109
|
+
}
|
110
|
+
/**
|
111
|
+
* Deposit defines an amount deposited by an account address to an active
|
112
|
+
* proposal.
|
113
|
+
*/
|
114
|
+
export interface Deposit {
|
115
|
+
proposalId: Long;
|
116
|
+
depositor: string;
|
117
|
+
amount: Coin[];
|
118
|
+
}
|
119
|
+
/**
|
120
|
+
* Deposit defines an amount deposited by an account address to an active
|
121
|
+
* proposal.
|
122
|
+
*/
|
123
|
+
export interface DepositSDKType {
|
124
|
+
proposal_id: Long;
|
125
|
+
depositor: string;
|
126
|
+
amount: CoinSDKType[];
|
127
|
+
}
|
128
|
+
/** Proposal defines the core field members of a governance proposal. */
|
129
|
+
export interface Proposal {
|
130
|
+
id: Long;
|
131
|
+
messages: Any[];
|
132
|
+
status: ProposalStatus;
|
133
|
+
/**
|
134
|
+
* final_tally_result is the final tally result of the proposal. When
|
135
|
+
* querying a proposal via gRPC, this field is not populated until the
|
136
|
+
* proposal's voting period has ended.
|
137
|
+
*/
|
138
|
+
finalTallyResult: TallyResult;
|
139
|
+
submitTime: Date;
|
140
|
+
depositEndTime: Date;
|
141
|
+
totalDeposit: Coin[];
|
142
|
+
votingStartTime: Date;
|
143
|
+
votingEndTime: Date;
|
144
|
+
/** metadata is any arbitrary metadata attached to the proposal. */
|
145
|
+
metadata: string;
|
146
|
+
}
|
147
|
+
/** Proposal defines the core field members of a governance proposal. */
|
148
|
+
export interface ProposalSDKType {
|
149
|
+
id: Long;
|
150
|
+
messages: AnySDKType[];
|
151
|
+
status: ProposalStatusSDKType;
|
152
|
+
/**
|
153
|
+
* final_tally_result is the final tally result of the proposal. When
|
154
|
+
* querying a proposal via gRPC, this field is not populated until the
|
155
|
+
* proposal's voting period has ended.
|
156
|
+
*/
|
157
|
+
final_tally_result: TallyResultSDKType;
|
158
|
+
submit_time: Date;
|
159
|
+
deposit_end_time: Date;
|
160
|
+
total_deposit: CoinSDKType[];
|
161
|
+
voting_start_time: Date;
|
162
|
+
voting_end_time: Date;
|
163
|
+
/** metadata is any arbitrary metadata attached to the proposal. */
|
164
|
+
metadata: string;
|
165
|
+
}
|
166
|
+
/** TallyResult defines a standard tally for a governance proposal. */
|
167
|
+
export interface TallyResult {
|
168
|
+
yesCount: string;
|
169
|
+
abstainCount: string;
|
170
|
+
noCount: string;
|
171
|
+
noWithVetoCount: string;
|
172
|
+
}
|
173
|
+
/** TallyResult defines a standard tally for a governance proposal. */
|
174
|
+
export interface TallyResultSDKType {
|
175
|
+
yes_count: string;
|
176
|
+
abstain_count: string;
|
177
|
+
no_count: string;
|
178
|
+
no_with_veto_count: string;
|
179
|
+
}
|
180
|
+
/**
|
181
|
+
* Vote defines a vote on a governance proposal.
|
182
|
+
* A Vote consists of a proposal ID, the voter, and the vote option.
|
183
|
+
*/
|
184
|
+
export interface Vote {
|
185
|
+
proposalId: Long;
|
186
|
+
voter: string;
|
187
|
+
options: WeightedVoteOption[];
|
188
|
+
/** metadata is any arbitrary metadata to attached to the vote. */
|
189
|
+
metadata: string;
|
190
|
+
}
|
191
|
+
/**
|
192
|
+
* Vote defines a vote on a governance proposal.
|
193
|
+
* A Vote consists of a proposal ID, the voter, and the vote option.
|
194
|
+
*/
|
195
|
+
export interface VoteSDKType {
|
196
|
+
proposal_id: Long;
|
197
|
+
voter: string;
|
198
|
+
options: WeightedVoteOptionSDKType[];
|
199
|
+
/** metadata is any arbitrary metadata to attached to the vote. */
|
200
|
+
metadata: string;
|
201
|
+
}
|
202
|
+
/** DepositParams defines the params for deposits on governance proposals. */
|
203
|
+
export interface DepositParams {
|
204
|
+
/** Minimum deposit for a proposal to enter voting period. */
|
205
|
+
minDeposit: Coin[];
|
206
|
+
/**
|
207
|
+
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
208
|
+
* months.
|
209
|
+
*/
|
210
|
+
maxDepositPeriod: Duration;
|
211
|
+
}
|
212
|
+
/** DepositParams defines the params for deposits on governance proposals. */
|
213
|
+
export interface DepositParamsSDKType {
|
214
|
+
/** Minimum deposit for a proposal to enter voting period. */
|
215
|
+
min_deposit: CoinSDKType[];
|
216
|
+
/**
|
217
|
+
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
218
|
+
* months.
|
219
|
+
*/
|
220
|
+
max_deposit_period: DurationSDKType;
|
221
|
+
}
|
222
|
+
/** VotingParams defines the params for voting on governance proposals. */
|
223
|
+
export interface VotingParams {
|
224
|
+
/** Length of the voting period. */
|
225
|
+
votingPeriod: Duration;
|
226
|
+
}
|
227
|
+
/** VotingParams defines the params for voting on governance proposals. */
|
228
|
+
export interface VotingParamsSDKType {
|
229
|
+
/** Length of the voting period. */
|
230
|
+
voting_period: DurationSDKType;
|
231
|
+
}
|
232
|
+
/** TallyParams defines the params for tallying votes on governance proposals. */
|
233
|
+
export interface TallyParams {
|
234
|
+
/**
|
235
|
+
* Minimum percentage of total stake needed to vote for a result to be
|
236
|
+
* considered valid.
|
237
|
+
*/
|
238
|
+
quorum: string;
|
239
|
+
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
|
240
|
+
threshold: string;
|
241
|
+
/**
|
242
|
+
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
243
|
+
* vetoed. Default value: 1/3.
|
244
|
+
*/
|
245
|
+
vetoThreshold: string;
|
246
|
+
}
|
247
|
+
/** TallyParams defines the params for tallying votes on governance proposals. */
|
248
|
+
export interface TallyParamsSDKType {
|
249
|
+
/**
|
250
|
+
* Minimum percentage of total stake needed to vote for a result to be
|
251
|
+
* considered valid.
|
252
|
+
*/
|
253
|
+
quorum: string;
|
254
|
+
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
|
255
|
+
threshold: string;
|
256
|
+
/**
|
257
|
+
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
258
|
+
* vetoed. Default value: 1/3.
|
259
|
+
*/
|
260
|
+
veto_threshold: string;
|
261
|
+
}
|
262
|
+
export declare const WeightedVoteOption: {
|
263
|
+
encode(message: WeightedVoteOption, writer?: _m0.Writer): _m0.Writer;
|
264
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption;
|
265
|
+
fromPartial(object: DeepPartial<WeightedVoteOption>): WeightedVoteOption;
|
266
|
+
};
|
267
|
+
export declare const Deposit: {
|
268
|
+
encode(message: Deposit, writer?: _m0.Writer): _m0.Writer;
|
269
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Deposit;
|
270
|
+
fromPartial(object: DeepPartial<Deposit>): Deposit;
|
271
|
+
};
|
272
|
+
export declare const Proposal: {
|
273
|
+
encode(message: Proposal, writer?: _m0.Writer): _m0.Writer;
|
274
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Proposal;
|
275
|
+
fromPartial(object: DeepPartial<Proposal>): Proposal;
|
276
|
+
};
|
277
|
+
export declare const TallyResult: {
|
278
|
+
encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer;
|
279
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult;
|
280
|
+
fromPartial(object: DeepPartial<TallyResult>): TallyResult;
|
281
|
+
};
|
282
|
+
export declare const Vote: {
|
283
|
+
encode(message: Vote, writer?: _m0.Writer): _m0.Writer;
|
284
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Vote;
|
285
|
+
fromPartial(object: DeepPartial<Vote>): Vote;
|
286
|
+
};
|
287
|
+
export declare const DepositParams: {
|
288
|
+
encode(message: DepositParams, writer?: _m0.Writer): _m0.Writer;
|
289
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams;
|
290
|
+
fromPartial(object: DeepPartial<DepositParams>): DepositParams;
|
291
|
+
};
|
292
|
+
export declare const VotingParams: {
|
293
|
+
encode(message: VotingParams, writer?: _m0.Writer): _m0.Writer;
|
294
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams;
|
295
|
+
fromPartial(object: DeepPartial<VotingParams>): VotingParams;
|
296
|
+
};
|
297
|
+
export declare const TallyParams: {
|
298
|
+
encode(message: TallyParams, writer?: _m0.Writer): _m0.Writer;
|
299
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams;
|
300
|
+
fromPartial(object: DeepPartial<TallyParams>): TallyParams;
|
301
|
+
};
|