juno-network 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. package/package.json +2 -2
  2. package/types/codegen/JunoSwap.client.d.ts +122 -0
  3. package/types/codegen/JunoSwap.types.d.ts +142 -0
  4. package/types/codegen/confio/proofs.d.ts +495 -0
  5. package/types/codegen/contracts.d.ts +12 -0
  6. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  7. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  8. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  9. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  10. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  11. package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +32 -0
  12. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  13. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
  14. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  15. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  16. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  17. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  18. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  19. package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +57 -0
  20. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  21. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  22. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  23. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
  24. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  25. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  26. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  27. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  28. package/types/codegen/cosmos/bundle.d.ts +25545 -0
  29. package/types/codegen/cosmos/client.d.ts +473 -0
  30. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  31. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  32. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  33. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  34. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  35. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  36. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  37. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  38. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  39. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  40. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  41. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +51 -0
  42. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  43. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  44. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  45. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
  46. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  47. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  48. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  49. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  50. package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +44 -0
  51. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  52. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  53. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  54. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
  55. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  56. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  57. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  58. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  59. package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +44 -0
  60. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  61. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  62. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  63. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
  64. package/types/codegen/cosmos/lcd.d.ts +28 -0
  65. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  66. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  67. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  68. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  69. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  70. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  71. package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +80 -0
  72. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  73. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  74. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  75. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  76. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
  77. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  78. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  79. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  80. package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +36 -0
  81. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  82. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  83. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  84. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +43 -0
  85. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  86. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  87. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  88. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
  89. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  90. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  91. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  92. package/types/codegen/cosmwasm/bundle.d.ts +5227 -0
  93. package/types/codegen/cosmwasm/client.d.ts +120 -0
  94. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  95. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  96. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  97. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  98. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  99. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  100. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  101. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  102. package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +48 -0
  103. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  104. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  105. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  106. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +27 -0
  107. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  108. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  109. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  110. package/types/codegen/google/bundle.d.ts +8939 -0
  111. package/types/codegen/google/protobuf/any.d.ts +237 -0
  112. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  113. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  114. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  115. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  116. package/types/codegen/helpers.d.ts +82 -0
  117. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  118. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  119. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  120. package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +24 -0
  121. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  122. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  123. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  124. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  125. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  126. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  127. package/types/codegen/ibc/bundle.d.ts +21744 -0
  128. package/types/codegen/ibc/client.d.ts +559 -0
  129. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  130. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  131. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  132. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  133. package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +88 -0
  134. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  135. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  136. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  137. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  138. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  139. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  140. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  141. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  142. package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +50 -0
  143. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  144. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  145. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  146. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  147. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  148. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  149. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  150. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  151. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  152. package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +41 -0
  153. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  154. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  155. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  156. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  157. package/types/codegen/ibc/lcd.d.ts +46 -0
  158. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  159. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  160. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  161. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  162. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  163. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  164. package/types/codegen/ics23/bundle.d.ts +545 -0
  165. package/types/codegen/index.d.ts +18 -0
  166. package/types/codegen/juno/bundle.d.ts +723 -0
  167. package/types/codegen/juno/lcd.d.ts +31 -0
  168. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  169. package/types/codegen/juno/mint/mint.d.ts +44 -0
  170. package/types/codegen/juno/mint/query.d.ts +99 -0
  171. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  172. package/types/codegen/juno/mint/query.rpc.query.d.ts +24 -0
  173. package/types/codegen/juno/rpc.query.d.ts +104 -0
  174. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  175. package/types/codegen/tendermint/bundle.d.ts +19673 -0
  176. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  177. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  178. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  179. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  180. package/types/codegen/tendermint/types/block.d.ts +21 -0
  181. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  182. package/types/codegen/tendermint/types/params.d.ts +181 -0
  183. package/types/codegen/tendermint/types/types.d.ts +326 -0
  184. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  185. package/types/codegen/tendermint/version/types.d.ts +48 -0
  186. package/types/index.d.ts +1 -0
@@ -0,0 +1,60 @@
1
+ import { GeneratedType, Registry } from "@cosmjs/proto-signing";
2
+ import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } 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
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
8
+ typeUrl: string;
9
+ value: Uint8Array;
10
+ };
11
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
12
+ typeUrl: string;
13
+ value: Uint8Array;
14
+ };
15
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
16
+ typeUrl: string;
17
+ value: Uint8Array;
18
+ };
19
+ fundCommunityPool(value: MsgFundCommunityPool): {
20
+ typeUrl: string;
21
+ value: Uint8Array;
22
+ };
23
+ };
24
+ withTypeUrl: {
25
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
26
+ typeUrl: string;
27
+ value: MsgSetWithdrawAddress;
28
+ };
29
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
30
+ typeUrl: string;
31
+ value: MsgWithdrawDelegatorReward;
32
+ };
33
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
34
+ typeUrl: string;
35
+ value: MsgWithdrawValidatorCommission;
36
+ };
37
+ fundCommunityPool(value: MsgFundCommunityPool): {
38
+ typeUrl: string;
39
+ value: MsgFundCommunityPool;
40
+ };
41
+ };
42
+ fromPartial: {
43
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
44
+ typeUrl: string;
45
+ value: MsgSetWithdrawAddress;
46
+ };
47
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
48
+ typeUrl: string;
49
+ value: MsgWithdrawDelegatorReward;
50
+ };
51
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
52
+ typeUrl: string;
53
+ value: MsgWithdrawValidatorCommission;
54
+ };
55
+ fundCommunityPool(value: MsgFundCommunityPool): {
56
+ typeUrl: string;
57
+ value: MsgFundCommunityPool;
58
+ };
59
+ };
60
+ };
@@ -0,0 +1,33 @@
1
+ import { Rpc } from "../../../helpers";
2
+ import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx";
3
+ /** Msg defines the distribution Msg service. */
4
+ export interface Msg {
5
+ /**
6
+ * SetWithdrawAddress defines a method to change the withdraw address
7
+ * for a delegator (or validator self-delegation).
8
+ */
9
+ setWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
10
+ /**
11
+ * WithdrawDelegatorReward defines a method to withdraw rewards of delegator
12
+ * from a single validator.
13
+ */
14
+ withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
15
+ /**
16
+ * WithdrawValidatorCommission defines a method to withdraw the
17
+ * full commission to the validator address.
18
+ */
19
+ withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
20
+ /**
21
+ * FundCommunityPool defines a method to allow an account to directly
22
+ * fund the community pool.
23
+ */
24
+ fundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
25
+ }
26
+ export declare class MsgClientImpl implements Msg {
27
+ private readonly rpc;
28
+ constructor(rpc: Rpc);
29
+ setWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
30
+ withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
31
+ withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
32
+ fundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
33
+ }
@@ -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 "../../../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 "../../../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
+ };