@bze/bzejs 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/package.json +1 -1
  2. package/types/codegen/amino/amino.d.ts +1 -0
  3. package/types/codegen/amino/bundle.d.ts +1 -0
  4. package/types/codegen/beezee/burner/query.d.ts +0 -1
  5. package/types/codegen/beezee/burner/tx.amino.d.ts +3 -3
  6. package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +1 -1
  7. package/types/codegen/beezee/cointrunk/article.d.ts +1 -1
  8. package/types/codegen/beezee/cointrunk/events.d.ts +1 -1
  9. package/types/codegen/beezee/cointrunk/genesis.d.ts +1 -1
  10. package/types/codegen/beezee/cointrunk/publisher.d.ts +1 -1
  11. package/types/codegen/beezee/cointrunk/query.d.ts +0 -1
  12. package/types/codegen/beezee/cointrunk/tx.amino.d.ts +6 -6
  13. package/types/codegen/bze/bundle.d.ts +247 -3513
  14. package/types/codegen/confio/proofs.d.ts +439 -0
  15. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -17
  16. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -64
  17. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -1
  18. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +1 -1
  19. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -2
  20. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -6
  21. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
  22. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
  23. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
  24. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +9 -9
  25. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
  26. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
  27. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
  28. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
  29. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
  30. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
  31. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
  32. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -2
  33. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
  34. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +1 -4
  35. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +1 -1
  36. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -2
  37. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +1 -9
  38. package/types/codegen/cosmos/bundle.d.ts +3223 -41279
  39. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +1 -1
  40. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +1 -8
  41. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -4
  42. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +3 -3
  43. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
  44. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
  45. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
  46. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
  47. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
  48. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
  49. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +1 -1
  50. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -1
  51. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -5
  52. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +3 -3
  53. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -1
  54. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -26
  55. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -9
  56. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +6 -6
  57. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -5
  58. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -1
  59. package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
  60. package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
  61. package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
  62. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
  63. package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
  64. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
  65. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
  66. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
  67. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
  68. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
  69. package/types/codegen/cosmos/group/v1/events.d.ts +3 -14
  70. package/types/codegen/cosmos/group/v1/genesis.d.ts +1 -18
  71. package/types/codegen/cosmos/group/v1/query.d.ts +1 -44
  72. package/types/codegen/cosmos/group/v1/tx.amino.d.ts +42 -42
  73. package/types/codegen/cosmos/group/v1/tx.d.ts +5 -85
  74. package/types/codegen/cosmos/group/v1/types.d.ts +8 -150
  75. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -2
  76. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -8
  77. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -3
  78. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -3
  79. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -12
  80. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -1
  81. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +3 -3
  82. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -4
  83. package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -66
  84. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +2 -62
  85. package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -3
  86. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -15
  87. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -3
  88. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +1 -16
  89. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +3 -3
  90. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
  91. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
  92. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
  93. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
  94. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
  95. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
  96. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
  97. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
  98. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
  99. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
  100. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
  101. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
  102. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
  103. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +9 -9
  104. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +1 -1
  105. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +1 -1
  106. package/types/codegen/cosmos_proto/bundle.d.ts +12 -12
  107. package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
  108. package/types/codegen/google/api/http.d.ts +0 -55
  109. package/types/codegen/google/bundle.d.ts +284 -7810
  110. package/types/codegen/google/protobuf/any.d.ts +0 -30
  111. package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
  112. package/types/codegen/google/protobuf/duration.d.ts +1 -14
  113. package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
  114. package/types/codegen/helpers.d.ts +2 -2
  115. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  116. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +112 -0
  117. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  118. package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
  119. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +61 -0
  120. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  121. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +61 -0
  122. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  123. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  124. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +33 -0
  125. package/types/codegen/ibc/bundle.d.ts +4077 -0
  126. package/types/codegen/ibc/client.d.ts +560 -0
  127. package/types/codegen/ibc/core/channel/v1/channel.d.ts +243 -0
  128. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +54 -0
  129. package/types/codegen/ibc/core/channel/v1/query.d.ts +655 -0
  130. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  131. package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
  132. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  133. package/types/codegen/ibc/core/channel/v1/tx.d.ts +376 -0
  134. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  135. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  136. package/types/codegen/ibc/core/client/v1/client.d.ts +195 -0
  137. package/types/codegen/ibc/core/client/v1/genesis.d.ts +75 -0
  138. package/types/codegen/ibc/core/client/v1/query.d.ts +352 -0
  139. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  140. package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
  141. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  142. package/types/codegen/ibc/core/client/v1/tx.d.ts +166 -0
  143. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  144. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  145. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  146. package/types/codegen/ibc/core/connection/v1/connection.d.ts +203 -0
  147. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +23 -0
  148. package/types/codegen/ibc/core/connection/v1/query.d.ts +244 -0
  149. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  150. package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
  151. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  152. package/types/codegen/ibc/core/connection/v1/tx.d.ts +208 -0
  153. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  154. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  155. package/types/codegen/ibc/core/port/v1/query.d.ts +46 -0
  156. package/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts +16 -0
  157. package/types/codegen/ibc/core/types/v1/genesis.d.ts +28 -0
  158. package/types/codegen/ibc/lcd.d.ts +75 -0
  159. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +26 -0
  160. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +390 -0
  161. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +390 -0
  162. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +184 -0
  163. package/types/codegen/ibc/rpc.query.d.ts +243 -0
  164. package/types/codegen/ibc/rpc.tx.d.ts +65 -0
  165. package/types/codegen/ics23/bundle.d.ts +545 -0
  166. package/types/codegen/index.d.ts +5 -2
  167. package/types/codegen/tendermint/abci/types.d.ts +8 -78
  168. package/types/codegen/tendermint/bundle.d.ts +567 -18175
  169. package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
  170. package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
  171. package/types/codegen/tendermint/p2p/types.d.ts +1 -1
  172. package/types/codegen/tendermint/types/params.d.ts +0 -32
  173. package/types/codegen/tendermint/types/types.d.ts +5 -36
  174. package/types/codegen/tendermint/types/validator.d.ts +1 -1
  175. package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -16,20 +16,7 @@ export declare enum VoteOption {
16
16
  VOTE_OPTION_NO_WITH_VETO = 4,
17
17
  UNRECOGNIZED = -1
18
18
  }
19
- /** VoteOption enumerates the valid vote options for a given proposal. */
20
- export declare enum VoteOptionSDKType {
21
- /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
22
- VOTE_OPTION_UNSPECIFIED = 0,
23
- /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
24
- VOTE_OPTION_YES = 1,
25
- /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
26
- VOTE_OPTION_ABSTAIN = 2,
27
- /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
28
- VOTE_OPTION_NO = 3,
29
- /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
30
- VOTE_OPTION_NO_WITH_VETO = 4,
31
- UNRECOGNIZED = -1
32
- }
19
+ export declare const VoteOptionSDKType: typeof VoteOption;
33
20
  export declare function voteOptionFromJSON(object: any): VoteOption;
34
21
  export declare function voteOptionToJSON(object: VoteOption): string;
35
22
  /** ProposalStatus defines proposal statuses. */
@@ -49,23 +36,7 @@ export declare enum ProposalStatus {
49
36
  PROPOSAL_STATUS_WITHDRAWN = 4,
50
37
  UNRECOGNIZED = -1
51
38
  }
52
- /** ProposalStatus defines proposal statuses. */
53
- export declare enum ProposalStatusSDKType {
54
- /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
55
- PROPOSAL_STATUS_UNSPECIFIED = 0,
56
- /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */
57
- PROPOSAL_STATUS_SUBMITTED = 1,
58
- /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */
59
- PROPOSAL_STATUS_CLOSED = 2,
60
- /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */
61
- PROPOSAL_STATUS_ABORTED = 3,
62
- /**
63
- * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status
64
- * is Withdrawn.
65
- */
66
- PROPOSAL_STATUS_WITHDRAWN = 4,
67
- UNRECOGNIZED = -1
68
- }
39
+ export declare const ProposalStatusSDKType: typeof ProposalStatus;
69
40
  export declare function proposalStatusFromJSON(object: any): ProposalStatus;
70
41
  export declare function proposalStatusToJSON(object: ProposalStatus): string;
71
42
  /** ProposalResult defines types of proposal results. */
@@ -80,18 +51,7 @@ export declare enum ProposalResult {
80
51
  PROPOSAL_RESULT_REJECTED = 3,
81
52
  UNRECOGNIZED = -1
82
53
  }
83
- /** ProposalResult defines types of proposal results. */
84
- export declare enum ProposalResultSDKType {
85
- /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */
86
- PROPOSAL_RESULT_UNSPECIFIED = 0,
87
- /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */
88
- PROPOSAL_RESULT_UNFINALIZED = 1,
89
- /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */
90
- PROPOSAL_RESULT_ACCEPTED = 2,
91
- /** PROPOSAL_RESULT_REJECTED - Final result of the tally */
92
- PROPOSAL_RESULT_REJECTED = 3,
93
- UNRECOGNIZED = -1
94
- }
54
+ export declare const ProposalResultSDKType: typeof ProposalResult;
95
55
  export declare function proposalResultFromJSON(object: any): ProposalResult;
96
56
  export declare function proposalResultToJSON(object: ProposalResult): string;
97
57
  /** ProposalExecutorResult defines types of proposal executor results. */
@@ -106,18 +66,7 @@ export declare enum ProposalExecutorResult {
106
66
  PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
107
67
  UNRECOGNIZED = -1
108
68
  }
109
- /** ProposalExecutorResult defines types of proposal executor results. */
110
- export declare enum ProposalExecutorResultSDKType {
111
- /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
112
- PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
113
- /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
114
- PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
115
- /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
116
- PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
117
- /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
118
- PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
119
- UNRECOGNIZED = -1
120
- }
69
+ export declare const ProposalExecutorResultSDKType: typeof ProposalExecutorResult;
121
70
  export declare function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult;
122
71
  export declare function proposalExecutorResultToJSON(object: ProposalExecutorResult): string;
123
72
  /**
@@ -139,13 +88,9 @@ export interface Member {
139
88
  * non-zero weight and metadata.
140
89
  */
141
90
  export interface MemberSDKType {
142
- /** address is the member's account address. */
143
91
  address: string;
144
- /** weight is the member's voting weight that should be greater than 0. */
145
92
  weight: string;
146
- /** metadata is any arbitrary metadata to attached to the member. */
147
93
  metadata: string;
148
- /** added_at is a timestamp specifying when a member was added. */
149
94
  added_at?: Date;
150
95
  }
151
96
  /** Members defines a repeated slice of Member objects. */
@@ -155,7 +100,6 @@ export interface Members {
155
100
  }
156
101
  /** Members defines a repeated slice of Member objects. */
157
102
  export interface MembersSDKType {
158
- /** members is the list of members. */
159
103
  members: MemberSDKType[];
160
104
  }
161
105
  /** ThresholdDecisionPolicy implements the DecisionPolicy interface */
@@ -167,9 +111,7 @@ export interface ThresholdDecisionPolicy {
167
111
  }
168
112
  /** ThresholdDecisionPolicy implements the DecisionPolicy interface */
169
113
  export interface ThresholdDecisionPolicySDKType {
170
- /** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */
171
114
  threshold: string;
172
- /** windows defines the different windows for voting and execution. */
173
115
  windows?: DecisionPolicyWindowsSDKType;
174
116
  }
175
117
  /** PercentageDecisionPolicy implements the DecisionPolicy interface */
@@ -181,9 +123,7 @@ export interface PercentageDecisionPolicy {
181
123
  }
182
124
  /** PercentageDecisionPolicy implements the DecisionPolicy interface */
183
125
  export interface PercentageDecisionPolicySDKType {
184
- /** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */
185
126
  percentage: string;
186
- /** windows defines the different windows for voting and execution. */
187
127
  windows?: DecisionPolicyWindowsSDKType;
188
128
  }
189
129
  /** DecisionPolicyWindows defines the different windows for voting and execution. */
@@ -210,24 +150,7 @@ export interface DecisionPolicyWindows {
210
150
  }
211
151
  /** DecisionPolicyWindows defines the different windows for voting and execution. */
212
152
  export interface DecisionPolicyWindowsSDKType {
213
- /**
214
- * voting_period is the duration from submission of a proposal to the end of voting period
215
- * Within this times votes can be submitted with MsgVote.
216
- */
217
153
  voting_period?: DurationSDKType;
218
- /**
219
- * min_execution_period is the minimum duration after the proposal submission
220
- * where members can start sending MsgExec. This means that the window for
221
- * sending a MsgExec transaction is:
222
- * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
223
- * where max_execution_period is a app-specific config, defined in the keeper.
224
- * If not set, min_execution_period will default to 0.
225
- *
226
- * Please make sure to set a `min_execution_period` that is smaller than
227
- * `voting_period + max_execution_period`, or else the above execution window
228
- * is empty, meaning that all proposals created with this decision policy
229
- * won't be able to be executed.
230
- */
231
154
  min_execution_period?: DurationSDKType;
232
155
  }
233
156
  /** GroupInfo represents the high-level on-chain information for a group. */
@@ -252,22 +175,11 @@ export interface GroupInfo {
252
175
  }
253
176
  /** GroupInfo represents the high-level on-chain information for a group. */
254
177
  export interface GroupInfoSDKType {
255
- /** id is the unique ID of the group. */
256
178
  id: Long;
257
- /** admin is the account address of the group's admin. */
258
179
  admin: string;
259
- /** metadata is any arbitrary metadata to attached to the group. */
260
180
  metadata: string;
261
- /**
262
- * version is used to track changes to a group's membership structure that
263
- * would break existing proposals. Whenever any members weight is changed,
264
- * or any member is added or removed this version is incremented and will
265
- * cause proposals based on older versions of this group to fail
266
- */
267
181
  version: Long;
268
- /** total_weight is the sum of the group members' weights. */
269
182
  total_weight: string;
270
- /** created_at is a timestamp specifying when a group was created. */
271
183
  created_at?: Date;
272
184
  }
273
185
  /** GroupMember represents the relationship between a group and a member. */
@@ -279,9 +191,7 @@ export interface GroupMember {
279
191
  }
280
192
  /** GroupMember represents the relationship between a group and a member. */
281
193
  export interface GroupMemberSDKType {
282
- /** group_id is the unique ID of the group. */
283
194
  group_id: Long;
284
- /** member is the member data. */
285
195
  member?: MemberSDKType;
286
196
  }
287
197
  /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
@@ -306,22 +216,12 @@ export interface GroupPolicyInfo {
306
216
  }
307
217
  /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
308
218
  export interface GroupPolicyInfoSDKType {
309
- /** address is the account address of group policy. */
310
219
  address: string;
311
- /** group_id is the unique ID of the group. */
312
220
  group_id: Long;
313
- /** admin is the account address of the group admin. */
314
221
  admin: string;
315
- /** metadata is any arbitrary metadata to attached to the group policy. */
316
222
  metadata: string;
317
- /**
318
- * version is used to track changes to a group's GroupPolicyInfo structure that
319
- * would create a different result on a running proposal.
320
- */
321
223
  version: Long;
322
- /** decision_policy specifies the group policy's decision policy. */
323
224
  decision_policy?: AnySDKType;
324
- /** created_at is a timestamp specifying when a group policy was created. */
325
225
  created_at?: Date;
326
226
  }
327
227
  /**
@@ -385,51 +285,18 @@ export interface Proposal {
385
285
  * passes as well as some optional metadata associated with the proposal.
386
286
  */
387
287
  export interface ProposalSDKType {
388
- /** id is the unique id of the proposal. */
389
288
  id: Long;
390
- /** address is the account address of group policy. */
391
289
  address: string;
392
- /** metadata is any arbitrary metadata to attached to the proposal. */
393
290
  metadata: string;
394
- /** proposers are the account addresses of the proposers. */
395
291
  proposers: string[];
396
- /** submit_time is a timestamp specifying when a proposal was submitted. */
397
292
  submit_time?: Date;
398
- /**
399
- * group_version tracks the version of the group that this proposal corresponds to.
400
- * When group membership is changed, existing proposals from previous group versions will become invalid.
401
- */
402
293
  group_version: Long;
403
- /**
404
- * group_policy_version tracks the version of the group policy that this proposal corresponds to.
405
- * When a decision policy is changed, existing proposals from previous policy versions will become invalid.
406
- */
407
294
  group_policy_version: Long;
408
- /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
409
- status: ProposalStatusSDKType;
410
- /**
411
- * result is the final result based on the votes and election rule. Initial value is unfinalized.
412
- * The result is persisted so that clients can always rely on this state and not have to replicate the logic.
413
- */
414
- result: ProposalResultSDKType;
415
- /**
416
- * final_tally_result contains the sums of all weighted votes for this
417
- * proposal for each vote option, after tallying. When querying a proposal
418
- * via gRPC, this field is not populated until the proposal's voting period
419
- * has ended.
420
- */
295
+ status: ProposalStatus;
296
+ result: ProposalResult;
421
297
  final_tally_result?: TallyResultSDKType;
422
- /**
423
- * voting_period_end is the timestamp before which voting must be done.
424
- * Unless a successfull MsgExec is called before (to execute a proposal whose
425
- * tally is successful before the voting period ends), tallying will be done
426
- * at this point, and the `final_tally_result`, as well
427
- * as `status` and `result` fields will be accordingly updated.
428
- */
429
298
  voting_period_end?: Date;
430
- /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */
431
- executor_result: ProposalExecutorResultSDKType;
432
- /** messages is a list of Msgs that will be executed if the proposal passes. */
299
+ executor_result: ProposalExecutorResult;
433
300
  messages: AnySDKType[];
434
301
  }
435
302
  /** TallyResult represents the sum of weighted votes for each vote option. */
@@ -445,13 +312,9 @@ export interface TallyResult {
445
312
  }
446
313
  /** TallyResult represents the sum of weighted votes for each vote option. */
447
314
  export interface TallyResultSDKType {
448
- /** yes_count is the weighted sum of yes votes. */
449
315
  yes_count: string;
450
- /** abstain_count is the weighted sum of abstainers. */
451
316
  abstain_count: string;
452
- /** no is the weighted sum of no votes. */
453
317
  no_count: string;
454
- /** no_with_veto_count is the weighted sum of veto. */
455
318
  no_with_veto_count: string;
456
319
  }
457
320
  /** Vote represents a vote for a proposal. */
@@ -469,15 +332,10 @@ export interface Vote {
469
332
  }
470
333
  /** Vote represents a vote for a proposal. */
471
334
  export interface VoteSDKType {
472
- /** proposal is the unique ID of the proposal. */
473
335
  proposal_id: Long;
474
- /** voter is the account address of the voter. */
475
336
  voter: string;
476
- /** option is the voter's choice on the proposal. */
477
- option: VoteOptionSDKType;
478
- /** metadata is any arbitrary metadata to attached to the vote. */
337
+ option: VoteOption;
479
338
  metadata: string;
480
- /** submit_time is the timestamp when the vote was submitted. */
481
339
  submit_time?: Date;
482
340
  }
483
341
  export declare const Member: {
@@ -10,9 +10,7 @@ export interface GenesisState {
10
10
  }
11
11
  /** GenesisState defines the mint module's genesis state. */
12
12
  export interface GenesisStateSDKType {
13
- /** minter is a space for holding current inflation information. */
14
13
  minter?: MinterSDKType;
15
- /** params defines all the paramaters of the module. */
16
14
  params?: ParamsSDKType;
17
15
  }
18
16
  export declare const GenesisState: {
@@ -9,9 +9,7 @@ export interface Minter {
9
9
  }
10
10
  /** Minter represents the minting state. */
11
11
  export interface MinterSDKType {
12
- /** current annual inflation rate */
13
12
  inflation: string;
14
- /** current annual expected provisions */
15
13
  annual_provisions: string;
16
14
  }
17
15
  /** Params holds parameters for the mint module. */
@@ -31,17 +29,11 @@ export interface Params {
31
29
  }
32
30
  /** Params holds parameters for the mint module. */
33
31
  export interface ParamsSDKType {
34
- /** type of coin to mint */
35
32
  mint_denom: string;
36
- /** maximum annual change in inflation rate */
37
33
  inflation_rate_change: string;
38
- /** maximum inflation rate */
39
34
  inflation_max: string;
40
- /** minimum inflation rate */
41
35
  inflation_min: string;
42
- /** goal of percent bonded atoms */
43
36
  goal_bonded: string;
44
- /** expected blocks per year */
45
37
  blocks_per_year: Long;
46
38
  }
47
39
  export declare const Minter: {
@@ -14,7 +14,6 @@ export interface QueryParamsResponse {
14
14
  }
15
15
  /** QueryParamsResponse is the response type for the Query/Params RPC method. */
16
16
  export interface QueryParamsResponseSDKType {
17
- /** params defines the parameters of the module. */
18
17
  params?: ParamsSDKType;
19
18
  }
20
19
  /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */
@@ -36,7 +35,6 @@ export interface QueryInflationResponse {
36
35
  * method.
37
36
  */
38
37
  export interface QueryInflationResponseSDKType {
39
- /** inflation is the current minting inflation value. */
40
38
  inflation: Uint8Array;
41
39
  }
42
40
  /**
@@ -64,7 +62,6 @@ export interface QueryAnnualProvisionsResponse {
64
62
  * Query/AnnualProvisions RPC method.
65
63
  */
66
64
  export interface QueryAnnualProvisionsResponseSDKType {
67
- /** annual_provisions is the current minting annual provisions value. */
68
65
  annual_provisions: Uint8Array;
69
66
  }
70
67
  export declare const QueryParamsRequest: {
@@ -9,7 +9,6 @@ export interface GenesisState {
9
9
  }
10
10
  /** GenesisState defines the nft module's genesis state. */
11
11
  export interface GenesisStateSDKType {
12
- /** class defines the class of the nft type. */
13
12
  classes: ClassSDKType[];
14
13
  entries: EntrySDKType[];
15
14
  }
@@ -22,9 +21,7 @@ export interface Entry {
22
21
  }
23
22
  /** Entry Defines all nft owned by a person */
24
23
  export interface EntrySDKType {
25
- /** owner is the owner address of the following nft */
26
24
  owner: string;
27
- /** nfts is a group of nfts of the same owner */
28
25
  nfts: NFTSDKType[];
29
26
  }
30
27
  export declare const GenesisState: {
@@ -20,19 +20,12 @@ export interface Class {
20
20
  }
21
21
  /** Class defines the class of the nft type. */
22
22
  export interface ClassSDKType {
23
- /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */
24
23
  id: string;
25
- /** name defines the human-readable name of the NFT classification. Optional */
26
24
  name: string;
27
- /** symbol is an abbreviated name for nft classification. Optional */
28
25
  symbol: string;
29
- /** description is a brief description of nft classification. Optional */
30
26
  description: string;
31
- /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */
32
27
  uri: string;
33
- /** uri_hash is a hash of the document pointed by uri. Optional */
34
28
  uri_hash: string;
35
- /** data is the app specific metadata of the NFT class. Optional */
36
29
  data?: AnySDKType;
37
30
  }
38
31
  /** NFT defines the NFT. */
@@ -50,15 +43,10 @@ export interface NFT {
50
43
  }
51
44
  /** NFT defines the NFT. */
52
45
  export interface NFTSDKType {
53
- /** class_id associated with the NFT, similar to the contract address of ERC721 */
54
46
  class_id: string;
55
- /** id is a unique identifier of the NFT */
56
47
  id: string;
57
- /** uri for the NFT metadata stored off chain */
58
48
  uri: string;
59
- /** uri_hash is a hash of the document pointed by uri */
60
49
  uri_hash: string;
61
- /** data is an app specific data of the NFT. Optional */
62
50
  data?: AnySDKType;
63
51
  }
64
52
  export declare const Class: {
@@ -117,7 +117,6 @@ export interface QueryClassesRequest {
117
117
  }
118
118
  /** QueryClassesRequest is the request type for the Query/Classes RPC method */
119
119
  export interface QueryClassesRequestSDKType {
120
- /** pagination defines an optional pagination for the request. */
121
120
  pagination?: PageRequestSDKType;
122
121
  }
123
122
  /** QueryClassesResponse is the response type for the Query/Classes RPC method */
@@ -1,6 +1,6 @@
1
1
  import { AminoMsg } from "@cosmjs/amino";
2
2
  import { MsgSend } from "./tx";
3
- export interface AminoMsgSend extends AminoMsg {
3
+ export interface MsgSendAminoType extends AminoMsg {
4
4
  type: "cosmos-sdk/MsgNFTSend";
5
5
  value: {
6
6
  class_id: string;
@@ -12,7 +12,7 @@ export interface AminoMsgSend extends AminoMsg {
12
12
  export declare const AminoConverter: {
13
13
  "/cosmos.nft.v1beta1.MsgSend": {
14
14
  aminoType: string;
15
- toAmino: ({ classId, id, sender, receiver }: MsgSend) => AminoMsgSend["value"];
16
- fromAmino: ({ class_id, id, sender, receiver }: AminoMsgSend["value"]) => MsgSend;
15
+ toAmino: ({ classId, id, sender, receiver }: MsgSend) => MsgSendAminoType["value"];
16
+ fromAmino: ({ class_id, id, sender, receiver }: MsgSendAminoType["value"]) => MsgSend;
17
17
  };
18
18
  };
@@ -13,13 +13,9 @@ export interface MsgSend {
13
13
  }
14
14
  /** MsgSend represents a message to send a nft from one account to another account. */
15
15
  export interface MsgSendSDKType {
16
- /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */
17
16
  class_id: string;
18
- /** id defines the unique identification of nft */
19
17
  id: string;
20
- /** sender is the address of the owner of nft */
21
18
  sender: string;
22
- /** receiver is the receiver address of nft */
23
19
  receiver: string;
24
20
  }
25
21
  /** MsgSendResponse defines the Msg/Send response type. */
@@ -15,15 +15,8 @@ export interface TableDescriptor {
15
15
  }
16
16
  /** TableDescriptor describes an ORM table. */
17
17
  export interface TableDescriptorSDKType {
18
- /** primary_key defines the primary key for the table. */
19
18
  primary_key?: PrimaryKeyDescriptorSDKType;
20
- /** index defines one or more secondary indexes. */
21
19
  index: SecondaryIndexDescriptorSDKType[];
22
- /**
23
- * id is a non-zero integer ID that must be unique within the
24
- * tables and singletons in this file. It may be deprecated in the future when this
25
- * can be auto-generated.
26
- */
27
20
  id: number;
28
21
  }
29
22
  /** PrimaryKeyDescriptor describes a table primary key. */
@@ -70,44 +63,7 @@ export interface PrimaryKeyDescriptor {
70
63
  }
71
64
  /** PrimaryKeyDescriptor describes a table primary key. */
72
65
  export interface PrimaryKeyDescriptorSDKType {
73
- /**
74
- * fields is a comma-separated list of fields in the primary key. Spaces are
75
- * not allowed. Supported field types, their encodings, and any applicable constraints
76
- * are described below.
77
- * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that
78
- * is suitable for sorted iteration (not varint encoding). This type is
79
- * well-suited for small integers.
80
- * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that
81
- * is suitable for sorted iteration (not varint encoding). This type is
82
- * well-suited for small integers such as auto-incrementing sequences.
83
- * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support
84
- * sorted iteration. These types are well-suited for encoding fixed with
85
- * decimals as integers.
86
- * - string's are encoded as raw bytes in terminal key segments and null-terminated
87
- * in non-terminal segments. Null characters are thus forbidden in strings.
88
- * string fields support sorted iteration.
89
- * - bytes are encoded as raw bytes in terminal segments and length-prefixed
90
- * with a 32-bit unsigned varint in non-terminal segments.
91
- * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with
92
- * an encoding that enables sorted iteration.
93
- * - google.protobuf.Timestamp and google.protobuf.Duration are encoded
94
- * as 12 bytes using an encoding that enables sorted iteration.
95
- * - enum fields are encoded using varint encoding and do not support sorted
96
- * iteration.
97
- * - bool fields are encoded as a single byte 0 or 1.
98
- *
99
- * All other fields types are unsupported in keys including repeated and
100
- * oneof fields.
101
- *
102
- * Primary keys are prefixed by the varint encoded table id and the byte 0x0
103
- * plus any additional prefix specified by the schema.
104
- */
105
66
  fields: string;
106
- /**
107
- * auto_increment specifies that the primary key is generated by an
108
- * auto-incrementing integer. If this is set to true fields must only
109
- * contain one field of that is of type uint64.
110
- */
111
67
  auto_increment: boolean;
112
68
  }
113
69
  /** PrimaryKeyDescriptor describes a table secondary index. */
@@ -135,25 +91,8 @@ export interface SecondaryIndexDescriptor {
135
91
  }
136
92
  /** PrimaryKeyDescriptor describes a table secondary index. */
137
93
  export interface SecondaryIndexDescriptorSDKType {
138
- /**
139
- * fields is a comma-separated list of fields in the index. The supported
140
- * field types are the same as those for PrimaryKeyDescriptor.fields.
141
- * Index keys are prefixed by the varint encoded table id and the varint
142
- * encoded index id plus any additional prefix specified by the schema.
143
- *
144
- * In addition the the field segments, non-unique index keys are suffixed with
145
- * any additional primary key fields not present in the index fields so that the
146
- * primary key can be reconstructed. Unique indexes instead of being suffixed
147
- * store the remaining primary key fields in the value..
148
- */
149
94
  fields: string;
150
- /**
151
- * id is a non-zero integer ID that must be unique within the indexes for this
152
- * table and less than 32768. It may be deprecated in the future when this can
153
- * be auto-generated.
154
- */
155
95
  id: number;
156
- /** unique specifies that this an unique index. */
157
96
  unique: boolean;
158
97
  }
159
98
  /** TableDescriptor describes an ORM singleton table which has at most one instance. */
@@ -167,11 +106,6 @@ export interface SingletonDescriptor {
167
106
  }
168
107
  /** TableDescriptor describes an ORM singleton table which has at most one instance. */
169
108
  export interface SingletonDescriptorSDKType {
170
- /**
171
- * id is a non-zero integer ID that must be unique within the
172
- * tables and singletons in this file. It may be deprecated in the future when this
173
- * can be auto-generated.
174
- */
175
109
  id: number;
176
110
  }
177
111
  export declare const TableDescriptor: {
@@ -43,49 +43,7 @@ export declare enum StorageType {
43
43
  STORAGE_TYPE_COMMITMENT = 4,
44
44
  UNRECOGNIZED = -1
45
45
  }
46
- /** StorageType */
47
- export declare enum StorageTypeSDKType {
48
- /**
49
- * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent
50
- * KV-storage where primary key entries are stored in merkle-tree
51
- * backed commitment storage and indexes and seqs are stored in
52
- * fast index storage. Note that the Cosmos SDK before store/v2alpha1
53
- * does not support this.
54
- */
55
- STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0,
56
- /**
57
- * STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be
58
- * reloaded every time an app restarts. Tables with this type of storage
59
- * will by default be ignored when importing and exporting a module's
60
- * state from JSON.
61
- */
62
- STORAGE_TYPE_MEMORY = 1,
63
- /**
64
- * STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset
65
- * at the end of every block. Tables with this type of storage
66
- * will by default be ignored when importing and exporting a module's
67
- * state from JSON.
68
- */
69
- STORAGE_TYPE_TRANSIENT = 2,
70
- /**
71
- * STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed
72
- * by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK
73
- * before store/v2alpha1 does not support this.
74
- */
75
- STORAGE_TYPE_INDEX = 3,
76
- /**
77
- * STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by
78
- * a merkle-tree. With this type of storage, both primary and index keys
79
- * will affect the app hash and this is generally less efficient
80
- * than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index
81
- * keys into index storage. Note that modules built with the
82
- * Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT
83
- * instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX
84
- * because this is the only type of persistent storage available.
85
- */
86
- STORAGE_TYPE_COMMITMENT = 4,
87
- UNRECOGNIZED = -1
88
- }
46
+ export declare const StorageTypeSDKType: typeof StorageType;
89
47
  export declare function storageTypeFromJSON(object: any): StorageType;
90
48
  export declare function storageTypeToJSON(object: StorageType): string;
91
49
  /** ModuleSchemaDescriptor describe's a module's ORM schema. */
@@ -100,10 +58,6 @@ export interface ModuleSchemaDescriptor {
100
58
  /** ModuleSchemaDescriptor describe's a module's ORM schema. */
101
59
  export interface ModuleSchemaDescriptorSDKType {
102
60
  schema_file: ModuleSchemaDescriptor_FileEntrySDKType[];
103
- /**
104
- * prefix is an optional prefix that precedes all keys in this module's
105
- * store.
106
- */
107
61
  prefix: Uint8Array;
108
62
  }
109
63
  /** FileEntry describes an ORM file used in a module. */
@@ -128,23 +82,9 @@ export interface ModuleSchemaDescriptor_FileEntry {
128
82
  }
129
83
  /** FileEntry describes an ORM file used in a module. */
130
84
  export interface ModuleSchemaDescriptor_FileEntrySDKType {
131
- /**
132
- * id is a prefix that will be varint encoded and prepended to all the
133
- * table keys specified in the file's tables.
134
- */
135
85
  id: number;
136
- /**
137
- * proto_file_name is the name of a file .proto in that contains
138
- * table definitions. The .proto file must be in a package that the
139
- * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package.
140
- */
141
86
  proto_file_name: string;
142
- /**
143
- * storage_type optionally indicates the type of storage this file's
144
- * tables should used. If it is left unspecified, the default KV-storage
145
- * of the app will be used.
146
- */
147
- storage_type: StorageTypeSDKType;
87
+ storage_type: StorageType;
148
88
  }
149
89
  export declare const ModuleSchemaDescriptor: {
150
90
  encode(message: ModuleSchemaDescriptor, writer?: _m0.Writer): _m0.Writer;
@@ -10,9 +10,7 @@ export interface QueryParamsRequest {
10
10
  }
11
11
  /** QueryParamsRequest is request type for the Query/Params RPC method. */
12
12
  export interface QueryParamsRequestSDKType {
13
- /** subspace defines the module to query the parameter for. */
14
13
  subspace: string;
15
- /** key defines the key of the parameter in the subspace. */
16
14
  key: string;
17
15
  }
18
16
  /** QueryParamsResponse is response type for the Query/Params RPC method. */
@@ -22,7 +20,6 @@ export interface QueryParamsResponse {
22
20
  }
23
21
  /** QueryParamsResponse is response type for the Query/Params RPC method. */
24
22
  export interface QueryParamsResponseSDKType {
25
- /** param defines the queried parameter. */
26
23
  param?: ParamChangeSDKType;
27
24
  }
28
25
  /**