decentralcardgame-cardchain-client-ts 0.0.15 → 0.0.17
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
|
@@ -21,7 +21,6 @@ import { DelegationResponse } from "./types/cosmos/staking/v1beta1/staking"
|
|
|
21
21
|
import { RedelegationEntryResponse } from "./types/cosmos/staking/v1beta1/staking"
|
|
22
22
|
import { RedelegationResponse } from "./types/cosmos/staking/v1beta1/staking"
|
|
23
23
|
import { Pool } from "./types/cosmos/staking/v1beta1/staking"
|
|
24
|
-
import { ValidatorUpdates } from "./types/cosmos/staking/v1beta1/staking"
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
export {
|
|
@@ -48,6 +47,5 @@ export {
|
|
|
48
47
|
RedelegationEntryResponse,
|
|
49
48
|
RedelegationResponse,
|
|
50
49
|
Pool,
|
|
51
|
-
ValidatorUpdates,
|
|
52
50
|
|
|
53
51
|
}
|
|
@@ -32,8 +32,8 @@ export var TypesSignedMsgType;
|
|
|
32
32
|
* BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
|
|
33
33
|
|
|
34
34
|
- BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
|
|
35
|
-
- BROADCAST_MODE_BLOCK:
|
|
36
|
-
|
|
35
|
+
- BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
|
|
36
|
+
the tx to be committed in a block.
|
|
37
37
|
- BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
|
|
38
38
|
a CheckTx execution response only.
|
|
39
39
|
- BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
|
|
@@ -176,70 +176,6 @@ export class HttpClient {
|
|
|
176
176
|
export class Api extends HttpClient {
|
|
177
177
|
constructor() {
|
|
178
178
|
super(...arguments);
|
|
179
|
-
/**
|
|
180
|
-
* @description Since: cosmos-sdk 0.47
|
|
181
|
-
*
|
|
182
|
-
* @tags Service
|
|
183
|
-
* @name ServiceTxDecode
|
|
184
|
-
* @summary TxDecode decodes the transaction.
|
|
185
|
-
* @request POST:/cosmos/tx/v1beta1/decode
|
|
186
|
-
*/
|
|
187
|
-
this.serviceTxDecode = (body, params = {}) => this.request({
|
|
188
|
-
path: `/cosmos/tx/v1beta1/decode`,
|
|
189
|
-
method: "POST",
|
|
190
|
-
body: body,
|
|
191
|
-
type: ContentType.Json,
|
|
192
|
-
format: "json",
|
|
193
|
-
...params,
|
|
194
|
-
});
|
|
195
|
-
/**
|
|
196
|
-
* @description Since: cosmos-sdk 0.47
|
|
197
|
-
*
|
|
198
|
-
* @tags Service
|
|
199
|
-
* @name ServiceTxDecodeAmino
|
|
200
|
-
* @summary TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
|
|
201
|
-
* @request POST:/cosmos/tx/v1beta1/decode/amino
|
|
202
|
-
*/
|
|
203
|
-
this.serviceTxDecodeAmino = (body, params = {}) => this.request({
|
|
204
|
-
path: `/cosmos/tx/v1beta1/decode/amino`,
|
|
205
|
-
method: "POST",
|
|
206
|
-
body: body,
|
|
207
|
-
type: ContentType.Json,
|
|
208
|
-
format: "json",
|
|
209
|
-
...params,
|
|
210
|
-
});
|
|
211
|
-
/**
|
|
212
|
-
* @description Since: cosmos-sdk 0.47
|
|
213
|
-
*
|
|
214
|
-
* @tags Service
|
|
215
|
-
* @name ServiceTxEncode
|
|
216
|
-
* @summary TxEncode encodes the transaction.
|
|
217
|
-
* @request POST:/cosmos/tx/v1beta1/encode
|
|
218
|
-
*/
|
|
219
|
-
this.serviceTxEncode = (body, params = {}) => this.request({
|
|
220
|
-
path: `/cosmos/tx/v1beta1/encode`,
|
|
221
|
-
method: "POST",
|
|
222
|
-
body: body,
|
|
223
|
-
type: ContentType.Json,
|
|
224
|
-
format: "json",
|
|
225
|
-
...params,
|
|
226
|
-
});
|
|
227
|
-
/**
|
|
228
|
-
* @description Since: cosmos-sdk 0.47
|
|
229
|
-
*
|
|
230
|
-
* @tags Service
|
|
231
|
-
* @name ServiceTxEncodeAmino
|
|
232
|
-
* @summary TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
|
|
233
|
-
* @request POST:/cosmos/tx/v1beta1/encode/amino
|
|
234
|
-
*/
|
|
235
|
-
this.serviceTxEncodeAmino = (body, params = {}) => this.request({
|
|
236
|
-
path: `/cosmos/tx/v1beta1/encode/amino`,
|
|
237
|
-
method: "POST",
|
|
238
|
-
body: body,
|
|
239
|
-
type: ContentType.Json,
|
|
240
|
-
format: "json",
|
|
241
|
-
...params,
|
|
242
|
-
});
|
|
243
179
|
/**
|
|
244
180
|
* No description
|
|
245
181
|
*
|
|
@@ -23,7 +23,10 @@ export interface AbciEvent {
|
|
|
23
23
|
* EventAttribute is a single key-value pair, associated with an event.
|
|
24
24
|
*/
|
|
25
25
|
export interface AbciEventAttribute {
|
|
26
|
+
/** @format byte */
|
|
26
27
|
key?: string;
|
|
28
|
+
|
|
29
|
+
/** @format byte */
|
|
27
30
|
value?: string;
|
|
28
31
|
|
|
29
32
|
/** nondeterministic */
|
|
@@ -198,6 +201,14 @@ export interface TenderminttypesData {
|
|
|
198
201
|
txs?: string[];
|
|
199
202
|
}
|
|
200
203
|
|
|
204
|
+
export interface TenderminttypesEvidence {
|
|
205
|
+
/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */
|
|
206
|
+
duplicate_vote_evidence?: TypesDuplicateVoteEvidence;
|
|
207
|
+
|
|
208
|
+
/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */
|
|
209
|
+
light_client_attack_evidence?: TypesLightClientAttackEvidence;
|
|
210
|
+
}
|
|
211
|
+
|
|
201
212
|
export interface TenderminttypesValidator {
|
|
202
213
|
/** @format byte */
|
|
203
214
|
address?: string;
|
|
@@ -288,16 +299,8 @@ export interface TypesDuplicateVoteEvidence {
|
|
|
288
299
|
timestamp?: string;
|
|
289
300
|
}
|
|
290
301
|
|
|
291
|
-
export interface TypesEvidence {
|
|
292
|
-
/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */
|
|
293
|
-
duplicate_vote_evidence?: TypesDuplicateVoteEvidence;
|
|
294
|
-
|
|
295
|
-
/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */
|
|
296
|
-
light_client_attack_evidence?: TypesLightClientAttackEvidence;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
302
|
export interface TypesEvidenceList {
|
|
300
|
-
evidence?:
|
|
303
|
+
evidence?: TenderminttypesEvidence[];
|
|
301
304
|
}
|
|
302
305
|
|
|
303
306
|
/**
|
|
@@ -533,8 +536,8 @@ export interface V1Beta1AuthInfo {
|
|
|
533
536
|
* BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
|
|
534
537
|
|
|
535
538
|
- BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
|
|
536
|
-
- BROADCAST_MODE_BLOCK:
|
|
537
|
-
|
|
539
|
+
- BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
|
|
540
|
+
the tx to be committed in a block.
|
|
538
541
|
- BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
|
|
539
542
|
a CheckTx execution response only.
|
|
540
543
|
- BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
|
|
@@ -562,8 +565,8 @@ export interface V1Beta1BroadcastTxRequest {
|
|
|
562
565
|
* BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
|
|
563
566
|
*
|
|
564
567
|
* - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
|
|
565
|
-
* - BROADCAST_MODE_BLOCK:
|
|
566
|
-
*
|
|
568
|
+
* - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
|
|
569
|
+
* the tx to be committed in a block.
|
|
567
570
|
* - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
|
|
568
571
|
* a CheckTx execution response only.
|
|
569
572
|
* - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
|
|
@@ -1049,98 +1052,6 @@ export interface V1Beta1TxBody {
|
|
|
1049
1052
|
non_critical_extension_options?: ProtobufAny[];
|
|
1050
1053
|
}
|
|
1051
1054
|
|
|
1052
|
-
/**
|
|
1053
|
-
* TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino
|
|
1054
|
-
RPC method.
|
|
1055
|
-
|
|
1056
|
-
Since: cosmos-sdk 0.47
|
|
1057
|
-
*/
|
|
1058
|
-
export interface V1Beta1TxDecodeAminoRequest {
|
|
1059
|
-
/** @format byte */
|
|
1060
|
-
amino_binary?: string;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino
|
|
1065
|
-
RPC method.
|
|
1066
|
-
|
|
1067
|
-
Since: cosmos-sdk 0.47
|
|
1068
|
-
*/
|
|
1069
|
-
export interface V1Beta1TxDecodeAminoResponse {
|
|
1070
|
-
amino_json?: string;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* TxDecodeRequest is the request type for the Service.TxDecode
|
|
1075
|
-
RPC method.
|
|
1076
|
-
|
|
1077
|
-
Since: cosmos-sdk 0.47
|
|
1078
|
-
*/
|
|
1079
|
-
export interface V1Beta1TxDecodeRequest {
|
|
1080
|
-
/**
|
|
1081
|
-
* tx_bytes is the raw transaction.
|
|
1082
|
-
* @format byte
|
|
1083
|
-
*/
|
|
1084
|
-
tx_bytes?: string;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
/**
|
|
1088
|
-
* TxDecodeResponse is the response type for the
|
|
1089
|
-
Service.TxDecode method.
|
|
1090
|
-
|
|
1091
|
-
Since: cosmos-sdk 0.47
|
|
1092
|
-
*/
|
|
1093
|
-
export interface V1Beta1TxDecodeResponse {
|
|
1094
|
-
/** tx is the decoded transaction. */
|
|
1095
|
-
tx?: V1Beta1Tx;
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino
|
|
1100
|
-
RPC method.
|
|
1101
|
-
|
|
1102
|
-
Since: cosmos-sdk 0.47
|
|
1103
|
-
*/
|
|
1104
|
-
export interface V1Beta1TxEncodeAminoRequest {
|
|
1105
|
-
amino_json?: string;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino
|
|
1110
|
-
RPC method.
|
|
1111
|
-
|
|
1112
|
-
Since: cosmos-sdk 0.47
|
|
1113
|
-
*/
|
|
1114
|
-
export interface V1Beta1TxEncodeAminoResponse {
|
|
1115
|
-
/** @format byte */
|
|
1116
|
-
amino_binary?: string;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
/**
|
|
1120
|
-
* TxEncodeRequest is the request type for the Service.TxEncode
|
|
1121
|
-
RPC method.
|
|
1122
|
-
|
|
1123
|
-
Since: cosmos-sdk 0.47
|
|
1124
|
-
*/
|
|
1125
|
-
export interface V1Beta1TxEncodeRequest {
|
|
1126
|
-
/** tx is the transaction to encode. */
|
|
1127
|
-
tx?: V1Beta1Tx;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* TxEncodeResponse is the response type for the
|
|
1132
|
-
Service.TxEncode method.
|
|
1133
|
-
|
|
1134
|
-
Since: cosmos-sdk 0.47
|
|
1135
|
-
*/
|
|
1136
|
-
export interface V1Beta1TxEncodeResponse {
|
|
1137
|
-
/**
|
|
1138
|
-
* tx_bytes is the encoded transaction bytes.
|
|
1139
|
-
* @format byte
|
|
1140
|
-
*/
|
|
1141
|
-
tx_bytes?: string;
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
1055
|
/**
|
|
1145
1056
|
* TxResponse defines a structure containing relevant tx data and metadata. The
|
|
1146
1057
|
tags are stringified and the log is JSON decoded.
|
|
@@ -1350,78 +1261,6 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
1350
1261
|
* @version version not set
|
|
1351
1262
|
*/
|
|
1352
1263
|
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
1353
|
-
/**
|
|
1354
|
-
* @description Since: cosmos-sdk 0.47
|
|
1355
|
-
*
|
|
1356
|
-
* @tags Service
|
|
1357
|
-
* @name ServiceTxDecode
|
|
1358
|
-
* @summary TxDecode decodes the transaction.
|
|
1359
|
-
* @request POST:/cosmos/tx/v1beta1/decode
|
|
1360
|
-
*/
|
|
1361
|
-
serviceTxDecode = (body: V1Beta1TxDecodeRequest, params: RequestParams = {}) =>
|
|
1362
|
-
this.request<V1Beta1TxDecodeResponse, RpcStatus>({
|
|
1363
|
-
path: `/cosmos/tx/v1beta1/decode`,
|
|
1364
|
-
method: "POST",
|
|
1365
|
-
body: body,
|
|
1366
|
-
type: ContentType.Json,
|
|
1367
|
-
format: "json",
|
|
1368
|
-
...params,
|
|
1369
|
-
});
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* @description Since: cosmos-sdk 0.47
|
|
1373
|
-
*
|
|
1374
|
-
* @tags Service
|
|
1375
|
-
* @name ServiceTxDecodeAmino
|
|
1376
|
-
* @summary TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
|
|
1377
|
-
* @request POST:/cosmos/tx/v1beta1/decode/amino
|
|
1378
|
-
*/
|
|
1379
|
-
serviceTxDecodeAmino = (body: V1Beta1TxDecodeAminoRequest, params: RequestParams = {}) =>
|
|
1380
|
-
this.request<V1Beta1TxDecodeAminoResponse, RpcStatus>({
|
|
1381
|
-
path: `/cosmos/tx/v1beta1/decode/amino`,
|
|
1382
|
-
method: "POST",
|
|
1383
|
-
body: body,
|
|
1384
|
-
type: ContentType.Json,
|
|
1385
|
-
format: "json",
|
|
1386
|
-
...params,
|
|
1387
|
-
});
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
* @description Since: cosmos-sdk 0.47
|
|
1391
|
-
*
|
|
1392
|
-
* @tags Service
|
|
1393
|
-
* @name ServiceTxEncode
|
|
1394
|
-
* @summary TxEncode encodes the transaction.
|
|
1395
|
-
* @request POST:/cosmos/tx/v1beta1/encode
|
|
1396
|
-
*/
|
|
1397
|
-
serviceTxEncode = (body: V1Beta1TxEncodeRequest, params: RequestParams = {}) =>
|
|
1398
|
-
this.request<V1Beta1TxEncodeResponse, RpcStatus>({
|
|
1399
|
-
path: `/cosmos/tx/v1beta1/encode`,
|
|
1400
|
-
method: "POST",
|
|
1401
|
-
body: body,
|
|
1402
|
-
type: ContentType.Json,
|
|
1403
|
-
format: "json",
|
|
1404
|
-
...params,
|
|
1405
|
-
});
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* @description Since: cosmos-sdk 0.47
|
|
1409
|
-
*
|
|
1410
|
-
* @tags Service
|
|
1411
|
-
* @name ServiceTxEncodeAmino
|
|
1412
|
-
* @summary TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
|
|
1413
|
-
* @request POST:/cosmos/tx/v1beta1/encode/amino
|
|
1414
|
-
*/
|
|
1415
|
-
serviceTxEncodeAmino = (body: V1Beta1TxEncodeAminoRequest, params: RequestParams = {}) =>
|
|
1416
|
-
this.request<V1Beta1TxEncodeAminoResponse, RpcStatus>({
|
|
1417
|
-
path: `/cosmos/tx/v1beta1/encode/amino`,
|
|
1418
|
-
method: "POST",
|
|
1419
|
-
body: body,
|
|
1420
|
-
type: ContentType.Json,
|
|
1421
|
-
format: "json",
|
|
1422
|
-
...params,
|
|
1423
|
-
});
|
|
1424
|
-
|
|
1425
1264
|
/**
|
|
1426
1265
|
* No description
|
|
1427
1266
|
*
|