decentralcardgame-cardchain-client-ts 0.0.36 → 0.0.38

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 +1 -1
  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 +20 -20
  37. package/index.js +9 -9
  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,7 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { GrantAuthorization } from "./authz";
3
3
  export declare const protobufPackage = "cosmos.authz.v1beta1";
4
- /** Since: cosmos-sdk 0.43 */
5
4
  /** GenesisState defines the authz module's genesis state. */
6
5
  export interface GenesisState {
7
6
  authorization: GrantAuthorization[];
@@ -2,7 +2,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
3
3
  import { Grant, GrantAuthorization } from "./authz";
4
4
  export declare const protobufPackage = "cosmos.authz.v1beta1";
5
- /** Since: cosmos-sdk 0.43 */
6
5
  /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */
7
6
  export interface QueryGrantsRequest {
8
7
  granter: string;
@@ -55,17 +54,9 @@ export declare const QueryGranteeGrantsResponse: MessageFns<QueryGranteeGrantsRe
55
54
  export interface Query {
56
55
  /** Returns list of `Authorization`, granted to the grantee by the granter. */
57
56
  Grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
58
- /**
59
- * GranterGrants returns list of `GrantAuthorization`, granted by granter.
60
- *
61
- * Since: cosmos-sdk 0.46
62
- */
57
+ /** GranterGrants returns list of `GrantAuthorization`, granted by granter. */
63
58
  GranterGrants(request: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponse>;
64
- /**
65
- * GranteeGrants returns a list of `GrantAuthorization` by grantee.
66
- *
67
- * Since: cosmos-sdk 0.46
68
- */
59
+ /** GranteeGrants returns a list of `GrantAuthorization` by grantee. */
69
60
  GranteeGrants(request: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponse>;
70
61
  }
71
62
  export declare const QueryServiceName = "cosmos.authz.v1beta1.Query";
@@ -2,7 +2,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Any } from "../../../google/protobuf/any";
3
3
  import { Grant } from "./authz";
4
4
  export declare const protobufPackage = "cosmos.authz.v1beta1";
5
- /** Since: cosmos-sdk 0.43 */
6
5
  /**
7
6
  * MsgGrant is a request type for Grant method. It declares authorization to the grantee
8
7
  * on behalf of the granter with the provided expiration time.
@@ -29,6 +29,14 @@ export interface ServiceCommandDescriptor {
29
29
  subCommands: {
30
30
  [key: string]: ServiceCommandDescriptor;
31
31
  };
32
+ /**
33
+ * enhance_custom_commands specifies whether to skip the service when generating commands, if a custom command already
34
+ * exists, or enhance the existing command. If set to true, the custom command will be enhanced with the services from
35
+ * gRPC. otherwise when a custom command exists, no commands will be generated for the service.
36
+ */
37
+ enhanceCustomCommand: boolean;
38
+ /** short is an optional parameter used to override the short description of the auto generated command. */
39
+ short: string;
32
40
  }
33
41
  export interface ServiceCommandDescriptor_SubCommandsEntry {
34
42
  key: string;
@@ -86,6 +94,13 @@ export interface RpcCommandOptions {
86
94
  positionalArgs: PositionalArgDescriptor[];
87
95
  /** skip specifies whether to skip this rpc method when generating commands. */
88
96
  skip: boolean;
97
+ /**
98
+ * gov_proposal specifies whether autocli should generate a gov proposal transaction for this rpc method.
99
+ * Normally autocli generates a transaction containing the message and broadcast it.
100
+ * However, when true, autocli generates a proposal transaction containing the message and broadcast it.
101
+ * This option is ineffective for query commands.
102
+ */
103
+ govProposal: boolean;
89
104
  }
90
105
  export interface RpcCommandOptions_FlagOptionsEntry {
91
106
  key: string;
@@ -123,9 +138,14 @@ export interface PositionalArgDescriptor {
123
138
  /**
124
139
  * varargs makes a positional parameter a varargs parameter. This can only be
125
140
  * applied to last positional parameter and the proto_field must a repeated
126
- * field.
141
+ * field. Note: It is mutually exclusive with optional.
127
142
  */
128
143
  varargs: boolean;
144
+ /**
145
+ * optional makes the last positional parameter optional.
146
+ * Note: It is mutually exclusive with varargs.
147
+ */
148
+ optional: boolean;
129
149
  }
130
150
  export declare const ModuleOptions: MessageFns<ModuleOptions>;
131
151
  export declare const ServiceCommandDescriptor: MessageFns<ServiceCommandDescriptor>;
@@ -79,7 +79,7 @@ export const ModuleOptions = {
79
79
  },
80
80
  };
81
81
  function createBaseServiceCommandDescriptor() {
82
- return { service: "", rpcCommandOptions: [], subCommands: {} };
82
+ return { service: "", rpcCommandOptions: [], subCommands: {}, enhanceCustomCommand: false, short: "" };
83
83
  }
84
84
  export const ServiceCommandDescriptor = {
85
85
  encode(message, writer = new BinaryWriter()) {
@@ -92,6 +92,12 @@ export const ServiceCommandDescriptor = {
92
92
  Object.entries(message.subCommands).forEach(([key, value]) => {
93
93
  ServiceCommandDescriptor_SubCommandsEntry.encode({ key: key, value }, writer.uint32(26).fork()).join();
94
94
  });
95
+ if (message.enhanceCustomCommand !== false) {
96
+ writer.uint32(32).bool(message.enhanceCustomCommand);
97
+ }
98
+ if (message.short !== "") {
99
+ writer.uint32(42).string(message.short);
100
+ }
95
101
  return writer;
96
102
  },
97
103
  decode(input, length) {
@@ -125,6 +131,20 @@ export const ServiceCommandDescriptor = {
125
131
  }
126
132
  continue;
127
133
  }
134
+ case 4: {
135
+ if (tag !== 32) {
136
+ break;
137
+ }
138
+ message.enhanceCustomCommand = reader.bool();
139
+ continue;
140
+ }
141
+ case 5: {
142
+ if (tag !== 42) {
143
+ break;
144
+ }
145
+ message.short = reader.string();
146
+ continue;
147
+ }
128
148
  }
129
149
  if ((tag & 7) === 4 || tag === 0) {
130
150
  break;
@@ -145,6 +165,10 @@ export const ServiceCommandDescriptor = {
145
165
  return acc;
146
166
  }, {})
147
167
  : {},
168
+ enhanceCustomCommand: isSet(object.enhanceCustomCommand)
169
+ ? globalThis.Boolean(object.enhanceCustomCommand)
170
+ : false,
171
+ short: isSet(object.short) ? globalThis.String(object.short) : "",
148
172
  };
149
173
  },
150
174
  toJSON(message) {
@@ -164,6 +188,12 @@ export const ServiceCommandDescriptor = {
164
188
  });
165
189
  }
166
190
  }
191
+ if (message.enhanceCustomCommand !== false) {
192
+ obj.enhanceCustomCommand = message.enhanceCustomCommand;
193
+ }
194
+ if (message.short !== "") {
195
+ obj.short = message.short;
196
+ }
167
197
  return obj;
168
198
  },
169
199
  create(base) {
@@ -179,6 +209,8 @@ export const ServiceCommandDescriptor = {
179
209
  }
180
210
  return acc;
181
211
  }, {});
212
+ message.enhanceCustomCommand = object.enhanceCustomCommand ?? false;
213
+ message.short = object.short ?? "";
182
214
  return message;
183
215
  },
184
216
  };
@@ -266,6 +298,7 @@ function createBaseRpcCommandOptions() {
266
298
  flagOptions: {},
267
299
  positionalArgs: [],
268
300
  skip: false,
301
+ govProposal: false,
269
302
  };
270
303
  }
271
304
  export const RpcCommandOptions = {
@@ -306,6 +339,9 @@ export const RpcCommandOptions = {
306
339
  if (message.skip !== false) {
307
340
  writer.uint32(96).bool(message.skip);
308
341
  }
342
+ if (message.govProposal !== false) {
343
+ writer.uint32(104).bool(message.govProposal);
344
+ }
309
345
  return writer;
310
346
  },
311
347
  decode(input, length) {
@@ -402,6 +438,13 @@ export const RpcCommandOptions = {
402
438
  message.skip = reader.bool();
403
439
  continue;
404
440
  }
441
+ case 13: {
442
+ if (tag !== 104) {
443
+ break;
444
+ }
445
+ message.govProposal = reader.bool();
446
+ continue;
447
+ }
405
448
  }
406
449
  if ((tag & 7) === 4 || tag === 0) {
407
450
  break;
@@ -433,6 +476,7 @@ export const RpcCommandOptions = {
433
476
  ? object.positionalArgs.map((e) => PositionalArgDescriptor.fromJSON(e))
434
477
  : [],
435
478
  skip: isSet(object.skip) ? globalThis.Boolean(object.skip) : false,
479
+ govProposal: isSet(object.govProposal) ? globalThis.Boolean(object.govProposal) : false,
436
480
  };
437
481
  },
438
482
  toJSON(message) {
@@ -479,6 +523,9 @@ export const RpcCommandOptions = {
479
523
  if (message.skip !== false) {
480
524
  obj.skip = message.skip;
481
525
  }
526
+ if (message.govProposal !== false) {
527
+ obj.govProposal = message.govProposal;
528
+ }
482
529
  return obj;
483
530
  },
484
531
  create(base) {
@@ -503,6 +550,7 @@ export const RpcCommandOptions = {
503
550
  }, {});
504
551
  message.positionalArgs = object.positionalArgs?.map((e) => PositionalArgDescriptor.fromPartial(e)) || [];
505
552
  message.skip = object.skip ?? false;
553
+ message.govProposal = object.govProposal ?? false;
506
554
  return message;
507
555
  },
508
556
  };
@@ -728,7 +776,7 @@ export const FlagOptions = {
728
776
  },
729
777
  };
730
778
  function createBasePositionalArgDescriptor() {
731
- return { protoField: "", varargs: false };
779
+ return { protoField: "", varargs: false, optional: false };
732
780
  }
733
781
  export const PositionalArgDescriptor = {
734
782
  encode(message, writer = new BinaryWriter()) {
@@ -738,6 +786,9 @@ export const PositionalArgDescriptor = {
738
786
  if (message.varargs !== false) {
739
787
  writer.uint32(16).bool(message.varargs);
740
788
  }
789
+ if (message.optional !== false) {
790
+ writer.uint32(24).bool(message.optional);
791
+ }
741
792
  return writer;
742
793
  },
743
794
  decode(input, length) {
@@ -761,6 +812,13 @@ export const PositionalArgDescriptor = {
761
812
  message.varargs = reader.bool();
762
813
  continue;
763
814
  }
815
+ case 3: {
816
+ if (tag !== 24) {
817
+ break;
818
+ }
819
+ message.optional = reader.bool();
820
+ continue;
821
+ }
764
822
  }
765
823
  if ((tag & 7) === 4 || tag === 0) {
766
824
  break;
@@ -773,6 +831,7 @@ export const PositionalArgDescriptor = {
773
831
  return {
774
832
  protoField: isSet(object.protoField) ? globalThis.String(object.protoField) : "",
775
833
  varargs: isSet(object.varargs) ? globalThis.Boolean(object.varargs) : false,
834
+ optional: isSet(object.optional) ? globalThis.Boolean(object.optional) : false,
776
835
  };
777
836
  },
778
837
  toJSON(message) {
@@ -783,6 +842,9 @@ export const PositionalArgDescriptor = {
783
842
  if (message.varargs !== false) {
784
843
  obj.varargs = message.varargs;
785
844
  }
845
+ if (message.optional !== false) {
846
+ obj.optional = message.optional;
847
+ }
786
848
  return obj;
787
849
  },
788
850
  create(base) {
@@ -792,6 +854,7 @@ export const PositionalArgDescriptor = {
792
854
  const message = createBasePositionalArgDescriptor();
793
855
  message.protoField = object.protoField ?? "";
794
856
  message.varargs = object.varargs ?? false;
857
+ message.optional = object.optional ?? false;
795
858
  return message;
796
859
  },
797
860
  };
@@ -4,16 +4,12 @@ export declare const protobufPackage = "cosmos.bank.v1beta1";
4
4
  /**
5
5
  * SendAuthorization allows the grantee to spend up to spend_limit coins from
6
6
  * the granter's account.
7
- *
8
- * Since: cosmos-sdk 0.43
9
7
  */
10
8
  export interface SendAuthorization {
11
9
  spendLimit: Coin[];
12
10
  /**
13
11
  * allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the
14
12
  * granter. If omitted, any recipient is allowed.
15
- *
16
- * Since: cosmos-sdk 0.47
17
13
  */
18
14
  allowList: string[];
19
15
  }
@@ -76,30 +76,18 @@ export interface Metadata {
76
76
  * displayed in clients.
77
77
  */
78
78
  display: string;
79
- /**
80
- * name defines the name of the token (eg: Cosmos Atom)
81
- *
82
- * Since: cosmos-sdk 0.43
83
- */
79
+ /** name defines the name of the token (eg: Cosmos Atom) */
84
80
  name: string;
85
81
  /**
86
82
  * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
87
83
  * be the same as the display.
88
- *
89
- * Since: cosmos-sdk 0.43
90
84
  */
91
85
  symbol: string;
92
- /**
93
- * URI to a document (on or off-chain) that contains additional information. Optional.
94
- *
95
- * Since: cosmos-sdk 0.46
96
- */
86
+ /** URI to a document (on or off-chain) that contains additional information. Optional. */
97
87
  uri: string;
98
88
  /**
99
89
  * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
100
90
  * the document didn't change. Optional.
101
- *
102
- * Since: cosmos-sdk 0.46
103
91
  */
104
92
  uriHash: string;
105
93
  }
@@ -15,11 +15,7 @@ export interface GenesisState {
15
15
  supply: Coin[];
16
16
  /** denom_metadata defines the metadata of the different coins. */
17
17
  denomMetadata: Metadata[];
18
- /**
19
- * send_enabled defines the denoms where send is enabled or disabled.
20
- *
21
- * Since: cosmos-sdk 0.47
22
- */
18
+ /** send_enabled defines the denoms where send is enabled or disabled. */
23
19
  sendEnabled: SendEnabled[];
24
20
  }
25
21
  /**
@@ -21,11 +21,7 @@ export interface QueryAllBalancesRequest {
21
21
  address: string;
22
22
  /** pagination defines an optional pagination for the request. */
23
23
  pagination: PageRequest | undefined;
24
- /**
25
- * resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.
26
- *
27
- * Since: cosmos-sdk 0.50
28
- */
24
+ /** resolve_denom is the flag to resolve the denom into a human-readable form from the metadata. */
29
25
  resolveDenom: boolean;
30
26
  }
31
27
  /**
@@ -41,8 +37,6 @@ export interface QueryAllBalancesResponse {
41
37
  /**
42
38
  * QuerySpendableBalancesRequest defines the gRPC request structure for querying
43
39
  * an account's spendable balances.
44
- *
45
- * Since: cosmos-sdk 0.46
46
40
  */
47
41
  export interface QuerySpendableBalancesRequest {
48
42
  /** address is the address to query spendable balances for. */
@@ -53,8 +47,6 @@ export interface QuerySpendableBalancesRequest {
53
47
  /**
54
48
  * QuerySpendableBalancesResponse defines the gRPC response structure for querying
55
49
  * an account's spendable balances.
56
- *
57
- * Since: cosmos-sdk 0.46
58
50
  */
59
51
  export interface QuerySpendableBalancesResponse {
60
52
  /** balances is the spendable balances of all the coins. */
@@ -65,8 +57,6 @@ export interface QuerySpendableBalancesResponse {
65
57
  /**
66
58
  * QuerySpendableBalanceByDenomRequest defines the gRPC request structure for
67
59
  * querying an account's spendable balance for a specific denom.
68
- *
69
- * Since: cosmos-sdk 0.47
70
60
  */
71
61
  export interface QuerySpendableBalanceByDenomRequest {
72
62
  /** address is the address to query balances for. */
@@ -77,8 +67,6 @@ export interface QuerySpendableBalanceByDenomRequest {
77
67
  /**
78
68
  * QuerySpendableBalanceByDenomResponse defines the gRPC response structure for
79
69
  * querying an account's spendable balance for a specific denom.
80
- *
81
- * Since: cosmos-sdk 0.47
82
70
  */
83
71
  export interface QuerySpendableBalanceByDenomResponse {
84
72
  /** balance is the balance of the coin. */
@@ -89,11 +77,7 @@ export interface QuerySpendableBalanceByDenomResponse {
89
77
  * method.
90
78
  */
91
79
  export interface QueryTotalSupplyRequest {
92
- /**
93
- * pagination defines an optional pagination for the request.
94
- *
95
- * Since: cosmos-sdk 0.43
96
- */
80
+ /** pagination defines an optional pagination for the request. */
97
81
  pagination: PageRequest | undefined;
98
82
  }
99
83
  /**
@@ -103,11 +87,7 @@ export interface QueryTotalSupplyRequest {
103
87
  export interface QueryTotalSupplyResponse {
104
88
  /** supply is the supply of the coins */
105
89
  supply: Coin[];
106
- /**
107
- * pagination defines the pagination in the response.
108
- *
109
- * Since: cosmos-sdk 0.43
110
- */
90
+ /** pagination defines the pagination in the response. */
111
91
  pagination: PageResponse | undefined;
112
92
  }
113
93
  /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */
@@ -187,8 +167,6 @@ export interface QueryDenomOwnersRequest {
187
167
  * DenomOwner defines structure representing an account that owns or holds a
188
168
  * particular denominated token. It contains the account address and account
189
169
  * balance of the denominated token.
190
- *
191
- * Since: cosmos-sdk 0.46
192
170
  */
193
171
  export interface DenomOwner {
194
172
  /** address defines the address that owns a particular denomination. */
@@ -196,11 +174,7 @@ export interface DenomOwner {
196
174
  /** balance is the balance of the denominated coin for an account. */
197
175
  balance: Coin | undefined;
198
176
  }
199
- /**
200
- * QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
201
- *
202
- * Since: cosmos-sdk 0.46
203
- */
177
+ /** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */
204
178
  export interface QueryDenomOwnersResponse {
205
179
  denomOwners: DenomOwner[];
206
180
  /** pagination defines the pagination in the response. */
@@ -210,8 +184,6 @@ export interface QueryDenomOwnersResponse {
210
184
  * QueryDenomOwnersByQueryRequest defines the request type for the DenomOwnersByQuery RPC query,
211
185
  * which queries for a paginated set of all account holders of a particular
212
186
  * denomination.
213
- *
214
- * Since: cosmos-sdk 0.50.3
215
187
  */
216
188
  export interface QueryDenomOwnersByQueryRequest {
217
189
  /** denom defines the coin denomination to query all account holders for. */
@@ -219,21 +191,13 @@ export interface QueryDenomOwnersByQueryRequest {
219
191
  /** pagination defines an optional pagination for the request. */
220
192
  pagination: PageRequest | undefined;
221
193
  }
222
- /**
223
- * QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query.
224
- *
225
- * Since: cosmos-sdk 0.50.3
226
- */
194
+ /** QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query. */
227
195
  export interface QueryDenomOwnersByQueryResponse {
228
196
  denomOwners: DenomOwner[];
229
197
  /** pagination defines the pagination in the response. */
230
198
  pagination: PageResponse | undefined;
231
199
  }
232
- /**
233
- * QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries.
234
- *
235
- * Since: cosmos-sdk 0.47
236
- */
200
+ /** QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries. */
237
201
  export interface QuerySendEnabledRequest {
238
202
  /** denoms is the specific denoms you want look up. Leave empty to get all entries. */
239
203
  denoms: string[];
@@ -243,11 +207,7 @@ export interface QuerySendEnabledRequest {
243
207
  */
244
208
  pagination: PageRequest | undefined;
245
209
  }
246
- /**
247
- * QuerySendEnabledResponse defines the RPC response of a SendEnable query.
248
- *
249
- * Since: cosmos-sdk 0.47
250
- */
210
+ /** QuerySendEnabledResponse defines the RPC response of a SendEnable query. */
251
211
  export interface QuerySendEnabledResponse {
252
212
  sendEnabled: SendEnabled[];
253
213
  /**
@@ -300,8 +260,6 @@ export interface Query {
300
260
  *
301
261
  * When called from another module, this query might consume a high amount of
302
262
  * gas if the pagination field is incorrectly set.
303
- *
304
- * Since: cosmos-sdk 0.46
305
263
  */
306
264
  SpendableBalances(request: QuerySpendableBalancesRequest): Promise<QuerySpendableBalancesResponse>;
307
265
  /**
@@ -310,8 +268,6 @@ export interface Query {
310
268
  *
311
269
  * When called from another module, this query might consume a high amount of
312
270
  * gas if the pagination field is incorrectly set.
313
- *
314
- * Since: cosmos-sdk 0.47
315
271
  */
316
272
  SpendableBalanceByDenom(request: QuerySpendableBalanceByDenomRequest): Promise<QuerySpendableBalanceByDenomResponse>;
317
273
  /**
@@ -330,30 +286,26 @@ export interface Query {
330
286
  SupplyOf(request: QuerySupplyOfRequest): Promise<QuerySupplyOfResponse>;
331
287
  /** Params queries the parameters of x/bank module. */
332
288
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
333
- /** DenomMetadata queries the client metadata of a given coin denomination. */
334
- DenomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
335
- /** DenomMetadataByQueryString queries the client metadata of a given coin denomination. */
336
- DenomMetadataByQueryString(request: QueryDenomMetadataByQueryStringRequest): Promise<QueryDenomMetadataByQueryStringResponse>;
337
289
  /**
338
290
  * DenomsMetadata queries the client metadata for all registered coin
339
291
  * denominations.
340
292
  */
341
293
  DenomsMetadata(request: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
294
+ /** DenomMetadata queries the client metadata of a given coin denomination. */
295
+ DenomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
296
+ /** DenomMetadataByQueryString queries the client metadata of a given coin denomination. */
297
+ DenomMetadataByQueryString(request: QueryDenomMetadataByQueryStringRequest): Promise<QueryDenomMetadataByQueryStringResponse>;
342
298
  /**
343
299
  * DenomOwners queries for all account addresses that own a particular token
344
300
  * denomination.
345
301
  *
346
302
  * When called from another module, this query might consume a high amount of
347
303
  * gas if the pagination field is incorrectly set.
348
- *
349
- * Since: cosmos-sdk 0.46
350
304
  */
351
305
  DenomOwners(request: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponse>;
352
306
  /**
353
307
  * DenomOwnersByQuery queries for all account addresses that own a particular token
354
308
  * denomination.
355
- *
356
- * Since: cosmos-sdk 0.50.3
357
309
  */
358
310
  DenomOwnersByQuery(request: QueryDenomOwnersByQueryRequest): Promise<QueryDenomOwnersByQueryResponse>;
359
311
  /**
@@ -362,8 +314,6 @@ export interface Query {
362
314
  * This query only returns denominations that have specific SendEnabled settings.
363
315
  * Any denomination that does not have a specific setting will use the default
364
316
  * params.default_send_enabled, and will not be returned by this query.
365
- *
366
- * Since: cosmos-sdk 0.47
367
317
  */
368
318
  SendEnabled(request: QuerySendEnabledRequest): Promise<QuerySendEnabledResponse>;
369
319
  }
@@ -381,9 +331,9 @@ export declare class QueryClientImpl implements Query {
381
331
  TotalSupply(request: QueryTotalSupplyRequest): Promise<QueryTotalSupplyResponse>;
382
332
  SupplyOf(request: QuerySupplyOfRequest): Promise<QuerySupplyOfResponse>;
383
333
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
334
+ DenomsMetadata(request: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
384
335
  DenomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
385
336
  DenomMetadataByQueryString(request: QueryDenomMetadataByQueryStringRequest): Promise<QueryDenomMetadataByQueryStringResponse>;
386
- DenomsMetadata(request: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
387
337
  DenomOwners(request: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponse>;
388
338
  DenomOwnersByQuery(request: QueryDenomOwnersByQueryRequest): Promise<QueryDenomOwnersByQueryResponse>;
389
339
  SendEnabled(request: QuerySendEnabledRequest): Promise<QuerySendEnabledResponse>;
@@ -1704,9 +1704,9 @@ export class QueryClientImpl {
1704
1704
  this.TotalSupply = this.TotalSupply.bind(this);
1705
1705
  this.SupplyOf = this.SupplyOf.bind(this);
1706
1706
  this.Params = this.Params.bind(this);
1707
+ this.DenomsMetadata = this.DenomsMetadata.bind(this);
1707
1708
  this.DenomMetadata = this.DenomMetadata.bind(this);
1708
1709
  this.DenomMetadataByQueryString = this.DenomMetadataByQueryString.bind(this);
1709
- this.DenomsMetadata = this.DenomsMetadata.bind(this);
1710
1710
  this.DenomOwners = this.DenomOwners.bind(this);
1711
1711
  this.DenomOwnersByQuery = this.DenomOwnersByQuery.bind(this);
1712
1712
  this.SendEnabled = this.SendEnabled.bind(this);
@@ -1746,6 +1746,11 @@ export class QueryClientImpl {
1746
1746
  const promise = this.rpc.request(this.service, "Params", data);
1747
1747
  return promise.then((data) => QueryParamsResponse.decode(new BinaryReader(data)));
1748
1748
  }
1749
+ DenomsMetadata(request) {
1750
+ const data = QueryDenomsMetadataRequest.encode(request).finish();
1751
+ const promise = this.rpc.request(this.service, "DenomsMetadata", data);
1752
+ return promise.then((data) => QueryDenomsMetadataResponse.decode(new BinaryReader(data)));
1753
+ }
1749
1754
  DenomMetadata(request) {
1750
1755
  const data = QueryDenomMetadataRequest.encode(request).finish();
1751
1756
  const promise = this.rpc.request(this.service, "DenomMetadata", data);
@@ -1756,11 +1761,6 @@ export class QueryClientImpl {
1756
1761
  const promise = this.rpc.request(this.service, "DenomMetadataByQueryString", data);
1757
1762
  return promise.then((data) => QueryDenomMetadataByQueryStringResponse.decode(new BinaryReader(data)));
1758
1763
  }
1759
- DenomsMetadata(request) {
1760
- const data = QueryDenomsMetadataRequest.encode(request).finish();
1761
- const promise = this.rpc.request(this.service, "DenomsMetadata", data);
1762
- return promise.then((data) => QueryDenomsMetadataResponse.decode(new BinaryReader(data)));
1763
- }
1764
1764
  DenomOwners(request) {
1765
1765
  const data = QueryDenomOwnersRequest.encode(request).finish();
1766
1766
  const promise = this.rpc.request(this.service, "DenomOwners", data);
@@ -23,11 +23,7 @@ export interface MsgMultiSend {
23
23
  /** MsgMultiSendResponse defines the Msg/MultiSend response type. */
24
24
  export interface MsgMultiSendResponse {
25
25
  }
26
- /**
27
- * MsgUpdateParams is the Msg/UpdateParams request type.
28
- *
29
- * Since: cosmos-sdk 0.47
30
- */
26
+ /** MsgUpdateParams is the Msg/UpdateParams request type. */
31
27
  export interface MsgUpdateParams {
32
28
  /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
33
29
  authority: string;
@@ -41,8 +37,6 @@ export interface MsgUpdateParams {
41
37
  /**
42
38
  * MsgUpdateParamsResponse defines the response structure for executing a
43
39
  * MsgUpdateParams message.
44
- *
45
- * Since: cosmos-sdk 0.47
46
40
  */
47
41
  export interface MsgUpdateParamsResponse {
48
42
  }
@@ -52,8 +46,6 @@ export interface MsgUpdateParamsResponse {
52
46
  * Only entries to add/update/delete need to be included.
53
47
  * Existing SendEnabled entries that are not included in this
54
48
  * message are left unchanged.
55
- *
56
- * Since: cosmos-sdk 0.47
57
49
  */
58
50
  export interface MsgSetSendEnabled {
59
51
  /** authority is the address that controls the module. */
@@ -68,11 +60,7 @@ export interface MsgSetSendEnabled {
68
60
  */
69
61
  useDefaultFor: string[];
70
62
  }
71
- /**
72
- * MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.
73
- *
74
- * Since: cosmos-sdk 0.47
75
- */
63
+ /** MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type. */
76
64
  export interface MsgSetSendEnabledResponse {
77
65
  }
78
66
  export declare const MsgSend: MessageFns<MsgSend>;
@@ -92,8 +80,6 @@ export interface Msg {
92
80
  /**
93
81
  * UpdateParams defines a governance operation for updating the x/bank module parameters.
94
82
  * The authority is defined in the keeper.
95
- *
96
- * Since: cosmos-sdk 0.47
97
83
  */
98
84
  UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
99
85
  /**
@@ -101,8 +87,6 @@ export interface Msg {
101
87
  * on any number of Denoms. Only the entries to add or update should be
102
88
  * included. Entries that already exist in the store, but that aren't
103
89
  * included in this message, will be left unchanged.
104
- *
105
- * Since: cosmos-sdk 0.47
106
90
  */
107
91
  SetSendEnabled(request: MsgSetSendEnabled): Promise<MsgSetSendEnabledResponse>;
108
92
  }
@@ -44,8 +44,6 @@ export interface TxResponse {
44
44
  * these events include those emitted by processing all the messages and those
45
45
  * emitted from the ante. Whereas Logs contains the events, with
46
46
  * additional metadata, emitted only by processing the messages.
47
- *
48
- * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45
49
47
  */
50
48
  events: Event[];
51
49
  }
@@ -100,11 +98,7 @@ export interface Result {
100
98
  * or handler execution.
101
99
  */
102
100
  events: Event[];
103
- /**
104
- * msg_responses contains the Msg handler responses type packed in Anys.
105
- *
106
- * Since: cosmos-sdk 0.46
107
- */
101
+ /** msg_responses contains the Msg handler responses type packed in Anys. */
108
102
  msgResponses: Any[];
109
103
  }
110
104
  /**
@@ -136,11 +130,7 @@ export interface TxMsgData {
136
130
  * @deprecated
137
131
  */
138
132
  data: MsgData[];
139
- /**
140
- * msg_responses contains the Msg handler responses packed into Anys.
141
- *
142
- * Since: cosmos-sdk 0.46
143
- */
133
+ /** msg_responses contains the Msg handler responses packed into Anys. */
144
134
  msgResponses: Any[];
145
135
  }
146
136
  /** SearchTxsResult defines a structure for querying txs pageable */