decentralcardgame-cardchain-client-ts 0.0.15 → 0.0.16
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.
- package/DecentralCardGame.cardchain.cardchain/module.js +318 -383
- package/DecentralCardGame.cardchain.cardchain/module.ts +463 -558
- package/DecentralCardGame.cardchain.cardchain/registry.js +72 -78
- package/DecentralCardGame.cardchain.cardchain/registry.ts +72 -78
- package/DecentralCardGame.cardchain.cardchain/rest.js +77 -60
- package/DecentralCardGame.cardchain.cardchain/rest.ts +123 -76
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +657 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +741 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +102 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.ts +134 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +356 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.ts +415 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +254 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.ts +281 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +88 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.ts +115 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +308 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.ts +355 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +67 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.ts +92 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +73 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.ts +102 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +325 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.ts +380 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +2200 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +2633 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +85 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.ts +111 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +148 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.ts +183 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +93 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.ts +124 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.js +365 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.ts +416 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.js +93 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.ts +124 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +4185 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +5139 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +580 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +652 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.js +346 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.ts +417 -0
- package/DecentralCardGame.cardchain.cardchain/types.js +25 -23
- package/DecentralCardGame.cardchain.cardchain/types.ts +26 -22
- package/DecentralCardGame.cardchain.featureflag/index.js +5 -0
- package/DecentralCardGame.cardchain.featureflag/index.ts +6 -0
- package/DecentralCardGame.cardchain.featureflag/module.js +62 -0
- package/DecentralCardGame.cardchain.featureflag/module.ts +102 -0
- package/DecentralCardGame.cardchain.featureflag/registry.js +2 -0
- package/DecentralCardGame.cardchain.featureflag/registry.ts +7 -0
- package/DecentralCardGame.cardchain.featureflag/rest.js +128 -0
- package/DecentralCardGame.cardchain.featureflag/rest.ts +222 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.js +67 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.ts +92 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.js +135 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.ts +172 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.js +36 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.ts +58 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.js +76 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.ts +102 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.js +279 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.ts +371 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.js +7 -0
- package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.ts +17 -0
- package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.js +2 -0
- package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.ts +2 -0
- package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.js +2 -0
- package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.ts +2 -0
- package/DecentralCardGame.cardchain.featureflag/types/google/api/http.js +260 -0
- package/DecentralCardGame.cardchain.featureflag/types/google/api/http.ts +589 -0
- package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.js +2830 -0
- package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.ts +3753 -0
- package/DecentralCardGame.cardchain.featureflag/types.js +4 -0
- package/DecentralCardGame.cardchain.featureflag/types.ts +11 -0
- package/client.js +7 -7
- package/client.ts +9 -10
- package/cosmos.auth.v1beta1/module.js +0 -2
- package/cosmos.auth.v1beta1/module.ts +0 -2
- package/cosmos.auth.v1beta1/rest.js +3 -18
- package/cosmos.auth.v1beta1/rest.ts +3 -113
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +3 -104
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +4 -157
- package/cosmos.auth.v1beta1/types.js +1 -2
- package/cosmos.auth.v1beta1/types.ts +0 -2
- package/cosmos.authz.v1beta1/module.js +19 -19
- package/cosmos.authz.v1beta1/module.ts +29 -29
- package/cosmos.authz.v1beta1/registry.js +2 -2
- package/cosmos.authz.v1beta1/registry.ts +2 -2
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.bank.v1beta1/module.js +16 -16
- package/cosmos.bank.v1beta1/module.ts +24 -24
- package/cosmos.bank.v1beta1/registry.js +2 -2
- package/cosmos.bank.v1beta1/registry.ts +2 -2
- package/cosmos.bank.v1beta1/rest.js +6 -37
- package/cosmos.bank.v1beta1/rest.ts +6 -99
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +2 -18
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +2 -24
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +0 -9
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +2 -18
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +4 -25
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1 -230
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +5 -356
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +1 -206
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +1 -305
- package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
- package/cosmos.base.tendermint.v1beta1/rest.ts +27 -18
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +46 -16
- package/cosmos.crisis.v1beta1/module.js +1 -24
- package/cosmos.crisis.v1beta1/module.ts +1 -34
- package/cosmos.crisis.v1beta1/registry.js +0 -2
- package/cosmos.crisis.v1beta1/registry.ts +0 -2
- package/cosmos.crisis.v1beta1/rest.ts +0 -19
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -95
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +1 -140
- package/cosmos.distribution.v1beta1/module.js +21 -67
- package/cosmos.distribution.v1beta1/module.ts +34 -100
- package/cosmos.distribution.v1beta1/registry.js +4 -8
- package/cosmos.distribution.v1beta1/registry.ts +4 -8
- package/cosmos.distribution.v1beta1/rest.js +0 -14
- package/cosmos.distribution.v1beta1/rest.ts +7 -66
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +0 -19
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -120
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1 -158
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -199
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +3 -300
- package/cosmos.evidence.v1beta1/rest.js +3 -4
- package/cosmos.evidence.v1beta1/rest.ts +3 -4
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +1 -7
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +2 -13
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +3 -25
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +0 -2
- package/cosmos.gov.v1/module.js +21 -46
- package/cosmos.gov.v1/module.ts +33 -68
- package/cosmos.gov.v1/registry.js +4 -6
- package/cosmos.gov.v1/registry.ts +4 -6
- package/cosmos.gov.v1/rest.ts +41 -155
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +1 -13
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +5 -40
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -179
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +6 -277
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +2 -13
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +7 -45
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +2 -113
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +3 -186
- package/cosmos.gov.v1/types.js +1 -2
- package/cosmos.gov.v1/types.ts +0 -2
- package/cosmos.gov.v1beta1/module.js +24 -24
- package/cosmos.gov.v1beta1/module.ts +36 -36
- package/cosmos.gov.v1beta1/registry.js +4 -4
- package/cosmos.gov.v1beta1/registry.ts +4 -4
- package/cosmos.gov.v1beta1/rest.ts +96 -65
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +10 -45
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +2 -4
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +1 -16
- package/cosmos.group.v1/module.js +92 -92
- package/cosmos.group.v1/module.ts +138 -138
- package/cosmos.group.v1/registry.js +16 -16
- package/cosmos.group.v1/registry.ts +16 -16
- package/cosmos.group.v1/rest.js +3 -3
- package/cosmos.group.v1/rest.ts +9 -29
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.js +34 -52
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +49 -79
- package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -20
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +6 -46
- package/cosmos.mint.v1beta1/rest.ts +1 -9
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
- package/cosmos.nft.v1beta1/rest.ts +22 -18
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +0 -10
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +0 -1
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +0 -20
- package/cosmos.slashing.v1beta1/rest.ts +0 -8
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -94
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +0 -139
- package/cosmos.staking.v1beta1/module.js +39 -41
- package/cosmos.staking.v1beta1/module.ts +59 -61
- package/cosmos.staking.v1beta1/registry.js +6 -6
- package/cosmos.staking.v1beta1/registry.ts +6 -6
- package/cosmos.staking.v1beta1/rest.js +7 -7
- package/cosmos.staking.v1beta1/rest.ts +8 -49
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +5 -36
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +2 -180
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +3 -206
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +1 -94
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1 -138
- package/cosmos.staking.v1beta1/types.js +1 -2
- package/cosmos.staking.v1beta1/types.ts +0 -2
- package/cosmos.tx.v1beta1/rest.js +2 -66
- package/cosmos.tx.v1beta1/rest.ts +16 -177
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +2 -360
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +2 -524
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +266 -592
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +332 -703
- package/cosmos.tx.v1beta1/types/tendermint/types/params.js +17 -8
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +25 -9
- package/cosmos.upgrade.v1beta1/rest.ts +1 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -1
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -13
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +4 -16
- package/ibc.applications.transfer.v1/module.js +27 -5
- package/ibc.applications.transfer.v1/module.ts +34 -5
- package/ibc.applications.transfer.v1/registry.js +4 -1
- package/ibc.applications.transfer.v1/registry.ts +2 -0
- package/ibc.applications.transfer.v1/rest.js +1 -15
- package/ibc.applications.transfer.v1/rest.ts +1 -30
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +1 -16
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +2 -23
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -91
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +0 -120
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.applications.transfer.v1/types.js +1 -3
- package/ibc.applications.transfer.v1/types.ts +0 -4
- package/ibc.core.channel.v1/rest.ts +0 -1
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +2 -13
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +2 -14
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.core.client.v1/rest.ts +1 -5
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +8 -9
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +14 -28
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +1 -5
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -26
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +0 -34
- package/ibc.core.connection.v1/types/proofs.js +1126 -0
- package/ibc.core.connection.v1/types/proofs.ts +1408 -0
- package/index.js +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/cosmos.gov.v1/rest.ts
CHANGED
|
@@ -135,16 +135,9 @@ export interface RpcStatus {
|
|
|
135
135
|
proposal.
|
|
136
136
|
*/
|
|
137
137
|
export interface V1Deposit {
|
|
138
|
-
/**
|
|
139
|
-
* proposal_id defines the unique id of the proposal.
|
|
140
|
-
* @format uint64
|
|
141
|
-
*/
|
|
138
|
+
/** @format uint64 */
|
|
142
139
|
proposal_id?: string;
|
|
143
|
-
|
|
144
|
-
/** depositor defines the deposit addresses from the proposals. */
|
|
145
140
|
depositor?: string;
|
|
146
|
-
|
|
147
|
-
/** amount to be deposited by depositor. */
|
|
148
141
|
amount?: V1Beta1Coin[];
|
|
149
142
|
}
|
|
150
143
|
|
|
@@ -157,7 +150,7 @@ export interface V1DepositParams {
|
|
|
157
150
|
|
|
158
151
|
/**
|
|
159
152
|
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
|
160
|
-
*
|
|
153
|
+
* months.
|
|
161
154
|
*/
|
|
162
155
|
max_deposit_period?: string;
|
|
163
156
|
}
|
|
@@ -176,21 +169,10 @@ export type V1MsgExecLegacyContentResponse = object;
|
|
|
176
169
|
* MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.
|
|
177
170
|
*/
|
|
178
171
|
export interface V1MsgSubmitProposalResponse {
|
|
179
|
-
/**
|
|
180
|
-
* proposal_id defines the unique id of the proposal.
|
|
181
|
-
* @format uint64
|
|
182
|
-
*/
|
|
172
|
+
/** @format uint64 */
|
|
183
173
|
proposal_id?: string;
|
|
184
174
|
}
|
|
185
175
|
|
|
186
|
-
/**
|
|
187
|
-
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
188
|
-
MsgUpdateParams message.
|
|
189
|
-
|
|
190
|
-
Since: cosmos-sdk 0.47
|
|
191
|
-
*/
|
|
192
|
-
export type V1MsgUpdateParamsResponse = object;
|
|
193
|
-
|
|
194
176
|
/**
|
|
195
177
|
* MsgVoteResponse defines the Msg/Vote response type.
|
|
196
178
|
*/
|
|
@@ -201,66 +183,28 @@ export type V1MsgVoteResponse = object;
|
|
|
201
183
|
*/
|
|
202
184
|
export type V1MsgVoteWeightedResponse = object;
|
|
203
185
|
|
|
204
|
-
/**
|
|
205
|
-
* Params defines the parameters for the x/gov module.
|
|
206
|
-
|
|
207
|
-
Since: cosmos-sdk 0.47
|
|
208
|
-
*/
|
|
209
|
-
export interface V1Params {
|
|
210
|
-
/** Minimum deposit for a proposal to enter voting period. */
|
|
211
|
-
min_deposit?: V1Beta1Coin[];
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
|
215
|
-
* months.
|
|
216
|
-
*/
|
|
217
|
-
max_deposit_period?: string;
|
|
218
|
-
|
|
219
|
-
/** Duration of the voting period. */
|
|
220
|
-
voting_period?: string;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Minimum percentage of total stake needed to vote for a result to be
|
|
224
|
-
* considered valid.
|
|
225
|
-
*/
|
|
226
|
-
quorum?: string;
|
|
227
|
-
|
|
228
|
-
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
|
|
229
|
-
threshold?: string;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
|
233
|
-
* vetoed. Default value: 1/3.
|
|
234
|
-
*/
|
|
235
|
-
veto_threshold?: string;
|
|
236
|
-
|
|
237
|
-
/** The ratio representing the proportion of the deposit value that must be paid at proposal submission. */
|
|
238
|
-
min_initial_deposit_ratio?: string;
|
|
239
|
-
|
|
240
|
-
/** burn deposits if a proposal does not meet quorum */
|
|
241
|
-
burn_vote_quorum?: boolean;
|
|
242
|
-
|
|
243
|
-
/** burn deposits if the proposal does not enter voting period */
|
|
244
|
-
burn_proposal_deposit_prevote?: boolean;
|
|
245
|
-
|
|
246
|
-
/** burn deposits if quorum with vote type no_veto is met */
|
|
247
|
-
burn_vote_veto?: boolean;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
186
|
/**
|
|
251
187
|
* Proposal defines the core field members of a governance proposal.
|
|
252
188
|
*/
|
|
253
189
|
export interface V1Proposal {
|
|
254
|
-
/**
|
|
255
|
-
* id defines the unique id of the proposal.
|
|
256
|
-
* @format uint64
|
|
257
|
-
*/
|
|
190
|
+
/** @format uint64 */
|
|
258
191
|
id?: string;
|
|
259
|
-
|
|
260
|
-
/** messages are the arbitrary messages to be executed if the proposal passes. */
|
|
261
192
|
messages?: ProtobufAny[];
|
|
262
193
|
|
|
263
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* ProposalStatus enumerates the valid statuses of a proposal.
|
|
196
|
+
*
|
|
197
|
+
* - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
|
|
198
|
+
* - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
|
199
|
+
* period.
|
|
200
|
+
* - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
|
201
|
+
* - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
|
202
|
+
* passed.
|
|
203
|
+
* - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
|
204
|
+
* been rejected.
|
|
205
|
+
* - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
|
206
|
+
* failed.
|
|
207
|
+
*/
|
|
264
208
|
status?: V1ProposalStatus;
|
|
265
209
|
|
|
266
210
|
/**
|
|
@@ -270,53 +214,21 @@ export interface V1Proposal {
|
|
|
270
214
|
*/
|
|
271
215
|
final_tally_result?: V1TallyResult;
|
|
272
216
|
|
|
273
|
-
/**
|
|
274
|
-
* submit_time is the time of proposal submission.
|
|
275
|
-
* @format date-time
|
|
276
|
-
*/
|
|
217
|
+
/** @format date-time */
|
|
277
218
|
submit_time?: string;
|
|
278
219
|
|
|
279
|
-
/**
|
|
280
|
-
* deposit_end_time is the end time for deposition.
|
|
281
|
-
* @format date-time
|
|
282
|
-
*/
|
|
220
|
+
/** @format date-time */
|
|
283
221
|
deposit_end_time?: string;
|
|
284
|
-
|
|
285
|
-
/** total_deposit is the total deposit on the proposal. */
|
|
286
222
|
total_deposit?: V1Beta1Coin[];
|
|
287
223
|
|
|
288
|
-
/**
|
|
289
|
-
* voting_start_time is the starting time to vote on a proposal.
|
|
290
|
-
* @format date-time
|
|
291
|
-
*/
|
|
224
|
+
/** @format date-time */
|
|
292
225
|
voting_start_time?: string;
|
|
293
226
|
|
|
294
|
-
/**
|
|
295
|
-
* voting_end_time is the end time of voting on a proposal.
|
|
296
|
-
* @format date-time
|
|
297
|
-
*/
|
|
227
|
+
/** @format date-time */
|
|
298
228
|
voting_end_time?: string;
|
|
299
229
|
|
|
300
230
|
/** metadata is any arbitrary metadata attached to the proposal. */
|
|
301
231
|
metadata?: string;
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* title is the title of the proposal
|
|
305
|
-
* Since: cosmos-sdk 0.47
|
|
306
|
-
*/
|
|
307
|
-
title?: string;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* summary is a short summary of the proposal
|
|
311
|
-
* Since: cosmos-sdk 0.47
|
|
312
|
-
*/
|
|
313
|
-
summary?: string;
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Proposer is the address of the proposal sumbitter
|
|
317
|
-
* Since: cosmos-sdk 0.47
|
|
318
|
-
*/
|
|
319
|
-
proposer?: string;
|
|
320
232
|
}
|
|
321
233
|
|
|
322
234
|
/**
|
|
@@ -355,7 +267,6 @@ export interface V1QueryDepositResponse {
|
|
|
355
267
|
* QueryDepositsResponse is the response type for the Query/Deposits RPC method.
|
|
356
268
|
*/
|
|
357
269
|
export interface V1QueryDepositsResponse {
|
|
358
|
-
/** deposits defines the requested deposits. */
|
|
359
270
|
deposits?: V1Deposit[];
|
|
360
271
|
|
|
361
272
|
/** pagination defines the pagination in the response. */
|
|
@@ -366,37 +277,21 @@ export interface V1QueryDepositsResponse {
|
|
|
366
277
|
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
367
278
|
*/
|
|
368
279
|
export interface V1QueryParamsResponse {
|
|
369
|
-
/**
|
|
370
|
-
* Deprecated: Prefer to use `params` instead.
|
|
371
|
-
* voting_params defines the parameters related to voting.
|
|
372
|
-
*/
|
|
280
|
+
/** voting_params defines the parameters related to voting. */
|
|
373
281
|
voting_params?: V1VotingParams;
|
|
374
282
|
|
|
375
|
-
/**
|
|
376
|
-
* Deprecated: Prefer to use `params` instead.
|
|
377
|
-
* deposit_params defines the parameters related to deposit.
|
|
378
|
-
*/
|
|
283
|
+
/** deposit_params defines the parameters related to deposit. */
|
|
379
284
|
deposit_params?: V1DepositParams;
|
|
380
285
|
|
|
381
|
-
/**
|
|
382
|
-
* Deprecated: Prefer to use `params` instead.
|
|
383
|
-
* tally_params defines the parameters related to tally.
|
|
384
|
-
*/
|
|
286
|
+
/** tally_params defines the parameters related to tally. */
|
|
385
287
|
tally_params?: V1TallyParams;
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* params defines all the paramaters of x/gov module.
|
|
389
|
-
*
|
|
390
|
-
* Since: cosmos-sdk 0.47
|
|
391
|
-
*/
|
|
392
|
-
params?: V1Params;
|
|
393
288
|
}
|
|
394
289
|
|
|
395
290
|
/**
|
|
396
291
|
* QueryProposalResponse is the response type for the Query/Proposal RPC method.
|
|
397
292
|
*/
|
|
398
293
|
export interface V1QueryProposalResponse {
|
|
399
|
-
/**
|
|
294
|
+
/** Proposal defines the core field members of a governance proposal. */
|
|
400
295
|
proposal?: V1Proposal;
|
|
401
296
|
}
|
|
402
297
|
|
|
@@ -405,7 +300,6 @@ export interface V1QueryProposalResponse {
|
|
|
405
300
|
method.
|
|
406
301
|
*/
|
|
407
302
|
export interface V1QueryProposalsResponse {
|
|
408
|
-
/** proposals defines all the requested governance proposals. */
|
|
409
303
|
proposals?: V1Proposal[];
|
|
410
304
|
|
|
411
305
|
/** pagination defines the pagination in the response. */
|
|
@@ -424,7 +318,7 @@ export interface V1QueryTallyResultResponse {
|
|
|
424
318
|
* QueryVoteResponse is the response type for the Query/Vote RPC method.
|
|
425
319
|
*/
|
|
426
320
|
export interface V1QueryVoteResponse {
|
|
427
|
-
/** vote
|
|
321
|
+
/** vote defined the queried vote. */
|
|
428
322
|
vote?: V1Vote;
|
|
429
323
|
}
|
|
430
324
|
|
|
@@ -432,7 +326,7 @@ export interface V1QueryVoteResponse {
|
|
|
432
326
|
* QueryVotesResponse is the response type for the Query/Votes RPC method.
|
|
433
327
|
*/
|
|
434
328
|
export interface V1QueryVotesResponse {
|
|
435
|
-
/** votes
|
|
329
|
+
/** votes defined the queried votes. */
|
|
436
330
|
votes?: V1Vote[];
|
|
437
331
|
|
|
438
332
|
/** pagination defines the pagination in the response. */
|
|
@@ -445,7 +339,7 @@ export interface V1QueryVotesResponse {
|
|
|
445
339
|
export interface V1TallyParams {
|
|
446
340
|
/**
|
|
447
341
|
* Minimum percentage of total stake needed to vote for a result to be
|
|
448
|
-
*
|
|
342
|
+
* considered valid.
|
|
449
343
|
*/
|
|
450
344
|
quorum?: string;
|
|
451
345
|
|
|
@@ -454,7 +348,7 @@ export interface V1TallyParams {
|
|
|
454
348
|
|
|
455
349
|
/**
|
|
456
350
|
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
|
457
|
-
*
|
|
351
|
+
* vetoed. Default value: 1/3.
|
|
458
352
|
*/
|
|
459
353
|
veto_threshold?: string;
|
|
460
354
|
}
|
|
@@ -463,16 +357,9 @@ export interface V1TallyParams {
|
|
|
463
357
|
* TallyResult defines a standard tally for a governance proposal.
|
|
464
358
|
*/
|
|
465
359
|
export interface V1TallyResult {
|
|
466
|
-
/** yes_count is the number of yes votes on a proposal. */
|
|
467
360
|
yes_count?: string;
|
|
468
|
-
|
|
469
|
-
/** abstain_count is the number of abstain votes on a proposal. */
|
|
470
361
|
abstain_count?: string;
|
|
471
|
-
|
|
472
|
-
/** no_count is the number of no votes on a proposal. */
|
|
473
362
|
no_count?: string;
|
|
474
|
-
|
|
475
|
-
/** no_with_veto_count is the number of no with veto votes on a proposal. */
|
|
476
363
|
no_with_veto_count?: string;
|
|
477
364
|
}
|
|
478
365
|
|
|
@@ -481,16 +368,9 @@ export interface V1TallyResult {
|
|
|
481
368
|
A Vote consists of a proposal ID, the voter, and the vote option.
|
|
482
369
|
*/
|
|
483
370
|
export interface V1Vote {
|
|
484
|
-
/**
|
|
485
|
-
* proposal_id defines the unique id of the proposal.
|
|
486
|
-
* @format uint64
|
|
487
|
-
*/
|
|
371
|
+
/** @format uint64 */
|
|
488
372
|
proposal_id?: string;
|
|
489
|
-
|
|
490
|
-
/** voter is the voter address of the proposal. */
|
|
491
373
|
voter?: string;
|
|
492
|
-
|
|
493
|
-
/** options is the weighted vote options. */
|
|
494
374
|
options?: V1WeightedVoteOption[];
|
|
495
375
|
|
|
496
376
|
/** metadata is any arbitrary metadata to attached to the vote. */
|
|
@@ -518,7 +398,7 @@ export enum V1VoteOption {
|
|
|
518
398
|
* VotingParams defines the params for voting on governance proposals.
|
|
519
399
|
*/
|
|
520
400
|
export interface V1VotingParams {
|
|
521
|
-
/**
|
|
401
|
+
/** Length of the voting period. */
|
|
522
402
|
voting_period?: string;
|
|
523
403
|
}
|
|
524
404
|
|
|
@@ -526,10 +406,16 @@ export interface V1VotingParams {
|
|
|
526
406
|
* WeightedVoteOption defines a unit of vote for vote split.
|
|
527
407
|
*/
|
|
528
408
|
export interface V1WeightedVoteOption {
|
|
529
|
-
/**
|
|
409
|
+
/**
|
|
410
|
+
* VoteOption enumerates the valid vote options for a given governance proposal.
|
|
411
|
+
*
|
|
412
|
+
* - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
|
|
413
|
+
* - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.
|
|
414
|
+
* - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.
|
|
415
|
+
* - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.
|
|
416
|
+
* - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
|
|
417
|
+
*/
|
|
530
418
|
option?: V1VoteOption;
|
|
531
|
-
|
|
532
|
-
/** weight is the vote weight associated with the vote option. */
|
|
533
419
|
weight?: string;
|
|
534
420
|
}
|
|
535
421
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Deposit, DepositParams,
|
|
4
|
+
import { Deposit, DepositParams, Proposal, TallyParams, Vote, VotingParams } from "./gov";
|
|
5
5
|
export const protobufPackage = "cosmos.gov.v1";
|
|
6
6
|
function createBaseGenesisState() {
|
|
7
7
|
return {
|
|
@@ -12,7 +12,6 @@ function createBaseGenesisState() {
|
|
|
12
12
|
depositParams: undefined,
|
|
13
13
|
votingParams: undefined,
|
|
14
14
|
tallyParams: undefined,
|
|
15
|
-
params: undefined,
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
17
|
export const GenesisState = {
|
|
@@ -38,9 +37,6 @@ export const GenesisState = {
|
|
|
38
37
|
if (message.tallyParams !== undefined) {
|
|
39
38
|
TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim();
|
|
40
39
|
}
|
|
41
|
-
if (message.params !== undefined) {
|
|
42
|
-
Params.encode(message.params, writer.uint32(66).fork()).ldelim();
|
|
43
|
-
}
|
|
44
40
|
return writer;
|
|
45
41
|
},
|
|
46
42
|
decode(input, length) {
|
|
@@ -71,9 +67,6 @@ export const GenesisState = {
|
|
|
71
67
|
case 7:
|
|
72
68
|
message.tallyParams = TallyParams.decode(reader, reader.uint32());
|
|
73
69
|
break;
|
|
74
|
-
case 8:
|
|
75
|
-
message.params = Params.decode(reader, reader.uint32());
|
|
76
|
-
break;
|
|
77
70
|
default:
|
|
78
71
|
reader.skipType(tag & 7);
|
|
79
72
|
break;
|
|
@@ -90,7 +83,6 @@ export const GenesisState = {
|
|
|
90
83
|
depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined,
|
|
91
84
|
votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined,
|
|
92
85
|
tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined,
|
|
93
|
-
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
94
86
|
};
|
|
95
87
|
},
|
|
96
88
|
toJSON(message) {
|
|
@@ -120,7 +112,6 @@ export const GenesisState = {
|
|
|
120
112
|
&& (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined);
|
|
121
113
|
message.tallyParams !== undefined
|
|
122
114
|
&& (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined);
|
|
123
|
-
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
124
115
|
return obj;
|
|
125
116
|
},
|
|
126
117
|
fromPartial(object) {
|
|
@@ -138,9 +129,6 @@ export const GenesisState = {
|
|
|
138
129
|
message.tallyParams = (object.tallyParams !== undefined && object.tallyParams !== null)
|
|
139
130
|
? TallyParams.fromPartial(object.tallyParams)
|
|
140
131
|
: undefined;
|
|
141
|
-
message.params = (object.params !== undefined && object.params !== null)
|
|
142
|
-
? Params.fromPartial(object.params)
|
|
143
|
-
: undefined;
|
|
144
132
|
return message;
|
|
145
133
|
},
|
|
146
134
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Deposit, DepositParams,
|
|
4
|
+
import { Deposit, DepositParams, Proposal, TallyParams, Vote, VotingParams } from "./gov";
|
|
5
5
|
|
|
6
6
|
export const protobufPackage = "cosmos.gov.v1";
|
|
7
7
|
|
|
@@ -17,39 +17,16 @@ export interface GenesisState {
|
|
|
17
17
|
votes: Vote[];
|
|
18
18
|
/** proposals defines all the proposals present at genesis. */
|
|
19
19
|
proposals: Proposal[];
|
|
20
|
-
/**
|
|
21
|
-
* Deprecated: Prefer to use `params` instead.
|
|
22
|
-
* deposit_params defines all the paramaters of related to deposit.
|
|
23
|
-
*
|
|
24
|
-
* @deprecated
|
|
25
|
-
*/
|
|
20
|
+
/** params defines all the paramaters of related to deposit. */
|
|
26
21
|
depositParams:
|
|
27
22
|
| DepositParams
|
|
28
23
|
| undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Deprecated: Prefer to use `params` instead.
|
|
31
|
-
* voting_params defines all the paramaters of related to voting.
|
|
32
|
-
*
|
|
33
|
-
* @deprecated
|
|
34
|
-
*/
|
|
24
|
+
/** params defines all the paramaters of related to voting. */
|
|
35
25
|
votingParams:
|
|
36
26
|
| VotingParams
|
|
37
27
|
| undefined;
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
* tally_params defines all the paramaters of related to tally.
|
|
41
|
-
*
|
|
42
|
-
* @deprecated
|
|
43
|
-
*/
|
|
44
|
-
tallyParams:
|
|
45
|
-
| TallyParams
|
|
46
|
-
| undefined;
|
|
47
|
-
/**
|
|
48
|
-
* params defines all the paramaters of x/gov module.
|
|
49
|
-
*
|
|
50
|
-
* Since: cosmos-sdk 0.47
|
|
51
|
-
*/
|
|
52
|
-
params: Params | undefined;
|
|
28
|
+
/** params defines all the paramaters of related to tally. */
|
|
29
|
+
tallyParams: TallyParams | undefined;
|
|
53
30
|
}
|
|
54
31
|
|
|
55
32
|
function createBaseGenesisState(): GenesisState {
|
|
@@ -61,7 +38,6 @@ function createBaseGenesisState(): GenesisState {
|
|
|
61
38
|
depositParams: undefined,
|
|
62
39
|
votingParams: undefined,
|
|
63
40
|
tallyParams: undefined,
|
|
64
|
-
params: undefined,
|
|
65
41
|
};
|
|
66
42
|
}
|
|
67
43
|
|
|
@@ -88,9 +64,6 @@ export const GenesisState = {
|
|
|
88
64
|
if (message.tallyParams !== undefined) {
|
|
89
65
|
TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim();
|
|
90
66
|
}
|
|
91
|
-
if (message.params !== undefined) {
|
|
92
|
-
Params.encode(message.params, writer.uint32(66).fork()).ldelim();
|
|
93
|
-
}
|
|
94
67
|
return writer;
|
|
95
68
|
},
|
|
96
69
|
|
|
@@ -122,9 +95,6 @@ export const GenesisState = {
|
|
|
122
95
|
case 7:
|
|
123
96
|
message.tallyParams = TallyParams.decode(reader, reader.uint32());
|
|
124
97
|
break;
|
|
125
|
-
case 8:
|
|
126
|
-
message.params = Params.decode(reader, reader.uint32());
|
|
127
|
-
break;
|
|
128
98
|
default:
|
|
129
99
|
reader.skipType(tag & 7);
|
|
130
100
|
break;
|
|
@@ -142,7 +112,6 @@ export const GenesisState = {
|
|
|
142
112
|
depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined,
|
|
143
113
|
votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined,
|
|
144
114
|
tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined,
|
|
145
|
-
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
146
115
|
};
|
|
147
116
|
},
|
|
148
117
|
|
|
@@ -170,7 +139,6 @@ export const GenesisState = {
|
|
|
170
139
|
&& (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined);
|
|
171
140
|
message.tallyParams !== undefined
|
|
172
141
|
&& (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined);
|
|
173
|
-
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
174
142
|
return obj;
|
|
175
143
|
},
|
|
176
144
|
|
|
@@ -189,9 +157,6 @@ export const GenesisState = {
|
|
|
189
157
|
message.tallyParams = (object.tallyParams !== undefined && object.tallyParams !== null)
|
|
190
158
|
? TallyParams.fromPartial(object.tallyParams)
|
|
191
159
|
: undefined;
|
|
192
|
-
message.params = (object.params !== undefined && object.params !== null)
|
|
193
|
-
? Params.fromPartial(object.params)
|
|
194
|
-
: undefined;
|
|
195
160
|
return message;
|
|
196
161
|
},
|
|
197
162
|
};
|