decentralcardgame-cardchain-client-ts 0.0.36 → 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 +22 -22
  37. package/index.js +7 -7
  38. package/package.json +1 -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,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -37,7 +38,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
37
38
  }
38
39
  try {
39
40
  const { address } = (await signer.getAccounts())[0];
40
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
41
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
41
42
  let msg = this.msgConnectionOpenInit({ value: MsgConnectionOpenInit.fromPartial(value) });
42
43
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
43
44
  }
@@ -51,7 +52,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
51
52
  }
52
53
  try {
53
54
  const { address } = (await signer.getAccounts())[0];
54
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
55
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
55
56
  let msg = this.msgConnectionOpenTry({ value: MsgConnectionOpenTry.fromPartial(value) });
56
57
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
57
58
  }
@@ -65,7 +66,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
65
66
  }
66
67
  try {
67
68
  const { address } = (await signer.getAccounts())[0];
68
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
69
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
69
70
  let msg = this.msgConnectionOpenAck({ value: MsgConnectionOpenAck.fromPartial(value) });
70
71
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
71
72
  }
@@ -79,7 +80,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
79
80
  }
80
81
  try {
81
82
  const { address } = (await signer.getAccounts())[0];
82
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
83
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
83
84
  let msg = this.msgConnectionOpenConfirm({ value: MsgConnectionOpenConfirm.fromPartial(value) });
84
85
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
85
86
  }
@@ -93,7 +94,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
93
94
  }
94
95
  try {
95
96
  const { address } = (await signer.getAccounts())[0];
96
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
97
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
97
98
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
98
99
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
99
100
  }
package/index.d.ts CHANGED
@@ -153,6 +153,14 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
153
153
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
154
154
  updateTX(client: IgniteClient): void;
155
155
  };
156
+ } & {
157
+ CosmosFeegrantV_1Beta_1: {
158
+ query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
159
+ tx: ReturnType<typeof import("./cosmos.feegrant.v1beta1").txClient>;
160
+ structure: Record<string, unknown>;
161
+ registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
162
+ updateTX(client: IgniteClient): void;
163
+ };
156
164
  } & {
157
165
  CosmosNftV_1Beta_1: {
158
166
  query: ReturnType<typeof import("./cosmos.nft.v1beta1").queryClient>;
@@ -161,6 +169,14 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
161
169
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
162
170
  updateTX(client: IgniteClient): void;
163
171
  };
172
+ } & {
173
+ CosmosCircuitV_1: {
174
+ query: ReturnType<typeof import("./cosmos.circuit.v1").queryClient>;
175
+ tx: ReturnType<typeof import("./cosmos.circuit.v1").txClient>;
176
+ structure: Record<string, unknown>;
177
+ registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
178
+ updateTX(client: IgniteClient): void;
179
+ };
164
180
  } & {
165
181
  IbcApplicationsFeeV_1: {
166
182
  query: ReturnType<typeof import("./ibc.applications.fee.v1").queryClient>;
@@ -218,33 +234,17 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
218
234
  updateTX(client: IgniteClient): void;
219
235
  };
220
236
  } & {
221
- CosmosEvidenceV_1Beta_1: {
222
- query: ReturnType<typeof import("./cosmos.evidence.v1beta1").queryClient>;
223
- tx: ReturnType<typeof import("./cosmos.evidence.v1beta1").txClient>;
224
- structure: Record<string, unknown>;
225
- registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
226
- updateTX(client: IgniteClient): void;
227
- };
228
- } & {
229
- CosmosCircuitV_1: {
230
- query: ReturnType<typeof import("./cosmos.circuit.v1").queryClient>;
231
- tx: ReturnType<typeof import("./cosmos.circuit.v1").txClient>;
232
- structure: Record<string, unknown>;
233
- registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
234
- updateTX(client: IgniteClient): void;
235
- };
236
- } & {
237
- CosmosFeegrantV_1Beta_1: {
238
- query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
239
- tx: ReturnType<typeof import("./cosmos.feegrant.v1beta1").txClient>;
237
+ CosmosUpgradeV_1Beta_1: {
238
+ query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
239
+ tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").txClient>;
240
240
  structure: Record<string, unknown>;
241
241
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
242
242
  updateTX(client: IgniteClient): void;
243
243
  };
244
244
  } & {
245
- CosmosUpgradeV_1Beta_1: {
246
- query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
247
- tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").txClient>;
245
+ CosmosEvidenceV_1Beta_1: {
246
+ query: ReturnType<typeof import("./cosmos.evidence.v1beta1").queryClient>;
247
+ tx: ReturnType<typeof import("./cosmos.evidence.v1beta1").txClient>;
248
248
  structure: Record<string, unknown>;
249
249
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
250
250
  updateTX(client: IgniteClient): void;
package/index.js CHANGED
@@ -21,7 +21,9 @@ import { IgntModule as CosmosSlashingV_1Beta_1, msgTypes as CosmosSlashingV_1Bet
21
21
  import { IgntModule as CosmosStakingV_1Beta_1, msgTypes as CosmosStakingV_1Beta_1MsgTypes } from './cosmos.staking.v1beta1';
22
22
  import { IgntModule as CosmosTxV_1Beta_1, msgTypes as CosmosTxV_1Beta_1MsgTypes } from './cosmos.tx.v1beta1';
23
23
  import { IgntModule as CosmosVestingV_1Beta_1, msgTypes as CosmosVestingV_1Beta_1MsgTypes } from './cosmos.vesting.v1beta1';
24
+ import { IgntModule as CosmosFeegrantV_1Beta_1, msgTypes as CosmosFeegrantV_1Beta_1MsgTypes } from './cosmos.feegrant.v1beta1';
24
25
  import { IgntModule as CosmosNftV_1Beta_1, msgTypes as CosmosNftV_1Beta_1MsgTypes } from './cosmos.nft.v1beta1';
26
+ import { IgntModule as CosmosCircuitV_1, msgTypes as CosmosCircuitV_1MsgTypes } from './cosmos.circuit.v1';
25
27
  import { IgntModule as IbcApplicationsFeeV_1, msgTypes as IbcApplicationsFeeV_1MsgTypes } from './ibc.applications.fee.v1';
26
28
  import { IgntModule as IbcApplicationsInterchainAccountsControllerV_1, msgTypes as IbcApplicationsInterchainAccountsControllerV_1MsgTypes } from './ibc.applications.interchain_accounts.controller.v1';
27
29
  import { IgntModule as IbcApplicationsInterchainAccountsHostV_1, msgTypes as IbcApplicationsInterchainAccountsHostV_1MsgTypes } from './ibc.applications.interchain_accounts.host.v1';
@@ -29,12 +31,10 @@ import { IgntModule as IbcApplicationsTransferV_1, msgTypes as IbcApplicationsTr
29
31
  import { IgntModule as IbcCoreChannelV_1, msgTypes as IbcCoreChannelV_1MsgTypes } from './ibc.core.channel.v1';
30
32
  import { IgntModule as IbcCoreClientV_1, msgTypes as IbcCoreClientV_1MsgTypes } from './ibc.core.client.v1';
31
33
  import { IgntModule as IbcCoreConnectionV_1, msgTypes as IbcCoreConnectionV_1MsgTypes } from './ibc.core.connection.v1';
32
- import { IgntModule as CosmosEvidenceV_1Beta_1, msgTypes as CosmosEvidenceV_1Beta_1MsgTypes } from './cosmos.evidence.v1beta1';
33
- import { IgntModule as CosmosCircuitV_1, msgTypes as CosmosCircuitV_1MsgTypes } from './cosmos.circuit.v1';
34
- import { IgntModule as CosmosFeegrantV_1Beta_1, msgTypes as CosmosFeegrantV_1Beta_1MsgTypes } from './cosmos.feegrant.v1beta1';
35
34
  import { IgntModule as CosmosUpgradeV_1Beta_1, msgTypes as CosmosUpgradeV_1Beta_1MsgTypes } from './cosmos.upgrade.v1beta1';
35
+ import { IgntModule as CosmosEvidenceV_1Beta_1, msgTypes as CosmosEvidenceV_1Beta_1MsgTypes } from './cosmos.evidence.v1beta1';
36
36
  const Client = IgniteClient.plugin([
37
- CardchainCardchain, CardchainFeatureflag, CosmosAuthV_1Beta_1, CosmosAuthzV_1Beta_1, CosmosBankV_1Beta_1, CosmosBaseNodeV_1Beta_1, CosmosBaseTendermintV_1Beta_1, CosmosConsensusV_1, CosmosCrisisV_1Beta_1, CosmosDistributionV_1Beta_1, CosmosGovV_1, CosmosGovV_1Beta_1, CosmosGroupV_1, CosmosMintV_1Beta_1, CosmosParamsV_1Beta_1, CosmosSlashingV_1Beta_1, CosmosStakingV_1Beta_1, CosmosTxV_1Beta_1, CosmosVestingV_1Beta_1, CosmosNftV_1Beta_1, IbcApplicationsFeeV_1, IbcApplicationsInterchainAccountsControllerV_1, IbcApplicationsInterchainAccountsHostV_1, IbcApplicationsTransferV_1, IbcCoreChannelV_1, IbcCoreClientV_1, IbcCoreConnectionV_1, CosmosEvidenceV_1Beta_1, CosmosCircuitV_1, CosmosFeegrantV_1Beta_1, CosmosUpgradeV_1Beta_1
37
+ CardchainCardchain, CardchainFeatureflag, CosmosAuthV_1Beta_1, CosmosAuthzV_1Beta_1, CosmosBankV_1Beta_1, CosmosBaseNodeV_1Beta_1, CosmosBaseTendermintV_1Beta_1, CosmosConsensusV_1, CosmosCrisisV_1Beta_1, CosmosDistributionV_1Beta_1, CosmosGovV_1, CosmosGovV_1Beta_1, CosmosGroupV_1, CosmosMintV_1Beta_1, CosmosParamsV_1Beta_1, CosmosSlashingV_1Beta_1, CosmosStakingV_1Beta_1, CosmosTxV_1Beta_1, CosmosVestingV_1Beta_1, CosmosFeegrantV_1Beta_1, CosmosNftV_1Beta_1, CosmosCircuitV_1, IbcApplicationsFeeV_1, IbcApplicationsInterchainAccountsControllerV_1, IbcApplicationsInterchainAccountsHostV_1, IbcApplicationsTransferV_1, IbcCoreChannelV_1, IbcCoreClientV_1, IbcCoreConnectionV_1, CosmosUpgradeV_1Beta_1, CosmosEvidenceV_1Beta_1
38
38
  ]);
39
39
  const registry = new Registry([
40
40
  ...CardchainCardchainMsgTypes,
@@ -56,7 +56,9 @@ const registry = new Registry([
56
56
  ...CosmosStakingV_1Beta_1MsgTypes,
57
57
  ...CosmosTxV_1Beta_1MsgTypes,
58
58
  ...CosmosVestingV_1Beta_1MsgTypes,
59
+ ...CosmosFeegrantV_1Beta_1MsgTypes,
59
60
  ...CosmosNftV_1Beta_1MsgTypes,
61
+ ...CosmosCircuitV_1MsgTypes,
60
62
  ...IbcApplicationsFeeV_1MsgTypes,
61
63
  ...IbcApplicationsInterchainAccountsControllerV_1MsgTypes,
62
64
  ...IbcApplicationsInterchainAccountsHostV_1MsgTypes,
@@ -64,9 +66,7 @@ const registry = new Registry([
64
66
  ...IbcCoreChannelV_1MsgTypes,
65
67
  ...IbcCoreClientV_1MsgTypes,
66
68
  ...IbcCoreConnectionV_1MsgTypes,
67
- ...CosmosEvidenceV_1Beta_1MsgTypes,
68
- ...CosmosCircuitV_1MsgTypes,
69
- ...CosmosFeegrantV_1Beta_1MsgTypes,
70
69
  ...CosmosUpgradeV_1Beta_1MsgTypes,
70
+ ...CosmosEvidenceV_1Beta_1MsgTypes,
71
71
  ]);
72
72
  export { Client, registry, MissingWalletError };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decentralcardgame-cardchain-client-ts",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "Autogenerated Typescript Client for crowdcontrol cardchain",
5
5
  "author": "Lxgr <lxgr@protonmail.com>",
6
6
  "license": "Apache-2.0",
@@ -33,10 +33,16 @@ export interface Module {
33
33
  * to be used in keeper construction.
34
34
  */
35
35
  overrideStoreKeys: StoreKeyConfig[];
36
+ /**
37
+ * skip_store_keys is an optional list of store keys to skip when constructing the
38
+ * module's keeper. This is useful when a module does not have a store key.
39
+ * NOTE: the provided environment variable will have a fake store service.
40
+ */
41
+ skipStoreKeys: string[];
36
42
  /**
37
43
  * order_migrations defines the order in which module migrations are performed.
38
44
  * If this is left empty, it uses the default migration order.
39
- * https://pkg.go.dev/github.com/cosmos/cosmos-sdk@v0.47.0-alpha2/types/module#DefaultMigrationsOrder
45
+ * https://pkg.go.dev/github.com/cosmos/cosmos-sdk/types/module#DefaultMigrationsOrder
40
46
  */
41
47
  orderMigrations: string[];
42
48
  /**
@@ -51,6 +57,12 @@ export interface Module {
51
57
  * no preparecheckstate function will be registered.
52
58
  */
53
59
  prepareCheckStaters: string[];
60
+ /**
61
+ * pre_blockers specifies the module names of pre blockers
62
+ * to call in the order in which they should be called. If this is left empty
63
+ * no pre blocker will be registered.
64
+ */
65
+ preBlockers: string[];
54
66
  }
55
67
  /**
56
68
  * StoreKeyConfig may be supplied to override the default module store key, which
@@ -14,9 +14,11 @@ function createBaseModule() {
14
14
  initGenesis: [],
15
15
  exportGenesis: [],
16
16
  overrideStoreKeys: [],
17
+ skipStoreKeys: [],
17
18
  orderMigrations: [],
18
19
  precommiters: [],
19
20
  prepareCheckStaters: [],
21
+ preBlockers: [],
20
22
  };
21
23
  }
22
24
  export const Module = {
@@ -39,6 +41,9 @@ export const Module = {
39
41
  for (const v of message.overrideStoreKeys) {
40
42
  StoreKeyConfig.encode(v, writer.uint32(50).fork()).join();
41
43
  }
44
+ for (const v of message.skipStoreKeys) {
45
+ writer.uint32(90).string(v);
46
+ }
42
47
  for (const v of message.orderMigrations) {
43
48
  writer.uint32(58).string(v);
44
49
  }
@@ -48,6 +53,9 @@ export const Module = {
48
53
  for (const v of message.prepareCheckStaters) {
49
54
  writer.uint32(74).string(v);
50
55
  }
56
+ for (const v of message.preBlockers) {
57
+ writer.uint32(82).string(v);
58
+ }
51
59
  return writer;
52
60
  },
53
61
  decode(input, length) {
@@ -99,6 +107,13 @@ export const Module = {
99
107
  message.overrideStoreKeys.push(StoreKeyConfig.decode(reader, reader.uint32()));
100
108
  continue;
101
109
  }
110
+ case 11: {
111
+ if (tag !== 90) {
112
+ break;
113
+ }
114
+ message.skipStoreKeys.push(reader.string());
115
+ continue;
116
+ }
102
117
  case 7: {
103
118
  if (tag !== 58) {
104
119
  break;
@@ -120,6 +135,13 @@ export const Module = {
120
135
  message.prepareCheckStaters.push(reader.string());
121
136
  continue;
122
137
  }
138
+ case 10: {
139
+ if (tag !== 82) {
140
+ break;
141
+ }
142
+ message.preBlockers.push(reader.string());
143
+ continue;
144
+ }
123
145
  }
124
146
  if ((tag & 7) === 4 || tag === 0) {
125
147
  break;
@@ -146,6 +168,9 @@ export const Module = {
146
168
  overrideStoreKeys: globalThis.Array.isArray(object?.overrideStoreKeys)
147
169
  ? object.overrideStoreKeys.map((e) => StoreKeyConfig.fromJSON(e))
148
170
  : [],
171
+ skipStoreKeys: globalThis.Array.isArray(object?.skipStoreKeys)
172
+ ? object.skipStoreKeys.map((e) => globalThis.String(e))
173
+ : [],
149
174
  orderMigrations: globalThis.Array.isArray(object?.orderMigrations)
150
175
  ? object.orderMigrations.map((e) => globalThis.String(e))
151
176
  : [],
@@ -155,6 +180,9 @@ export const Module = {
155
180
  prepareCheckStaters: globalThis.Array.isArray(object?.prepareCheckStaters)
156
181
  ? object.prepareCheckStaters.map((e) => globalThis.String(e))
157
182
  : [],
183
+ preBlockers: globalThis.Array.isArray(object?.preBlockers)
184
+ ? object.preBlockers.map((e) => globalThis.String(e))
185
+ : [],
158
186
  };
159
187
  },
160
188
  toJSON(message) {
@@ -177,6 +205,9 @@ export const Module = {
177
205
  if (message.overrideStoreKeys?.length) {
178
206
  obj.overrideStoreKeys = message.overrideStoreKeys.map((e) => StoreKeyConfig.toJSON(e));
179
207
  }
208
+ if (message.skipStoreKeys?.length) {
209
+ obj.skipStoreKeys = message.skipStoreKeys;
210
+ }
180
211
  if (message.orderMigrations?.length) {
181
212
  obj.orderMigrations = message.orderMigrations;
182
213
  }
@@ -186,6 +217,9 @@ export const Module = {
186
217
  if (message.prepareCheckStaters?.length) {
187
218
  obj.prepareCheckStaters = message.prepareCheckStaters;
188
219
  }
220
+ if (message.preBlockers?.length) {
221
+ obj.preBlockers = message.preBlockers;
222
+ }
189
223
  return obj;
190
224
  },
191
225
  create(base) {
@@ -199,9 +233,11 @@ export const Module = {
199
233
  message.initGenesis = object.initGenesis?.map((e) => e) || [];
200
234
  message.exportGenesis = object.exportGenesis?.map((e) => e) || [];
201
235
  message.overrideStoreKeys = object.overrideStoreKeys?.map((e) => StoreKeyConfig.fromPartial(e)) || [];
236
+ message.skipStoreKeys = object.skipStoreKeys?.map((e) => e) || [];
202
237
  message.orderMigrations = object.orderMigrations?.map((e) => e) || [];
203
238
  message.precommiters = object.precommiters?.map((e) => e) || [];
204
239
  message.prepareCheckStaters = object.prepareCheckStaters?.map((e) => e) || [];
240
+ message.preBlockers = object.preBlockers?.map((e) => e) || [];
205
241
  return message;
206
242
  },
207
243
  };
@@ -4,7 +4,7 @@ export declare const protobufPackage = "cosmos.app.v1alpha1";
4
4
  /** QueryConfigRequest is the Query/Config request type. */
5
5
  export interface QueryConfigRequest {
6
6
  }
7
- /** QueryConfigRequest is the Query/Config response type. */
7
+ /** QueryConfigResponse is the Query/Config response type. */
8
8
  export interface QueryConfigResponse {
9
9
  /** config is the current app config. */
10
10
  config: Config | undefined;
@@ -13,7 +13,11 @@ export declare const QueryConfigRequest: MessageFns<QueryConfigRequest>;
13
13
  export declare const QueryConfigResponse: MessageFns<QueryConfigResponse>;
14
14
  /** Query is the app module query service. */
15
15
  export interface Query {
16
- /** Config returns the current app config. */
16
+ /**
17
+ * Config returns the current app config.
18
+ *
19
+ * @deprecated
20
+ */
17
21
  Config(request: QueryConfigRequest): Promise<QueryConfigResponse>;
18
22
  }
19
23
  export declare const QueryServiceName = "cosmos.app.v1alpha1.Query";
@@ -8,6 +8,12 @@ export interface Module {
8
8
  moduleAccountPermissions: ModuleAccountPermission[];
9
9
  /** authority defines the custom module authority. If not set, defaults to the governance module. */
10
10
  authority: string;
11
+ /**
12
+ * enable_unordered_transactions determines whether unordered transactions should be supported or not.
13
+ * When true, unordered transactions will be validated and processed.
14
+ * When false, unordered transactions will be rejected.
15
+ */
16
+ enableUnorderedTransactions: boolean;
11
17
  }
12
18
  /** ModuleAccountPermission represents permissions for a module account. */
13
19
  export interface ModuleAccountPermission {
@@ -7,7 +7,7 @@
7
7
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
8
  export const protobufPackage = "cosmos.auth.module.v1";
9
9
  function createBaseModule() {
10
- return { bech32Prefix: "", moduleAccountPermissions: [], authority: "" };
10
+ return { bech32Prefix: "", moduleAccountPermissions: [], authority: "", enableUnorderedTransactions: false };
11
11
  }
12
12
  export const Module = {
13
13
  encode(message, writer = new BinaryWriter()) {
@@ -20,6 +20,9 @@ export const Module = {
20
20
  if (message.authority !== "") {
21
21
  writer.uint32(26).string(message.authority);
22
22
  }
23
+ if (message.enableUnorderedTransactions !== false) {
24
+ writer.uint32(32).bool(message.enableUnorderedTransactions);
25
+ }
23
26
  return writer;
24
27
  },
25
28
  decode(input, length) {
@@ -50,6 +53,13 @@ export const Module = {
50
53
  message.authority = reader.string();
51
54
  continue;
52
55
  }
56
+ case 4: {
57
+ if (tag !== 32) {
58
+ break;
59
+ }
60
+ message.enableUnorderedTransactions = reader.bool();
61
+ continue;
62
+ }
53
63
  }
54
64
  if ((tag & 7) === 4 || tag === 0) {
55
65
  break;
@@ -65,6 +75,9 @@ export const Module = {
65
75
  ? object.moduleAccountPermissions.map((e) => ModuleAccountPermission.fromJSON(e))
66
76
  : [],
67
77
  authority: isSet(object.authority) ? globalThis.String(object.authority) : "",
78
+ enableUnorderedTransactions: isSet(object.enableUnorderedTransactions)
79
+ ? globalThis.Boolean(object.enableUnorderedTransactions)
80
+ : false,
68
81
  };
69
82
  },
70
83
  toJSON(message) {
@@ -78,6 +91,9 @@ export const Module = {
78
91
  if (message.authority !== "") {
79
92
  obj.authority = message.authority;
80
93
  }
94
+ if (message.enableUnorderedTransactions !== false) {
95
+ obj.enableUnorderedTransactions = message.enableUnorderedTransactions;
96
+ }
81
97
  return obj;
82
98
  },
83
99
  create(base) {
@@ -89,6 +105,7 @@ export const Module = {
89
105
  message.moduleAccountPermissions =
90
106
  object.moduleAccountPermissions?.map((e) => ModuleAccountPermission.fromPartial(e)) || [];
91
107
  message.authority = object.authority ?? "";
108
+ message.enableUnorderedTransactions = object.enableUnorderedTransactions ?? false;
92
109
  return message;
93
110
  },
94
111
  };
@@ -3,20 +3,12 @@ import { Any } from "../../../google/protobuf/any";
3
3
  import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
4
4
  import { BaseAccount, Params } from "./auth";
5
5
  export declare const protobufPackage = "cosmos.auth.v1beta1";
6
- /**
7
- * QueryAccountsRequest is the request type for the Query/Accounts RPC method.
8
- *
9
- * Since: cosmos-sdk 0.43
10
- */
6
+ /** QueryAccountsRequest is the request type for the Query/Accounts RPC method. */
11
7
  export interface QueryAccountsRequest {
12
8
  /** pagination defines an optional pagination for the request. */
13
9
  pagination: PageRequest | undefined;
14
10
  }
15
- /**
16
- * QueryAccountsResponse is the response type for the Query/Accounts RPC method.
17
- *
18
- * Since: cosmos-sdk 0.43
19
- */
11
+ /** QueryAccountsResponse is the response type for the Query/Accounts RPC method. */
20
12
  export interface QueryAccountsResponse {
21
13
  /** accounts are the existing accounts */
22
14
  accounts: Any[];
@@ -41,18 +33,10 @@ export interface QueryParamsResponse {
41
33
  /** params defines the parameters of the module. */
42
34
  params: Params | undefined;
43
35
  }
44
- /**
45
- * QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method.
46
- *
47
- * Since: cosmos-sdk 0.46
48
- */
36
+ /** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */
49
37
  export interface QueryModuleAccountsRequest {
50
38
  }
51
- /**
52
- * QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.
53
- *
54
- * Since: cosmos-sdk 0.46
55
- */
39
+ /** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */
56
40
  export interface QueryModuleAccountsResponse {
57
41
  accounts: Any[];
58
42
  }
@@ -64,58 +48,30 @@ export interface QueryModuleAccountByNameRequest {
64
48
  export interface QueryModuleAccountByNameResponse {
65
49
  account: Any | undefined;
66
50
  }
67
- /**
68
- * Bech32PrefixRequest is the request type for Bech32Prefix rpc method.
69
- *
70
- * Since: cosmos-sdk 0.46
71
- */
51
+ /** Bech32PrefixRequest is the request type for Bech32Prefix rpc method. */
72
52
  export interface Bech32PrefixRequest {
73
53
  }
74
- /**
75
- * Bech32PrefixResponse is the response type for Bech32Prefix rpc method.
76
- *
77
- * Since: cosmos-sdk 0.46
78
- */
54
+ /** Bech32PrefixResponse is the response type for Bech32Prefix rpc method. */
79
55
  export interface Bech32PrefixResponse {
80
56
  bech32Prefix: string;
81
57
  }
82
- /**
83
- * AddressBytesToStringRequest is the request type for AddressString rpc method.
84
- *
85
- * Since: cosmos-sdk 0.46
86
- */
58
+ /** AddressBytesToStringRequest is the request type for AddressString rpc method. */
87
59
  export interface AddressBytesToStringRequest {
88
60
  addressBytes: Uint8Array;
89
61
  }
90
- /**
91
- * AddressBytesToStringResponse is the response type for AddressString rpc method.
92
- *
93
- * Since: cosmos-sdk 0.46
94
- */
62
+ /** AddressBytesToStringResponse is the response type for AddressString rpc method. */
95
63
  export interface AddressBytesToStringResponse {
96
64
  addressString: string;
97
65
  }
98
- /**
99
- * AddressStringToBytesRequest is the request type for AccountBytes rpc method.
100
- *
101
- * Since: cosmos-sdk 0.46
102
- */
66
+ /** AddressStringToBytesRequest is the request type for AccountBytes rpc method. */
103
67
  export interface AddressStringToBytesRequest {
104
68
  addressString: string;
105
69
  }
106
- /**
107
- * AddressStringToBytesResponse is the response type for AddressBytes rpc method.
108
- *
109
- * Since: cosmos-sdk 0.46
110
- */
70
+ /** AddressStringToBytesResponse is the response type for AddressBytes rpc method. */
111
71
  export interface AddressStringToBytesResponse {
112
72
  addressBytes: Uint8Array;
113
73
  }
114
- /**
115
- * QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method
116
- *
117
- * Since: cosmos-sdk 0.46.2
118
- */
74
+ /** QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method */
119
75
  export interface QueryAccountAddressByIDRequest {
120
76
  /**
121
77
  * Deprecated, use account_id instead
@@ -127,35 +83,19 @@ export interface QueryAccountAddressByIDRequest {
127
83
  * @deprecated
128
84
  */
129
85
  id: number;
130
- /**
131
- * account_id is the account number of the address to be queried.
132
- *
133
- * Since: cosmos-sdk 0.47
134
- */
86
+ /** account_id is the account number of the address to be queried. */
135
87
  accountId: number;
136
88
  }
137
- /**
138
- * QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method
139
- *
140
- * Since: cosmos-sdk 0.46.2
141
- */
89
+ /** QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method */
142
90
  export interface QueryAccountAddressByIDResponse {
143
91
  accountAddress: string;
144
92
  }
145
- /**
146
- * QueryAccountInfoRequest is the Query/AccountInfo request type.
147
- *
148
- * Since: cosmos-sdk 0.47
149
- */
93
+ /** QueryAccountInfoRequest is the Query/AccountInfo request type. */
150
94
  export interface QueryAccountInfoRequest {
151
95
  /** address is the account address string. */
152
96
  address: string;
153
97
  }
154
- /**
155
- * QueryAccountInfoResponse is the Query/AccountInfo response type.
156
- *
157
- * Since: cosmos-sdk 0.47
158
- */
98
+ /** QueryAccountInfoResponse is the Query/AccountInfo response type. */
159
99
  export interface QueryAccountInfoResponse {
160
100
  /** info is the account info which is represented by BaseAccount. */
161
101
  info: BaseAccount | undefined;
@@ -187,51 +127,25 @@ export interface Query {
187
127
  *
188
128
  * When called from another module, this query might consume a high amount of
189
129
  * gas if the pagination field is incorrectly set.
190
- *
191
- * Since: cosmos-sdk 0.43
192
130
  */
193
131
  Accounts(request: QueryAccountsRequest): Promise<QueryAccountsResponse>;
194
132
  /** Account returns account details based on address. */
195
133
  Account(request: QueryAccountRequest): Promise<QueryAccountResponse>;
196
- /**
197
- * AccountAddressByID returns account address based on account number.
198
- *
199
- * Since: cosmos-sdk 0.46.2
200
- */
134
+ /** AccountAddressByID returns account address based on account number. */
201
135
  AccountAddressByID(request: QueryAccountAddressByIDRequest): Promise<QueryAccountAddressByIDResponse>;
202
136
  /** Params queries all parameters. */
203
137
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
204
- /**
205
- * ModuleAccounts returns all the existing module accounts.
206
- *
207
- * Since: cosmos-sdk 0.46
208
- */
138
+ /** ModuleAccounts returns all the existing module accounts. */
209
139
  ModuleAccounts(request: QueryModuleAccountsRequest): Promise<QueryModuleAccountsResponse>;
210
140
  /** ModuleAccountByName returns the module account info by module name */
211
141
  ModuleAccountByName(request: QueryModuleAccountByNameRequest): Promise<QueryModuleAccountByNameResponse>;
212
- /**
213
- * Bech32Prefix queries bech32Prefix
214
- *
215
- * Since: cosmos-sdk 0.46
216
- */
142
+ /** Bech32Prefix queries bech32Prefix */
217
143
  Bech32Prefix(request: Bech32PrefixRequest): Promise<Bech32PrefixResponse>;
218
- /**
219
- * AddressBytesToString converts Account Address bytes to string
220
- *
221
- * Since: cosmos-sdk 0.46
222
- */
144
+ /** AddressBytesToString converts Account Address bytes to string */
223
145
  AddressBytesToString(request: AddressBytesToStringRequest): Promise<AddressBytesToStringResponse>;
224
- /**
225
- * AddressStringToBytes converts Address string to bytes
226
- *
227
- * Since: cosmos-sdk 0.46
228
- */
146
+ /** AddressStringToBytes converts Address string to bytes */
229
147
  AddressStringToBytes(request: AddressStringToBytesRequest): Promise<AddressStringToBytesResponse>;
230
- /**
231
- * AccountInfo queries account info which is common to all account types.
232
- *
233
- * Since: cosmos-sdk 0.47
234
- */
148
+ /** AccountInfo queries account info which is common to all account types. */
235
149
  AccountInfo(request: QueryAccountInfoRequest): Promise<QueryAccountInfoResponse>;
236
150
  }
237
151
  export declare const QueryServiceName = "cosmos.auth.v1beta1.Query";
@@ -1,11 +1,7 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Params } from "./auth";
3
3
  export declare const protobufPackage = "cosmos.auth.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/auth module
33
27
  * parameters. The authority 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
  }
@@ -1,7 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Any } from "../../../google/protobuf/any";
3
3
  export declare const protobufPackage = "cosmos.authz.v1beta1";
4
- /** Since: cosmos-sdk 0.43 */
5
4
  /**
6
5
  * GenericAuthorization gives the grantee unrestricted permissions to execute
7
6
  * the provided method on behalf of the granter's account.
@@ -1,6 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  export declare const protobufPackage = "cosmos.authz.v1beta1";
3
- /** Since: cosmos-sdk 0.43 */
4
3
  /** EventGrant is emitted on Msg/Grant */
5
4
  export interface EventGrant {
6
5
  /** Msg type URL for which an autorization is granted */