decentralcardgame-cardchain-client-ts 0.0.35 → 0.0.37

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 (141) hide show
  1. package/amino_adapter.d.ts +9 -0
  2. package/amino_adapter.js +22 -0
  3. package/cardchain.cardchain/module.js +53 -52
  4. package/cardchain.featureflag/module.js +3 -2
  5. package/client.js +2 -2
  6. package/cosmos.auth.v1beta1/module.js +2 -1
  7. package/cosmos.authz.v1beta1/module.js +4 -3
  8. package/cosmos.bank.v1beta1/module.js +5 -4
  9. package/cosmos.bank.v1beta1/rest.d.ts +20 -20
  10. package/cosmos.bank.v1beta1/rest.js +16 -16
  11. package/cosmos.circuit.v1/module.js +4 -3
  12. package/cosmos.consensus.v1/module.js +2 -1
  13. package/cosmos.crisis.v1beta1/module.js +3 -2
  14. package/cosmos.distribution.v1beta1/module.js +8 -7
  15. package/cosmos.evidence.v1beta1/module.js +2 -1
  16. package/cosmos.feegrant.v1beta1/module.js +4 -3
  17. package/cosmos.gov.v1/module.js +8 -7
  18. package/cosmos.gov.v1beta1/module.js +5 -4
  19. package/cosmos.group.v1/module.js +17 -14
  20. package/cosmos.group.v1/types.d.ts +2 -1
  21. package/cosmos.group.v1/types.js +2 -1
  22. package/cosmos.mint.v1beta1/module.js +2 -1
  23. package/cosmos.nft.v1beta1/module.js +2 -1
  24. package/cosmos.slashing.v1beta1/module.js +3 -2
  25. package/cosmos.staking.v1beta1/module.js +8 -7
  26. package/cosmos.tx.v1beta1/rest.d.ts +8 -0
  27. package/cosmos.upgrade.v1beta1/module.js +3 -2
  28. package/cosmos.vesting.v1beta1/module.js +4 -3
  29. package/ibc.applications.fee.v1/module.js +5 -4
  30. package/ibc.applications.interchain_accounts.controller.v1/module.js +4 -3
  31. package/ibc.applications.interchain_accounts.host.v1/module.js +3 -2
  32. package/ibc.applications.transfer.v1/module.js +3 -2
  33. package/ibc.core.channel.v1/module.js +20 -19
  34. package/ibc.core.client.v1/module.js +8 -7
  35. package/ibc.core.connection.v1/module.js +6 -5
  36. package/index.d.ts +68 -68
  37. package/index.js +19 -19
  38. package/package.json +2 -1
  39. package/types/cosmos/app/runtime/v1alpha1/module.d.ts +13 -1
  40. package/types/cosmos/app/runtime/v1alpha1/module.js +36 -0
  41. package/types/cosmos/app/v1alpha1/query.d.ts +6 -2
  42. package/types/cosmos/auth/module/v1/module.d.ts +6 -0
  43. package/types/cosmos/auth/module/v1/module.js +18 -1
  44. package/types/cosmos/auth/v1beta1/query.d.ts +21 -107
  45. package/types/cosmos/auth/v1beta1/tx.d.ts +1 -9
  46. package/types/cosmos/authz/v1beta1/authz.d.ts +0 -1
  47. package/types/cosmos/authz/v1beta1/event.d.ts +0 -1
  48. package/types/cosmos/authz/v1beta1/genesis.d.ts +0 -1
  49. package/types/cosmos/authz/v1beta1/query.d.ts +2 -11
  50. package/types/cosmos/authz/v1beta1/tx.d.ts +0 -1
  51. package/types/cosmos/autocli/v1/options.d.ts +21 -1
  52. package/types/cosmos/autocli/v1/options.js +65 -2
  53. package/types/cosmos/bank/v1beta1/authz.d.ts +0 -4
  54. package/types/cosmos/bank/v1beta1/bank.d.ts +2 -14
  55. package/types/cosmos/bank/v1beta1/genesis.d.ts +1 -5
  56. package/types/cosmos/bank/v1beta1/query.d.ts +12 -62
  57. package/types/cosmos/bank/v1beta1/query.js +6 -6
  58. package/types/cosmos/bank/v1beta1/tx.d.ts +2 -18
  59. package/types/cosmos/base/abci/v1beta1/abci.d.ts +2 -12
  60. package/types/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -1
  61. package/types/cosmos/base/tendermint/v1beta1/query.d.ts +0 -5
  62. package/types/cosmos/benchmark/module/v1/module.d.ts +52 -0
  63. package/types/cosmos/benchmark/module/v1/module.js +289 -0
  64. package/types/cosmos/benchmark/v1/benchmark.d.ts +32 -0
  65. package/types/cosmos/benchmark/v1/benchmark.js +164 -0
  66. package/types/cosmos/benchmark/v1/tx.d.ts +51 -0
  67. package/types/cosmos/benchmark/v1/tx.js +196 -0
  68. package/types/cosmos/consensus/v1/query.d.ts +0 -1
  69. package/types/cosmos/consensus/v1/tx.d.ts +0 -4
  70. package/types/cosmos/{orm/module/v1alpha1 → counter/module/v1}/module.d.ts +4 -6
  71. package/types/cosmos/counter/module/v1/module.js +62 -0
  72. package/types/cosmos/counter/v1/query.d.ts +47 -0
  73. package/types/cosmos/counter/v1/query.js +122 -0
  74. package/types/cosmos/counter/v1/tx.d.ts +52 -0
  75. package/types/cosmos/counter/v1/tx.js +153 -0
  76. package/types/cosmos/crisis/v1beta1/tx.d.ts +1 -9
  77. package/types/cosmos/crypto/hd/v1/hd.d.ts +0 -1
  78. package/types/cosmos/crypto/keyring/v1/record.d.ts +0 -1
  79. package/types/cosmos/crypto/secp256r1/keys.d.ts +0 -1
  80. package/types/cosmos/distribution/v1beta1/query.d.ts +5 -1
  81. package/types/cosmos/distribution/v1beta1/tx.d.ts +4 -22
  82. package/types/cosmos/epochs/module/v1/module.d.ts +25 -0
  83. package/types/cosmos/{orm/module/v1alpha1 → epochs/module/v1}/module.js +2 -2
  84. package/types/cosmos/epochs/v1beta1/events.d.ts +32 -0
  85. package/types/cosmos/epochs/v1beta1/events.js +140 -0
  86. package/types/cosmos/epochs/v1beta1/genesis.d.ts +86 -0
  87. package/types/cosmos/epochs/v1beta1/genesis.js +256 -0
  88. package/types/cosmos/epochs/v1beta1/query.d.ts +73 -0
  89. package/types/cosmos/epochs/v1beta1/query.js +233 -0
  90. package/types/cosmos/evidence/v1beta1/query.d.ts +1 -5
  91. package/types/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -1
  92. package/types/cosmos/feegrant/v1beta1/genesis.d.ts +0 -1
  93. package/types/cosmos/feegrant/v1beta1/query.d.ts +3 -16
  94. package/types/cosmos/feegrant/v1beta1/tx.d.ts +3 -16
  95. package/types/cosmos/gov/v1/genesis.d.ts +1 -8
  96. package/types/cosmos/gov/v1/gov.d.ts +9 -50
  97. package/types/cosmos/gov/v1/gov.js +0 -1
  98. package/types/cosmos/gov/v1/query.d.ts +1 -6
  99. package/types/cosmos/gov/v1/tx.d.ts +6 -37
  100. package/types/cosmos/gov/v1beta1/gov.d.ts +2 -10
  101. package/types/cosmos/gov/v1beta1/tx.d.ts +3 -15
  102. package/types/cosmos/group/v1/events.d.ts +8 -1
  103. package/types/cosmos/group/v1/events.js +68 -0
  104. package/types/cosmos/group/v1/genesis.d.ts +0 -1
  105. package/types/cosmos/group/v1/query.d.ts +3 -16
  106. package/types/cosmos/group/v1/tx.d.ts +2 -11
  107. package/types/cosmos/group/v1/tx.js +0 -1
  108. package/types/cosmos/group/v1/types.d.ts +2 -11
  109. package/types/cosmos/group/v1/types.js +0 -1
  110. package/types/cosmos/mint/v1beta1/tx.d.ts +1 -9
  111. package/types/cosmos/params/v1beta1/query.d.ts +1 -11
  112. package/types/cosmos/protocolpool/module/v1/module.d.ts +27 -0
  113. package/types/cosmos/protocolpool/module/v1/module.js +62 -0
  114. package/types/cosmos/protocolpool/v1/genesis.d.ts +33 -0
  115. package/types/cosmos/protocolpool/v1/genesis.js +84 -0
  116. package/types/cosmos/protocolpool/v1/query.d.ts +108 -0
  117. package/types/cosmos/protocolpool/v1/query.js +420 -0
  118. package/types/cosmos/protocolpool/v1/tx.d.ts +159 -0
  119. package/types/cosmos/protocolpool/v1/tx.js +700 -0
  120. package/types/cosmos/protocolpool/v1/types.d.ts +45 -0
  121. package/types/cosmos/protocolpool/v1/types.js +196 -0
  122. package/types/cosmos/slashing/v1beta1/tx.d.ts +1 -9
  123. package/types/cosmos/staking/v1beta1/authz.d.ts +2 -10
  124. package/types/cosmos/staking/v1beta1/authz.js +1 -5
  125. package/types/cosmos/staking/v1beta1/staking.d.ts +1 -5
  126. package/types/cosmos/staking/v1beta1/tx.d.ts +4 -25
  127. package/types/cosmos/store/snapshots/v1/snapshot.d.ts +5 -25
  128. package/types/cosmos/store/v1beta1/listening.d.ts +0 -2
  129. package/types/cosmos/tx/v1beta1/service.d.ts +6 -52
  130. package/types/cosmos/tx/v1beta1/tx.d.ts +37 -17
  131. package/types/cosmos/tx/v1beta1/tx.js +61 -1
  132. package/types/cosmos/upgrade/v1beta1/query.d.ts +4 -25
  133. package/types/cosmos/upgrade/v1beta1/tx.d.ts +5 -28
  134. package/types/cosmos/vesting/v1beta1/tx.d.ts +1 -15
  135. package/types/cosmos/vesting/v1beta1/vesting.d.ts +0 -2
  136. package/types/cosmos/orm/query/v1alpha1/query.d.ts +0 -148
  137. package/types/cosmos/orm/query/v1alpha1/query.js +0 -705
  138. package/types/cosmos/orm/v1/orm.d.ts +0 -115
  139. package/types/cosmos/orm/v1/orm.js +0 -300
  140. package/types/cosmos/orm/v1alpha1/schema.d.ts +0 -77
  141. package/types/cosmos/orm/v1alpha1/schema.js +0 -243
@@ -1,7 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Deposit, DepositParams, Params, Proposal, TallyParams, Vote, VotingParams } from "./gov";
3
3
  export declare const protobufPackage = "cosmos.gov.v1";
4
- /** Since: cosmos-sdk 0.46 */
5
4
  /** GenesisState defines the gov module's genesis state. */
6
5
  export interface GenesisState {
7
6
  /** starting_proposal_id is the ID of the starting proposal. */
@@ -33,19 +32,13 @@ export interface GenesisState {
33
32
  * @deprecated
34
33
  */
35
34
  tallyParams: TallyParams | undefined;
36
- /**
37
- * params defines all the paramaters of x/gov module.
38
- *
39
- * Since: cosmos-sdk 0.47
40
- */
35
+ /** params defines all the paramaters of x/gov module. */
41
36
  params: Params | undefined;
42
37
  /**
43
38
  * The constitution allows builders to lay a foundation and define purpose.
44
39
  * This is an immutable string set in genesis.
45
40
  * There are no amendments, to go outside of scope, just fork.
46
41
  * constitution is an immutable string in genesis for a chain builder to lay out their vision, ideas and ideals.
47
- *
48
- * Since: cosmos-sdk 0.50
49
42
  */
50
43
  constitution: string;
51
44
  }
@@ -3,7 +3,6 @@ import { Any } from "../../../google/protobuf/any";
3
3
  import { Duration } from "../../../google/protobuf/duration";
4
4
  import { Coin } from "../../base/v1beta1/coin";
5
5
  export declare const protobufPackage = "cosmos.gov.v1";
6
- /** Since: cosmos-sdk 0.46 */
7
6
  /** VoteOption enumerates the valid vote options for a given governance proposal. */
8
7
  export declare enum VoteOption {
9
8
  /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
@@ -102,35 +101,15 @@ export interface Proposal {
102
101
  * https://docs.cosmos.network/v0.47/modules/gov#proposal-3
103
102
  */
104
103
  metadata: string;
105
- /**
106
- * title is the title of the proposal
107
- *
108
- * Since: cosmos-sdk 0.47
109
- */
104
+ /** title is the title of the proposal */
110
105
  title: string;
111
- /**
112
- * summary is a short summary of the proposal
113
- *
114
- * Since: cosmos-sdk 0.47
115
- */
106
+ /** summary is a short summary of the proposal */
116
107
  summary: string;
117
- /**
118
- * proposer is the address of the proposal sumbitter
119
- *
120
- * Since: cosmos-sdk 0.47
121
- */
108
+ /** proposer is the address of the proposal sumbitter */
122
109
  proposer: string;
123
- /**
124
- * expedited defines if the proposal is expedited
125
- *
126
- * Since: cosmos-sdk 0.50
127
- */
110
+ /** expedited defines if the proposal is expedited */
128
111
  expedited: boolean;
129
- /**
130
- * failed_reason defines the reason why the proposal failed
131
- *
132
- * Since: cosmos-sdk 0.50
133
- */
112
+ /** failed_reason defines the reason why the proposal failed */
134
113
  failedReason: string;
135
114
  }
136
115
  /** TallyResult defines a standard tally for a governance proposal. */
@@ -203,11 +182,7 @@ export interface TallyParams {
203
182
  */
204
183
  vetoThreshold: string;
205
184
  }
206
- /**
207
- * Params defines the parameters for the x/gov module.
208
- *
209
- * Since: cosmos-sdk 0.47
210
- */
185
+ /** Params defines the parameters for the x/gov module. */
211
186
  export interface Params {
212
187
  /** Minimum deposit for a proposal to enter voting period. */
213
188
  minDeposit: Coin[];
@@ -232,30 +207,16 @@ export interface Params {
232
207
  vetoThreshold: string;
233
208
  /** The ratio representing the proportion of the deposit value that must be paid at proposal submission. */
234
209
  minInitialDepositRatio: string;
235
- /**
236
- * The cancel ratio which will not be returned back to the depositors when a proposal is cancelled.
237
- *
238
- * Since: cosmos-sdk 0.50
239
- */
210
+ /** The cancel ratio which will not be returned back to the depositors when a proposal is cancelled. */
240
211
  proposalCancelRatio: string;
241
212
  /**
242
213
  * The address which will receive (proposal_cancel_ratio * deposit) proposal deposits.
243
214
  * If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned.
244
- *
245
- * Since: cosmos-sdk 0.50
246
215
  */
247
216
  proposalCancelDest: string;
248
- /**
249
- * Duration of the voting period of an expedited proposal.
250
- *
251
- * Since: cosmos-sdk 0.50
252
- */
217
+ /** Duration of the voting period of an expedited proposal. */
253
218
  expeditedVotingPeriod: Duration | undefined;
254
- /**
255
- * Minimum proportion of Yes votes for proposal to pass. Default value: 0.67.
256
- *
257
- * Since: cosmos-sdk 0.50
258
- */
219
+ /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. */
259
220
  expeditedThreshold: string;
260
221
  /** Minimum expedited deposit for a proposal to enter voting period. */
261
222
  expeditedMinDeposit: Coin[];
@@ -269,8 +230,6 @@ export interface Params {
269
230
  * The ratio representing the proportion of the deposit value minimum that must be met when making a deposit.
270
231
  * Default value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be
271
232
  * required.
272
- *
273
- * Since: cosmos-sdk 0.50
274
233
  */
275
234
  minDepositRatio: string;
276
235
  }
@@ -10,7 +10,6 @@ import { Duration } from "../../../google/protobuf/duration";
10
10
  import { Timestamp } from "../../../google/protobuf/timestamp";
11
11
  import { Coin } from "../../base/v1beta1/coin";
12
12
  export const protobufPackage = "cosmos.gov.v1";
13
- /** Since: cosmos-sdk 0.46 */
14
13
  /** VoteOption enumerates the valid vote options for a given governance proposal. */
15
14
  export var VoteOption;
16
15
  (function (VoteOption) {
@@ -2,7 +2,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
3
3
  import { Deposit, DepositParams, Params, Proposal, ProposalStatus, TallyParams, TallyResult, Vote, VotingParams } from "./gov";
4
4
  export declare const protobufPackage = "cosmos.gov.v1";
5
- /** Since: cosmos-sdk 0.46 */
6
5
  /** QueryConstitutionRequest is the request type for the Query/Constitution RPC method */
7
6
  export interface QueryConstitutionRequest {
8
7
  }
@@ -98,11 +97,7 @@ export interface QueryParamsResponse {
98
97
  * @deprecated
99
98
  */
100
99
  tallyParams: TallyParams | undefined;
101
- /**
102
- * params defines all the paramaters of x/gov module.
103
- *
104
- * Since: cosmos-sdk 0.47
105
- */
100
+ /** params defines all the paramaters of x/gov module. */
106
101
  params: Params | undefined;
107
102
  }
108
103
  /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
@@ -3,7 +3,6 @@ import { Any } from "../../../google/protobuf/any";
3
3
  import { Coin } from "../../base/v1beta1/coin";
4
4
  import { Params, VoteOption, WeightedVoteOption } from "./gov";
5
5
  export declare const protobufPackage = "cosmos.gov.v1";
6
- /** Since: cosmos-sdk 0.46 */
7
6
  /**
8
7
  * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary
9
8
  * proposal Content.
@@ -17,23 +16,11 @@ export interface MsgSubmitProposal {
17
16
  proposer: string;
18
17
  /** metadata is any arbitrary metadata attached to the proposal. */
19
18
  metadata: string;
20
- /**
21
- * title is the title of the proposal.
22
- *
23
- * Since: cosmos-sdk 0.47
24
- */
19
+ /** title is the title of the proposal. */
25
20
  title: string;
26
- /**
27
- * summary is the summary of the proposal
28
- *
29
- * Since: cosmos-sdk 0.47
30
- */
21
+ /** summary is the summary of the proposal */
31
22
  summary: string;
32
- /**
33
- * expedited defines if the proposal is expedited or not
34
- *
35
- * Since: cosmos-sdk 0.50
36
- */
23
+ /** expedited defines if the proposal is expedited or not */
37
24
  expedited: boolean;
38
25
  }
39
26
  /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */
@@ -94,11 +81,7 @@ export interface MsgDeposit {
94
81
  /** MsgDepositResponse defines the Msg/Deposit response type. */
95
82
  export interface MsgDepositResponse {
96
83
  }
97
- /**
98
- * MsgUpdateParams is the Msg/UpdateParams request type.
99
- *
100
- * Since: cosmos-sdk 0.47
101
- */
84
+ /** MsgUpdateParams is the Msg/UpdateParams request type. */
102
85
  export interface MsgUpdateParams {
103
86
  /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
104
87
  authority: string;
@@ -112,16 +95,10 @@ export interface MsgUpdateParams {
112
95
  /**
113
96
  * MsgUpdateParamsResponse defines the response structure for executing a
114
97
  * MsgUpdateParams message.
115
- *
116
- * Since: cosmos-sdk 0.47
117
98
  */
118
99
  export interface MsgUpdateParamsResponse {
119
100
  }
120
- /**
121
- * MsgCancelProposal is the Msg/CancelProposal request type.
122
- *
123
- * Since: cosmos-sdk 0.50
124
- */
101
+ /** MsgCancelProposal is the Msg/CancelProposal request type. */
125
102
  export interface MsgCancelProposal {
126
103
  /** proposal_id defines the unique id of the proposal. */
127
104
  proposalId: number;
@@ -131,8 +108,6 @@ export interface MsgCancelProposal {
131
108
  /**
132
109
  * MsgCancelProposalResponse defines the response structure for executing a
133
110
  * MsgCancelProposal message.
134
- *
135
- * Since: cosmos-sdk 0.50
136
111
  */
137
112
  export interface MsgCancelProposalResponse {
138
113
  /** proposal_id defines the unique id of the proposal. */
@@ -174,15 +149,9 @@ export interface Msg {
174
149
  /**
175
150
  * UpdateParams defines a governance operation for updating the x/gov module
176
151
  * parameters. The authority is defined in the keeper.
177
- *
178
- * Since: cosmos-sdk 0.47
179
152
  */
180
153
  UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
181
- /**
182
- * CancelProposal defines a method to cancel governance proposal
183
- *
184
- * Since: cosmos-sdk 0.50
185
- */
154
+ /** CancelProposal defines a method to cancel governance proposal */
186
155
  CancelProposal(request: MsgCancelProposal): Promise<MsgCancelProposalResponse>;
187
156
  }
188
157
  export declare const MsgServiceName = "cosmos.gov.v1.Msg";
@@ -52,11 +52,7 @@ export declare enum ProposalStatus {
52
52
  }
53
53
  export declare function proposalStatusFromJSON(object: any): ProposalStatus;
54
54
  export declare function proposalStatusToJSON(object: ProposalStatus): string;
55
- /**
56
- * WeightedVoteOption defines a unit of vote for vote split.
57
- *
58
- * Since: cosmos-sdk 0.43
59
- */
55
+ /** WeightedVoteOption defines a unit of vote for vote split. */
60
56
  export interface WeightedVoteOption {
61
57
  /** option defines the valid vote options, it must not contain duplicate vote options. */
62
58
  option: VoteOption;
@@ -138,11 +134,7 @@ export interface Vote {
138
134
  * @deprecated
139
135
  */
140
136
  option: VoteOption;
141
- /**
142
- * options is the weighted vote options.
143
- *
144
- * Since: cosmos-sdk 0.43
145
- */
137
+ /** options is the weighted vote options. */
146
138
  options: WeightedVoteOption[];
147
139
  }
148
140
  /** DepositParams defines the params for deposits on governance proposals. */
@@ -32,11 +32,7 @@ export interface MsgVote {
32
32
  /** MsgVoteResponse defines the Msg/Vote response type. */
33
33
  export interface MsgVoteResponse {
34
34
  }
35
- /**
36
- * MsgVoteWeighted defines a message to cast a vote.
37
- *
38
- * Since: cosmos-sdk 0.43
39
- */
35
+ /** MsgVoteWeighted defines a message to cast a vote. */
40
36
  export interface MsgVoteWeighted {
41
37
  /** proposal_id defines the unique id of the proposal. */
42
38
  proposalId: number;
@@ -45,11 +41,7 @@ export interface MsgVoteWeighted {
45
41
  /** options defines the weighted vote options. */
46
42
  options: WeightedVoteOption[];
47
43
  }
48
- /**
49
- * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.
50
- *
51
- * Since: cosmos-sdk 0.43
52
- */
44
+ /** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */
53
45
  export interface MsgVoteWeightedResponse {
54
46
  }
55
47
  /** MsgDeposit defines a message to submit a deposit to an existing proposal. */
@@ -78,11 +70,7 @@ export interface Msg {
78
70
  SubmitProposal(request: MsgSubmitProposal): Promise<MsgSubmitProposalResponse>;
79
71
  /** Vote defines a method to add a vote on a specific proposal. */
80
72
  Vote(request: MsgVote): Promise<MsgVoteResponse>;
81
- /**
82
- * VoteWeighted defines a method to add a weighted vote on a specific proposal.
83
- *
84
- * Since: cosmos-sdk 0.43
85
- */
73
+ /** VoteWeighted defines a method to add a weighted vote on a specific proposal. */
86
74
  VoteWeighted(request: MsgVoteWeighted): Promise<MsgVoteWeightedResponse>;
87
75
  /** Deposit defines a method to add deposit on a specific proposal. */
88
76
  Deposit(request: MsgDeposit): Promise<MsgDepositResponse>;
@@ -1,7 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { ProposalExecutorResult, ProposalStatus, TallyResult } from "./types";
3
3
  export declare const protobufPackage = "cosmos.group.v1";
4
- /** Since: cosmos-sdk 0.46 */
5
4
  /** EventCreateGroup is an event emitted when a group is created. */
6
5
  export interface EventCreateGroup {
7
6
  /** group_id is the unique ID of the group. */
@@ -62,6 +61,13 @@ export interface EventProposalPruned {
62
61
  /** tally_result is the proposal tally result (when applicable). */
63
62
  tallyResult: TallyResult | undefined;
64
63
  }
64
+ /** EventTallyError is an event emitted when a proposal tally failed with an error. */
65
+ export interface EventTallyError {
66
+ /** proposal_id is the unique ID of the proposal. */
67
+ proposalId: number;
68
+ /** error_message is the raw error output */
69
+ errorMessage: string;
70
+ }
65
71
  export declare const EventCreateGroup: MessageFns<EventCreateGroup>;
66
72
  export declare const EventUpdateGroup: MessageFns<EventUpdateGroup>;
67
73
  export declare const EventCreateGroupPolicy: MessageFns<EventCreateGroupPolicy>;
@@ -72,6 +78,7 @@ export declare const EventVote: MessageFns<EventVote>;
72
78
  export declare const EventExec: MessageFns<EventExec>;
73
79
  export declare const EventLeaveGroup: MessageFns<EventLeaveGroup>;
74
80
  export declare const EventProposalPruned: MessageFns<EventProposalPruned>;
81
+ export declare const EventTallyError: MessageFns<EventTallyError>;
75
82
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
76
83
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
77
84
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -600,6 +600,74 @@ export const EventProposalPruned = {
600
600
  return message;
601
601
  },
602
602
  };
603
+ function createBaseEventTallyError() {
604
+ return { proposalId: 0, errorMessage: "" };
605
+ }
606
+ export const EventTallyError = {
607
+ encode(message, writer = new BinaryWriter()) {
608
+ if (message.proposalId !== 0) {
609
+ writer.uint32(8).uint64(message.proposalId);
610
+ }
611
+ if (message.errorMessage !== "") {
612
+ writer.uint32(18).string(message.errorMessage);
613
+ }
614
+ return writer;
615
+ },
616
+ decode(input, length) {
617
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
618
+ let end = length === undefined ? reader.len : reader.pos + length;
619
+ const message = createBaseEventTallyError();
620
+ while (reader.pos < end) {
621
+ const tag = reader.uint32();
622
+ switch (tag >>> 3) {
623
+ case 1: {
624
+ if (tag !== 8) {
625
+ break;
626
+ }
627
+ message.proposalId = longToNumber(reader.uint64());
628
+ continue;
629
+ }
630
+ case 2: {
631
+ if (tag !== 18) {
632
+ break;
633
+ }
634
+ message.errorMessage = reader.string();
635
+ continue;
636
+ }
637
+ }
638
+ if ((tag & 7) === 4 || tag === 0) {
639
+ break;
640
+ }
641
+ reader.skip(tag & 7);
642
+ }
643
+ return message;
644
+ },
645
+ fromJSON(object) {
646
+ return {
647
+ proposalId: isSet(object.proposalId) ? globalThis.Number(object.proposalId) : 0,
648
+ errorMessage: isSet(object.errorMessage) ? globalThis.String(object.errorMessage) : "",
649
+ };
650
+ },
651
+ toJSON(message) {
652
+ const obj = {};
653
+ if (message.proposalId !== 0) {
654
+ obj.proposalId = Math.round(message.proposalId);
655
+ }
656
+ if (message.errorMessage !== "") {
657
+ obj.errorMessage = message.errorMessage;
658
+ }
659
+ return obj;
660
+ },
661
+ create(base) {
662
+ return EventTallyError.fromPartial(base ?? {});
663
+ },
664
+ fromPartial(object) {
665
+ const message = createBaseEventTallyError();
666
+ message.proposalId = object.proposalId ?? 0;
667
+ message.errorMessage = object.errorMessage ?? "";
668
+ return message;
669
+ },
670
+ };
603
671
  function longToNumber(int64) {
604
672
  const num = globalThis.Number(int64.toString());
605
673
  if (num > globalThis.Number.MAX_SAFE_INTEGER) {
@@ -1,7 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { GroupInfo, GroupMember, GroupPolicyInfo, Proposal, Vote } from "./types";
3
3
  export declare const protobufPackage = "cosmos.group.v1";
4
- /** Since: cosmos-sdk 0.46 */
5
4
  /** GenesisState defines the group module's genesis state. */
6
5
  export interface GenesisState {
7
6
  /**
@@ -2,7 +2,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
3
3
  import { GroupInfo, GroupMember, GroupPolicyInfo, Proposal, TallyResult, Vote } from "./types";
4
4
  export declare const protobufPackage = "cosmos.group.v1";
5
- /** Since: cosmos-sdk 0.46 */
6
5
  /** QueryGroupInfoRequest is the Query/GroupInfo request type. */
7
6
  export interface QueryGroupInfoRequest {
8
7
  /** group_id is the unique ID of the group. */
@@ -167,20 +166,12 @@ export interface QueryTallyResultResponse {
167
166
  /** tally defines the requested tally. */
168
167
  tally: TallyResult | undefined;
169
168
  }
170
- /**
171
- * QueryGroupsRequest is the Query/Groups request type.
172
- *
173
- * Since: cosmos-sdk 0.47.1
174
- */
169
+ /** QueryGroupsRequest is the Query/Groups request type. */
175
170
  export interface QueryGroupsRequest {
176
171
  /** pagination defines an optional pagination for the request. */
177
172
  pagination: PageRequest | undefined;
178
173
  }
179
- /**
180
- * QueryGroupsResponse is the Query/Groups response type.
181
- *
182
- * Since: cosmos-sdk 0.47.1
183
- */
174
+ /** QueryGroupsResponse is the Query/Groups response type. */
184
175
  export interface QueryGroupsResponse {
185
176
  /** `groups` is all the groups present in state. */
186
177
  groups: GroupInfo[];
@@ -249,11 +240,7 @@ export interface Query {
249
240
  * proposal itself.
250
241
  */
251
242
  TallyResult(request: QueryTallyResultRequest): Promise<QueryTallyResultResponse>;
252
- /**
253
- * Groups queries all groups in state.
254
- *
255
- * Since: cosmos-sdk 0.47.1
256
- */
243
+ /** Groups queries all groups in state. */
257
244
  Groups(request: QueryGroupsRequest): Promise<QueryGroupsResponse>;
258
245
  }
259
246
  export declare const QueryServiceName = "cosmos.group.v1.Query";
@@ -2,7 +2,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Any } from "../../../google/protobuf/any";
3
3
  import { MemberRequest, ProposalExecutorResult, VoteOption } from "./types";
4
4
  export declare const protobufPackage = "cosmos.group.v1";
5
- /** Since: cosmos-sdk 0.46 */
6
5
  /** Exec defines modes of execution of a proposal on creation or on new vote. */
7
6
  export declare enum Exec {
8
7
  /**
@@ -170,17 +169,9 @@ export interface MsgSubmitProposal {
170
169
  * If so, proposers signatures are considered as Yes votes.
171
170
  */
172
171
  exec: Exec;
173
- /**
174
- * title is the title of the proposal.
175
- *
176
- * Since: cosmos-sdk 0.47
177
- */
172
+ /** title is the title of the proposal. */
178
173
  title: string;
179
- /**
180
- * summary is the summary of the proposal.
181
- *
182
- * Since: cosmos-sdk 0.47
183
- */
174
+ /** summary is the summary of the proposal. */
184
175
  summary: string;
185
176
  }
186
177
  /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
@@ -8,7 +8,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
8
  import { Any } from "../../../google/protobuf/any";
9
9
  import { MemberRequest, proposalExecutorResultFromJSON, proposalExecutorResultToJSON, voteOptionFromJSON, voteOptionToJSON, } from "./types";
10
10
  export const protobufPackage = "cosmos.group.v1";
11
- /** Since: cosmos-sdk 0.46 */
12
11
  /** Exec defines modes of execution of a proposal on creation or on new vote. */
13
12
  export var Exec;
14
13
  (function (Exec) {
@@ -2,7 +2,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Any } from "../../../google/protobuf/any";
3
3
  import { Duration } from "../../../google/protobuf/duration";
4
4
  export declare const protobufPackage = "cosmos.group.v1";
5
- /** Since: cosmos-sdk 0.46 */
6
5
  /** VoteOption enumerates the valid vote options for a given proposal. */
7
6
  export declare enum VoteOption {
8
7
  /**
@@ -257,17 +256,9 @@ export interface Proposal {
257
256
  executorResult: ProposalExecutorResult;
258
257
  /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
259
258
  messages: Any[];
260
- /**
261
- * title is the title of the proposal
262
- *
263
- * Since: cosmos-sdk 0.47
264
- */
259
+ /** title is the title of the proposal */
265
260
  title: string;
266
- /**
267
- * summary is a short summary of the proposal
268
- *
269
- * Since: cosmos-sdk 0.47
270
- */
261
+ /** summary is a short summary of the proposal */
271
262
  summary: string;
272
263
  }
273
264
  /** TallyResult represents the sum of weighted votes for each vote option. */
@@ -9,7 +9,6 @@ import { Any } from "../../../google/protobuf/any";
9
9
  import { Duration } from "../../../google/protobuf/duration";
10
10
  import { Timestamp } from "../../../google/protobuf/timestamp";
11
11
  export const protobufPackage = "cosmos.group.v1";
12
- /** Since: cosmos-sdk 0.46 */
13
12
  /** VoteOption enumerates the valid vote options for a given proposal. */
14
13
  export var VoteOption;
15
14
  (function (VoteOption) {
@@ -1,11 +1,7 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Params } from "./mint";
3
3
  export declare const protobufPackage = "cosmos.mint.v1beta1";
4
- /**
5
- * MsgUpdateParams is the Msg/UpdateParams request type.
6
- *
7
- * Since: cosmos-sdk 0.47
8
- */
4
+ /** MsgUpdateParams is the Msg/UpdateParams request type. */
9
5
  export interface MsgUpdateParams {
10
6
  /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
11
7
  authority: string;
@@ -19,8 +15,6 @@ export interface MsgUpdateParams {
19
15
  /**
20
16
  * MsgUpdateParamsResponse defines the response structure for executing a
21
17
  * MsgUpdateParams message.
22
- *
23
- * Since: cosmos-sdk 0.47
24
18
  */
25
19
  export interface MsgUpdateParamsResponse {
26
20
  }
@@ -31,8 +25,6 @@ export interface Msg {
31
25
  /**
32
26
  * UpdateParams defines a governance operation for updating the x/mint module
33
27
  * parameters. The authority is defaults to the x/gov module account.
34
- *
35
- * Since: cosmos-sdk 0.47
36
28
  */
37
29
  UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
38
30
  }
@@ -16,16 +16,12 @@ export interface QueryParamsResponse {
16
16
  /**
17
17
  * QuerySubspacesRequest defines a request type for querying for all registered
18
18
  * subspaces and all keys for a subspace.
19
- *
20
- * Since: cosmos-sdk 0.46
21
19
  */
22
20
  export interface QuerySubspacesRequest {
23
21
  }
24
22
  /**
25
23
  * QuerySubspacesResponse defines the response types for querying for all
26
24
  * registered subspaces and all keys for a subspace.
27
- *
28
- * Since: cosmos-sdk 0.46
29
25
  */
30
26
  export interface QuerySubspacesResponse {
31
27
  subspaces: Subspace[];
@@ -33,8 +29,6 @@ export interface QuerySubspacesResponse {
33
29
  /**
34
30
  * Subspace defines a parameter subspace name and all the keys that exist for
35
31
  * the subspace.
36
- *
37
- * Since: cosmos-sdk 0.46
38
32
  */
39
33
  export interface Subspace {
40
34
  subspace: string;
@@ -52,11 +46,7 @@ export interface Query {
52
46
  * key.
53
47
  */
54
48
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
55
- /**
56
- * Subspaces queries for all registered subspaces and all keys for a subspace.
57
- *
58
- * Since: cosmos-sdk 0.46
59
- */
49
+ /** Subspaces queries for all registered subspaces and all keys for a subspace. */
60
50
  Subspaces(request: QuerySubspacesRequest): Promise<QuerySubspacesResponse>;
61
51
  }
62
52
  export declare const QueryServiceName = "cosmos.params.v1beta1.Query";
@@ -0,0 +1,27 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ export declare const protobufPackage = "cosmos.protocolpool.module.v1";
3
+ /** Module is the config object of the consensus module. */
4
+ export interface Module {
5
+ /** authority defines the custom module authority. If not set, defaults to the governance module. */
6
+ authority: string;
7
+ }
8
+ export declare const Module: MessageFns<Module>;
9
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
10
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
11
+ [K in keyof T]?: DeepPartial<T[K]>;
12
+ } : Partial<T>;
13
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
14
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
15
+ [K in keyof P]: Exact<P[K], I[K]>;
16
+ } & {
17
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
18
+ };
19
+ export interface MessageFns<T> {
20
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
21
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
22
+ fromJSON(object: any): T;
23
+ toJSON(message: T): unknown;
24
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
25
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
26
+ }
27
+ export {};