decentralcardgame-cardchain-client-ts 0.0.41 → 0.0.42

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.
@@ -47,6 +47,7 @@ import { MsgProfileAliasSet } from "../types/cardchain/cardchain/tx";
47
47
  import { MsgEarlyAccessInvite } from "../types/cardchain/cardchain/tx";
48
48
  import { MsgZealyConnect } from "../types/cardchain/cardchain/tx";
49
49
  import { MsgEncounterCreate } from "../types/cardchain/cardchain/tx";
50
+ import { MsgEncounterEdit } from "../types/cardchain/cardchain/tx";
50
51
  import { MsgEncounterDo } from "../types/cardchain/cardchain/tx";
51
52
  import { MsgEncounterClose } from "../types/cardchain/cardchain/tx";
52
53
  import { MsgEarlyAccessDisinvite } from "../types/cardchain/cardchain/tx";
@@ -54,7 +55,7 @@ import { MsgCardBan } from "../types/cardchain/cardchain/tx";
54
55
  import { MsgEarlyAccessGrant } from "../types/cardchain/cardchain/tx";
55
56
  import { MsgSetActivate } from "../types/cardchain/cardchain/tx";
56
57
  import { MsgCardCopyrightClaim } from "../types/cardchain/cardchain/tx";
57
- export { MsgUpdateParams, MsgUserCreate, MsgCardSchemeBuy, MsgCardSaveContent, MsgCardVote, MsgCardTransfer, MsgCardDonate, MsgCardArtworkAdd, MsgCardArtistChange, MsgCouncilRegister, MsgCouncilDeregister, MsgMatchReport, MsgCouncilCreate, MsgMatchReporterAppoint, MsgSetCreate, MsgSetCardAdd, MsgSetCardRemove, MsgSetContributorAdd, MsgSetContributorRemove, MsgSetFinalize, MsgSetArtworkAdd, MsgSetStoryAdd, MsgBoosterPackBuy, MsgSellOfferCreate, MsgSellOfferBuy, MsgSellOfferRemove, MsgCardRaritySet, MsgCouncilResponseCommit, MsgCouncilResponseReveal, MsgCouncilRestart, MsgMatchConfirm, MsgProfileCardSet, MsgProfileWebsiteSet, MsgProfileBioSet, MsgBoosterPackOpen, MsgBoosterPackTransfer, MsgSetStoryWriterSet, MsgSetArtistSet, MsgCardVoteMulti, MsgMatchOpen, MsgSetNameSet, MsgProfileAliasSet, MsgEarlyAccessInvite, MsgZealyConnect, MsgEncounterCreate, MsgEncounterDo, MsgEncounterClose, MsgEarlyAccessDisinvite, MsgCardBan, MsgEarlyAccessGrant, MsgSetActivate, MsgCardCopyrightClaim };
58
+ export { MsgUpdateParams, MsgUserCreate, MsgCardSchemeBuy, MsgCardSaveContent, MsgCardVote, MsgCardTransfer, MsgCardDonate, MsgCardArtworkAdd, MsgCardArtistChange, MsgCouncilRegister, MsgCouncilDeregister, MsgMatchReport, MsgCouncilCreate, MsgMatchReporterAppoint, MsgSetCreate, MsgSetCardAdd, MsgSetCardRemove, MsgSetContributorAdd, MsgSetContributorRemove, MsgSetFinalize, MsgSetArtworkAdd, MsgSetStoryAdd, MsgBoosterPackBuy, MsgSellOfferCreate, MsgSellOfferBuy, MsgSellOfferRemove, MsgCardRaritySet, MsgCouncilResponseCommit, MsgCouncilResponseReveal, MsgCouncilRestart, MsgMatchConfirm, MsgProfileCardSet, MsgProfileWebsiteSet, MsgProfileBioSet, MsgBoosterPackOpen, MsgBoosterPackTransfer, MsgSetStoryWriterSet, MsgSetArtistSet, MsgCardVoteMulti, MsgMatchOpen, MsgSetNameSet, MsgProfileAliasSet, MsgEarlyAccessInvite, MsgZealyConnect, MsgEncounterCreate, MsgEncounterEdit, MsgEncounterDo, MsgEncounterClose, MsgEarlyAccessDisinvite, MsgCardBan, MsgEarlyAccessGrant, MsgSetActivate, MsgCardCopyrightClaim };
58
59
  type sendMsgUpdateParamsParams = {
59
60
  value: MsgUpdateParams;
60
61
  fee?: StdFee;
@@ -280,6 +281,11 @@ type sendMsgEncounterCreateParams = {
280
281
  fee?: StdFee;
281
282
  memo?: string;
282
283
  };
284
+ type sendMsgEncounterEditParams = {
285
+ value: MsgEncounterEdit;
286
+ fee?: StdFee;
287
+ memo?: string;
288
+ };
283
289
  type sendMsgEncounterDoParams = {
284
290
  value: MsgEncounterDo;
285
291
  fee?: StdFee;
@@ -450,6 +456,9 @@ type msgZealyConnectParams = {
450
456
  type msgEncounterCreateParams = {
451
457
  value: MsgEncounterCreate;
452
458
  };
459
+ type msgEncounterEditParams = {
460
+ value: MsgEncounterEdit;
461
+ };
453
462
  type msgEncounterDoParams = {
454
463
  value: MsgEncounterDo;
455
464
  };
@@ -523,6 +532,7 @@ export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
523
532
  sendMsgEarlyAccessInvite({ value, fee, memo }: sendMsgEarlyAccessInviteParams): Promise<DeliverTxResponse>;
524
533
  sendMsgZealyConnect({ value, fee, memo }: sendMsgZealyConnectParams): Promise<DeliverTxResponse>;
525
534
  sendMsgEncounterCreate({ value, fee, memo }: sendMsgEncounterCreateParams): Promise<DeliverTxResponse>;
535
+ sendMsgEncounterEdit({ value, fee, memo }: sendMsgEncounterEditParams): Promise<DeliverTxResponse>;
526
536
  sendMsgEncounterDo({ value, fee, memo }: sendMsgEncounterDoParams): Promise<DeliverTxResponse>;
527
537
  sendMsgEncounterClose({ value, fee, memo }: sendMsgEncounterCloseParams): Promise<DeliverTxResponse>;
528
538
  sendMsgEarlyAccessDisinvite({ value, fee, memo }: sendMsgEarlyAccessDisinviteParams): Promise<DeliverTxResponse>;
@@ -575,6 +585,7 @@ export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
575
585
  msgEarlyAccessInvite({ value }: msgEarlyAccessInviteParams): EncodeObject;
576
586
  msgZealyConnect({ value }: msgZealyConnectParams): EncodeObject;
577
587
  msgEncounterCreate({ value }: msgEncounterCreateParams): EncodeObject;
588
+ msgEncounterEdit({ value }: msgEncounterEditParams): EncodeObject;
578
589
  msgEncounterDo({ value }: msgEncounterDoParams): EncodeObject;
579
590
  msgEncounterClose({ value }: msgEncounterCloseParams): EncodeObject;
580
591
  msgEarlyAccessDisinvite({ value }: msgEarlyAccessDisinviteParams): EncodeObject;
@@ -49,6 +49,7 @@ import { MsgProfileAliasSet } from "../types/cardchain/cardchain/tx";
49
49
  import { MsgEarlyAccessInvite } from "../types/cardchain/cardchain/tx";
50
50
  import { MsgZealyConnect } from "../types/cardchain/cardchain/tx";
51
51
  import { MsgEncounterCreate } from "../types/cardchain/cardchain/tx";
52
+ import { MsgEncounterEdit } from "../types/cardchain/cardchain/tx";
52
53
  import { MsgEncounterDo } from "../types/cardchain/cardchain/tx";
53
54
  import { MsgEncounterClose } from "../types/cardchain/cardchain/tx";
54
55
  import { MsgEarlyAccessDisinvite } from "../types/cardchain/cardchain/tx";
@@ -63,12 +64,12 @@ import { CardWithImage as typeCardWithImage } from "./types";
63
64
  import { Council as typeCouncil } from "./types";
64
65
  import { WrapClearResponse as typeWrapClearResponse } from "./types";
65
66
  import { WrapHashResponse as typeWrapHashResponse } from "./types";
66
- import { Parameter as typeParameter } from "./types";
67
67
  import { Encounter as typeEncounter } from "./types";
68
68
  import { EncounterWithImage as typeEncounterWithImage } from "./types";
69
69
  import { Image as typeImage } from "./types";
70
70
  import { Match as typeMatch } from "./types";
71
71
  import { MatchPlayer as typeMatchPlayer } from "./types";
72
+ import { Parameter as typeParameter } from "./types";
72
73
  import { Params as typeParams } from "./types";
73
74
  import { RunningAverage as typeRunningAverage } from "./types";
74
75
  import { SellOffer as typeSellOffer } from "./types";
@@ -85,7 +86,7 @@ import { VotingResult as typeVotingResult } from "./types";
85
86
  import { SingleVote as typeSingleVote } from "./types";
86
87
  import { VotingResults as typeVotingResults } from "./types";
87
88
  import { Zealy as typeZealy } from "./types";
88
- export { MsgUpdateParams, MsgUserCreate, MsgCardSchemeBuy, MsgCardSaveContent, MsgCardVote, MsgCardTransfer, MsgCardDonate, MsgCardArtworkAdd, MsgCardArtistChange, MsgCouncilRegister, MsgCouncilDeregister, MsgMatchReport, MsgCouncilCreate, MsgMatchReporterAppoint, MsgSetCreate, MsgSetCardAdd, MsgSetCardRemove, MsgSetContributorAdd, MsgSetContributorRemove, MsgSetFinalize, MsgSetArtworkAdd, MsgSetStoryAdd, MsgBoosterPackBuy, MsgSellOfferCreate, MsgSellOfferBuy, MsgSellOfferRemove, MsgCardRaritySet, MsgCouncilResponseCommit, MsgCouncilResponseReveal, MsgCouncilRestart, MsgMatchConfirm, MsgProfileCardSet, MsgProfileWebsiteSet, MsgProfileBioSet, MsgBoosterPackOpen, MsgBoosterPackTransfer, MsgSetStoryWriterSet, MsgSetArtistSet, MsgCardVoteMulti, MsgMatchOpen, MsgSetNameSet, MsgProfileAliasSet, MsgEarlyAccessInvite, MsgZealyConnect, MsgEncounterCreate, MsgEncounterDo, MsgEncounterClose, MsgEarlyAccessDisinvite, MsgCardBan, MsgEarlyAccessGrant, MsgSetActivate, MsgCardCopyrightClaim };
89
+ export { MsgUpdateParams, MsgUserCreate, MsgCardSchemeBuy, MsgCardSaveContent, MsgCardVote, MsgCardTransfer, MsgCardDonate, MsgCardArtworkAdd, MsgCardArtistChange, MsgCouncilRegister, MsgCouncilDeregister, MsgMatchReport, MsgCouncilCreate, MsgMatchReporterAppoint, MsgSetCreate, MsgSetCardAdd, MsgSetCardRemove, MsgSetContributorAdd, MsgSetContributorRemove, MsgSetFinalize, MsgSetArtworkAdd, MsgSetStoryAdd, MsgBoosterPackBuy, MsgSellOfferCreate, MsgSellOfferBuy, MsgSellOfferRemove, MsgCardRaritySet, MsgCouncilResponseCommit, MsgCouncilResponseReveal, MsgCouncilRestart, MsgMatchConfirm, MsgProfileCardSet, MsgProfileWebsiteSet, MsgProfileBioSet, MsgBoosterPackOpen, MsgBoosterPackTransfer, MsgSetStoryWriterSet, MsgSetArtistSet, MsgCardVoteMulti, MsgMatchOpen, MsgSetNameSet, MsgProfileAliasSet, MsgEarlyAccessInvite, MsgZealyConnect, MsgEncounterCreate, MsgEncounterEdit, MsgEncounterDo, MsgEncounterClose, MsgEarlyAccessDisinvite, MsgCardBan, MsgEarlyAccessGrant, MsgSetActivate, MsgCardCopyrightClaim };
89
90
  export const registry = new Registry(msgTypes);
90
91
  function getStructure(template) {
91
92
  const structure = { fields: [] };
@@ -731,6 +732,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
731
732
  throw new Error('TxClient:sendMsgEncounterCreate: Could not broadcast Tx: ' + e.message);
732
733
  }
733
734
  },
735
+ async sendMsgEncounterEdit({ value, fee, memo }) {
736
+ if (!signer) {
737
+ throw new Error('TxClient:sendMsgEncounterEdit: Unable to sign Tx. Signer is not present.');
738
+ }
739
+ try {
740
+ const { address } = (await signer.getAccounts())[0];
741
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
742
+ let msg = this.msgEncounterEdit({ value: MsgEncounterEdit.fromPartial(value) });
743
+ return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
744
+ }
745
+ catch (e) {
746
+ throw new Error('TxClient:sendMsgEncounterEdit: Could not broadcast Tx: ' + e.message);
747
+ }
748
+ },
734
749
  async sendMsgEncounterDo({ value, fee, memo }) {
735
750
  if (!signer) {
736
751
  throw new Error('TxClient:sendMsgEncounterDo: Unable to sign Tx. Signer is not present.');
@@ -1189,6 +1204,14 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
1189
1204
  throw new Error('TxClient:MsgEncounterCreate: Could not create message: ' + e.message);
1190
1205
  }
1191
1206
  },
1207
+ msgEncounterEdit({ value }) {
1208
+ try {
1209
+ return { typeUrl: "/cardchain.cardchain.MsgEncounterEdit", value: MsgEncounterEdit.fromPartial(value) };
1210
+ }
1211
+ catch (e) {
1212
+ throw new Error('TxClient:MsgEncounterEdit: Could not create message: ' + e.message);
1213
+ }
1214
+ },
1192
1215
  msgEncounterDo({ value }) {
1193
1216
  try {
1194
1217
  return { typeUrl: "/cardchain.cardchain.MsgEncounterDo", value: MsgEncounterDo.fromPartial(value) };
@@ -1263,12 +1286,12 @@ class SDKModule {
1263
1286
  Council: getStructure(typeCouncil.fromPartial({})),
1264
1287
  WrapClearResponse: getStructure(typeWrapClearResponse.fromPartial({})),
1265
1288
  WrapHashResponse: getStructure(typeWrapHashResponse.fromPartial({})),
1266
- Parameter: getStructure(typeParameter.fromPartial({})),
1267
1289
  Encounter: getStructure(typeEncounter.fromPartial({})),
1268
1290
  EncounterWithImage: getStructure(typeEncounterWithImage.fromPartial({})),
1269
1291
  Image: getStructure(typeImage.fromPartial({})),
1270
1292
  Match: getStructure(typeMatch.fromPartial({})),
1271
1293
  MatchPlayer: getStructure(typeMatchPlayer.fromPartial({})),
1294
+ Parameter: getStructure(typeParameter.fromPartial({})),
1272
1295
  Params: getStructure(typeParams.fromPartial({})),
1273
1296
  RunningAverage: getStructure(typeRunningAverage.fromPartial({})),
1274
1297
  SellOffer: getStructure(typeSellOffer.fromPartial({})),
@@ -43,6 +43,7 @@ import { MsgProfileAliasSet } from "../types/cardchain/cardchain/tx";
43
43
  import { MsgEarlyAccessInvite } from "../types/cardchain/cardchain/tx";
44
44
  import { MsgZealyConnect } from "../types/cardchain/cardchain/tx";
45
45
  import { MsgEncounterCreate } from "../types/cardchain/cardchain/tx";
46
+ import { MsgEncounterEdit } from "../types/cardchain/cardchain/tx";
46
47
  import { MsgEncounterDo } from "../types/cardchain/cardchain/tx";
47
48
  import { MsgEncounterClose } from "../types/cardchain/cardchain/tx";
48
49
  import { MsgEarlyAccessDisinvite } from "../types/cardchain/cardchain/tx";
@@ -96,6 +97,7 @@ const msgTypes = [
96
97
  ["/cardchain.cardchain.MsgEarlyAccessInvite", MsgEarlyAccessInvite],
97
98
  ["/cardchain.cardchain.MsgZealyConnect", MsgZealyConnect],
98
99
  ["/cardchain.cardchain.MsgEncounterCreate", MsgEncounterCreate],
100
+ ["/cardchain.cardchain.MsgEncounterEdit", MsgEncounterEdit],
99
101
  ["/cardchain.cardchain.MsgEncounterDo", MsgEncounterDo],
100
102
  ["/cardchain.cardchain.MsgEncounterClose", MsgEncounterClose],
101
103
  ["/cardchain.cardchain.MsgEarlyAccessDisinvite", MsgEarlyAccessDisinvite],
@@ -1,5 +1,7 @@
1
1
  import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
2
2
  import { QueryCardsRequest } from "../types/cardchain/cardchain/query";
3
+ import { QueryEncountersRequest } from "../types/cardchain/cardchain/query";
4
+ import { QueryEncountersWithImageRequest } from "../types/cardchain/cardchain/query";
3
5
  import { QueryMatchesRequest } from "../types/cardchain/cardchain/query";
4
6
  import { QuerySetsRequest } from "../types/cardchain/cardchain/query";
5
7
  import { QueryCardContentsRequest } from "../types/cardchain/cardchain/query";
@@ -165,6 +167,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
165
167
  balance_anchor: boolean;
166
168
  starter_card: boolean;
167
169
  rarity: import("../types/cardchain/cardchain/card").CardRarity;
170
+ parameters: {
171
+ key: string;
172
+ value: string;
173
+ }[];
168
174
  };
169
175
  image: string;
170
176
  hash: string;
@@ -383,7 +389,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
383
389
  * @name queryEncounters
384
390
  * @request GET:/DecentralCardGame/cardchain/cardchain/encounters
385
391
  */
386
- queryEncounters: (query?: Record<string, any>, params?: RequestParams) => Promise<AxiosResponse<{
392
+ queryEncounters: (query?: Omit<FlattenObject<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryEncountersRequest>>>, "">, params?: RequestParams) => Promise<AxiosResponse<{
387
393
  encounters: {
388
394
  id: number;
389
395
  drawlist: number[];
@@ -428,7 +434,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
428
434
  * @name queryEncountersWithImage
429
435
  * @request GET:/DecentralCardGame/cardchain/cardchain/encounters_with_image
430
436
  */
431
- queryEncountersWithImage: (query?: Record<string, any>, params?: RequestParams) => Promise<AxiosResponse<{
437
+ queryEncountersWithImage: (query?: Omit<FlattenObject<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryEncountersWithImageRequest>>>, "">, params?: RequestParams) => Promise<AxiosResponse<{
432
438
  encounters: {
433
439
  encounter: {
434
440
  id: number;
@@ -5,12 +5,12 @@ import { CardWithImage } from "../types/cardchain/cardchain/card_with_image";
5
5
  import { Council } from "../types/cardchain/cardchain/council";
6
6
  import { WrapClearResponse } from "../types/cardchain/cardchain/council";
7
7
  import { WrapHashResponse } from "../types/cardchain/cardchain/council";
8
- import { Parameter } from "../types/cardchain/cardchain/encounter";
9
8
  import { Encounter } from "../types/cardchain/cardchain/encounter";
10
9
  import { EncounterWithImage } from "../types/cardchain/cardchain/encounter_with_image";
11
10
  import { Image } from "../types/cardchain/cardchain/image";
12
11
  import { Match } from "../types/cardchain/cardchain/match";
13
12
  import { MatchPlayer } from "../types/cardchain/cardchain/match";
13
+ import { Parameter } from "../types/cardchain/cardchain/parameter";
14
14
  import { Params } from "../types/cardchain/cardchain/params";
15
15
  import { RunningAverage } from "../types/cardchain/cardchain/running_average";
16
16
  import { SellOffer } from "../types/cardchain/cardchain/sell_offer";
@@ -27,4 +27,4 @@ import { VotingResult } from "../types/cardchain/cardchain/voting";
27
27
  import { SingleVote } from "../types/cardchain/cardchain/voting";
28
28
  import { VotingResults } from "../types/cardchain/cardchain/voting_results";
29
29
  import { Zealy } from "../types/cardchain/cardchain/zealy";
30
- export { Card, TimeStamp, CardContent, CardWithImage, Council, WrapClearResponse, WrapHashResponse, Parameter, Encounter, EncounterWithImage, Image, Match, MatchPlayer, Params, RunningAverage, SellOffer, Server, Set, InnerRarities, AddrWithQuantity, SetWithArtwork, User, EarlyAccess, BoosterPack, AirDrops, VotingResult, SingleVote, VotingResults, Zealy, };
30
+ export { Card, TimeStamp, CardContent, CardWithImage, Council, WrapClearResponse, WrapHashResponse, Encounter, EncounterWithImage, Image, Match, MatchPlayer, Parameter, Params, RunningAverage, SellOffer, Server, Set, InnerRarities, AddrWithQuantity, SetWithArtwork, User, EarlyAccess, BoosterPack, AirDrops, VotingResult, SingleVote, VotingResults, Zealy, };
@@ -5,12 +5,12 @@ import { CardWithImage } from "../types/cardchain/cardchain/card_with_image";
5
5
  import { Council } from "../types/cardchain/cardchain/council";
6
6
  import { WrapClearResponse } from "../types/cardchain/cardchain/council";
7
7
  import { WrapHashResponse } from "../types/cardchain/cardchain/council";
8
- import { Parameter } from "../types/cardchain/cardchain/encounter";
9
8
  import { Encounter } from "../types/cardchain/cardchain/encounter";
10
9
  import { EncounterWithImage } from "../types/cardchain/cardchain/encounter_with_image";
11
10
  import { Image } from "../types/cardchain/cardchain/image";
12
11
  import { Match } from "../types/cardchain/cardchain/match";
13
12
  import { MatchPlayer } from "../types/cardchain/cardchain/match";
13
+ import { Parameter } from "../types/cardchain/cardchain/parameter";
14
14
  import { Params } from "../types/cardchain/cardchain/params";
15
15
  import { RunningAverage } from "../types/cardchain/cardchain/running_average";
16
16
  import { SellOffer } from "../types/cardchain/cardchain/sell_offer";
@@ -27,4 +27,4 @@ import { VotingResult } from "../types/cardchain/cardchain/voting";
27
27
  import { SingleVote } from "../types/cardchain/cardchain/voting";
28
28
  import { VotingResults } from "../types/cardchain/cardchain/voting_results";
29
29
  import { Zealy } from "../types/cardchain/cardchain/zealy";
30
- export { Card, TimeStamp, CardContent, CardWithImage, Council, WrapClearResponse, WrapHashResponse, Parameter, Encounter, EncounterWithImage, Image, Match, MatchPlayer, Params, RunningAverage, SellOffer, Server, Set, InnerRarities, AddrWithQuantity, SetWithArtwork, User, EarlyAccess, BoosterPack, AirDrops, VotingResult, SingleVote, VotingResults, Zealy, };
30
+ export { Card, TimeStamp, CardContent, CardWithImage, Council, WrapClearResponse, WrapHashResponse, Encounter, EncounterWithImage, Image, Match, MatchPlayer, Parameter, Params, RunningAverage, SellOffer, Server, Set, InnerRarities, AddrWithQuantity, SetWithArtwork, User, EarlyAccess, BoosterPack, AirDrops, VotingResult, SingleVote, VotingResults, Zealy, };
package/lib/index.d.ts CHANGED
@@ -42,209 +42,209 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
42
42
  updateTX(client: IgniteClient): void;
43
43
  };
44
44
  } & {
45
- CosmosUpgradeV_1Beta_1: {
46
- query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
47
- tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").txClient>;
45
+ CosmosFeegrantV_1Beta_1: {
46
+ query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
47
+ tx: ReturnType<typeof import("./cosmos.feegrant.v1beta1").txClient>;
48
48
  structure: Record<string, unknown>;
49
49
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
50
50
  updateTX(client: IgniteClient): void;
51
51
  };
52
52
  } & {
53
- IbcApplicationsFeeV_1: {
54
- query: ReturnType<typeof import("./ibc.applications.fee.v1").queryClient>;
55
- tx: ReturnType<typeof import("./ibc.applications.fee.v1").txClient>;
53
+ CosmosUpgradeV_1Beta_1: {
54
+ query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
55
+ tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").txClient>;
56
56
  structure: Record<string, unknown>;
57
57
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
58
58
  updateTX(client: IgniteClient): void;
59
59
  };
60
60
  } & {
61
- IbcApplicationsInterchainAccountsControllerV_1: {
62
- query: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").queryClient>;
63
- tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").txClient>;
61
+ CosmosAuthV_1Beta_1: {
62
+ query: ReturnType<typeof import("./cosmos.auth.v1beta1").queryClient>;
63
+ tx: ReturnType<typeof import("./cosmos.auth.v1beta1").txClient>;
64
64
  structure: Record<string, unknown>;
65
65
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
66
66
  updateTX(client: IgniteClient): void;
67
67
  };
68
68
  } & {
69
- IbcApplicationsInterchainAccountsHostV_1: {
70
- query: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").queryClient>;
71
- tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").txClient>;
69
+ CosmosAuthzV_1Beta_1: {
70
+ query: ReturnType<typeof import("./cosmos.authz.v1beta1").queryClient>;
71
+ tx: ReturnType<typeof import("./cosmos.authz.v1beta1").txClient>;
72
72
  structure: Record<string, unknown>;
73
73
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
74
74
  updateTX(client: IgniteClient): void;
75
75
  };
76
76
  } & {
77
- IbcApplicationsTransferV_1: {
78
- query: ReturnType<typeof import("./ibc.applications.transfer.v1").queryClient>;
79
- tx: ReturnType<typeof import("./ibc.applications.transfer.v1").txClient>;
77
+ CosmosBaseNodeV_1Beta_1: {
78
+ query: ReturnType<typeof import("./cosmos.base.node.v1beta1").queryClient>;
79
+ tx: ReturnType<typeof import("./cosmos.base.node.v1beta1").txClient>;
80
80
  structure: Record<string, unknown>;
81
81
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
82
82
  updateTX(client: IgniteClient): void;
83
83
  };
84
84
  } & {
85
- IbcCoreChannelV_1: {
86
- query: ReturnType<typeof import("./ibc.core.channel.v1").queryClient>;
87
- tx: ReturnType<typeof import("./ibc.core.channel.v1").txClient>;
85
+ CosmosConsensusV_1: {
86
+ query: ReturnType<typeof import("./cosmos.consensus.v1").queryClient>;
87
+ tx: ReturnType<typeof import("./cosmos.consensus.v1").txClient>;
88
88
  structure: Record<string, unknown>;
89
89
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
90
90
  updateTX(client: IgniteClient): void;
91
91
  };
92
92
  } & {
93
- IbcCoreClientV_1: {
94
- query: ReturnType<typeof import("./ibc.core.client.v1").queryClient>;
95
- tx: ReturnType<typeof import("./ibc.core.client.v1").txClient>;
93
+ CosmosCrisisV_1Beta_1: {
94
+ query: ReturnType<typeof import("./cosmos.crisis.v1beta1").queryClient>;
95
+ tx: ReturnType<typeof import("./cosmos.crisis.v1beta1").txClient>;
96
96
  structure: Record<string, unknown>;
97
97
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
98
98
  updateTX(client: IgniteClient): void;
99
99
  };
100
100
  } & {
101
- IbcCoreConnectionV_1: {
102
- query: ReturnType<typeof import("./ibc.core.connection.v1").queryClient>;
103
- tx: ReturnType<typeof import("./ibc.core.connection.v1").txClient>;
101
+ CosmosDistributionV_1Beta_1: {
102
+ query: ReturnType<typeof import("./cosmos.distribution.v1beta1").queryClient>;
103
+ tx: ReturnType<typeof import("./cosmos.distribution.v1beta1").txClient>;
104
104
  structure: Record<string, unknown>;
105
105
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
106
106
  updateTX(client: IgniteClient): void;
107
107
  };
108
108
  } & {
109
- CosmosFeegrantV_1Beta_1: {
110
- query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
111
- tx: ReturnType<typeof import("./cosmos.feegrant.v1beta1").txClient>;
109
+ CosmosGovV_1: {
110
+ query: ReturnType<typeof import("./cosmos.gov.v1").queryClient>;
111
+ tx: ReturnType<typeof import("./cosmos.gov.v1").txClient>;
112
112
  structure: Record<string, unknown>;
113
113
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
114
114
  updateTX(client: IgniteClient): void;
115
115
  };
116
116
  } & {
117
- CosmosCircuitV_1: {
118
- query: ReturnType<typeof import("./cosmos.circuit.v1").queryClient>;
119
- tx: ReturnType<typeof import("./cosmos.circuit.v1").txClient>;
117
+ CosmosGovV_1Beta_1: {
118
+ query: ReturnType<typeof import("./cosmos.gov.v1beta1").queryClient>;
119
+ tx: ReturnType<typeof import("./cosmos.gov.v1beta1").txClient>;
120
120
  structure: Record<string, unknown>;
121
121
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
122
122
  updateTX(client: IgniteClient): void;
123
123
  };
124
124
  } & {
125
- CosmosNftV_1Beta_1: {
126
- query: ReturnType<typeof import("./cosmos.nft.v1beta1").queryClient>;
127
- tx: ReturnType<typeof import("./cosmos.nft.v1beta1").txClient>;
125
+ CosmosGroupV_1: {
126
+ query: ReturnType<typeof import("./cosmos.group.v1").queryClient>;
127
+ tx: ReturnType<typeof import("./cosmos.group.v1").txClient>;
128
128
  structure: Record<string, unknown>;
129
129
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
130
130
  updateTX(client: IgniteClient): void;
131
131
  };
132
132
  } & {
133
- CosmosEvidenceV_1Beta_1: {
134
- query: ReturnType<typeof import("./cosmos.evidence.v1beta1").queryClient>;
135
- tx: ReturnType<typeof import("./cosmos.evidence.v1beta1").txClient>;
133
+ CosmosMintV_1Beta_1: {
134
+ query: ReturnType<typeof import("./cosmos.mint.v1beta1").queryClient>;
135
+ tx: ReturnType<typeof import("./cosmos.mint.v1beta1").txClient>;
136
136
  structure: Record<string, unknown>;
137
137
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
138
138
  updateTX(client: IgniteClient): void;
139
139
  };
140
140
  } & {
141
- CosmosAuthV_1Beta_1: {
142
- query: ReturnType<typeof import("./cosmos.auth.v1beta1").queryClient>;
143
- tx: ReturnType<typeof import("./cosmos.auth.v1beta1").txClient>;
141
+ CosmosParamsV_1Beta_1: {
142
+ query: ReturnType<typeof import("./cosmos.params.v1beta1").queryClient>;
143
+ tx: ReturnType<typeof import("./cosmos.params.v1beta1").txClient>;
144
144
  structure: Record<string, unknown>;
145
145
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
146
146
  updateTX(client: IgniteClient): void;
147
147
  };
148
148
  } & {
149
- CosmosAuthzV_1Beta_1: {
150
- query: ReturnType<typeof import("./cosmos.authz.v1beta1").queryClient>;
151
- tx: ReturnType<typeof import("./cosmos.authz.v1beta1").txClient>;
149
+ CosmosSlashingV_1Beta_1: {
150
+ query: ReturnType<typeof import("./cosmos.slashing.v1beta1").queryClient>;
151
+ tx: ReturnType<typeof import("./cosmos.slashing.v1beta1").txClient>;
152
152
  structure: Record<string, unknown>;
153
153
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
154
154
  updateTX(client: IgniteClient): void;
155
155
  };
156
156
  } & {
157
- CosmosBaseNodeV_1Beta_1: {
158
- query: ReturnType<typeof import("./cosmos.base.node.v1beta1").queryClient>;
159
- tx: ReturnType<typeof import("./cosmos.base.node.v1beta1").txClient>;
157
+ CosmosTxV_1Beta_1: {
158
+ query: ReturnType<typeof import("./cosmos.tx.v1beta1").queryClient>;
159
+ tx: ReturnType<typeof import("./cosmos.tx.v1beta1").txClient>;
160
160
  structure: Record<string, unknown>;
161
161
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
162
162
  updateTX(client: IgniteClient): void;
163
163
  };
164
164
  } & {
165
- CosmosConsensusV_1: {
166
- query: ReturnType<typeof import("./cosmos.consensus.v1").queryClient>;
167
- tx: ReturnType<typeof import("./cosmos.consensus.v1").txClient>;
165
+ CosmosVestingV_1Beta_1: {
166
+ query: ReturnType<typeof import("./cosmos.vesting.v1beta1").queryClient>;
167
+ tx: ReturnType<typeof import("./cosmos.vesting.v1beta1").txClient>;
168
168
  structure: Record<string, unknown>;
169
169
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
170
170
  updateTX(client: IgniteClient): void;
171
171
  };
172
172
  } & {
173
- CosmosCrisisV_1Beta_1: {
174
- query: ReturnType<typeof import("./cosmos.crisis.v1beta1").queryClient>;
175
- tx: ReturnType<typeof import("./cosmos.crisis.v1beta1").txClient>;
173
+ IbcApplicationsFeeV_1: {
174
+ query: ReturnType<typeof import("./ibc.applications.fee.v1").queryClient>;
175
+ tx: ReturnType<typeof import("./ibc.applications.fee.v1").txClient>;
176
176
  structure: Record<string, unknown>;
177
177
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
178
178
  updateTX(client: IgniteClient): void;
179
179
  };
180
180
  } & {
181
- CosmosDistributionV_1Beta_1: {
182
- query: ReturnType<typeof import("./cosmos.distribution.v1beta1").queryClient>;
183
- tx: ReturnType<typeof import("./cosmos.distribution.v1beta1").txClient>;
181
+ IbcApplicationsInterchainAccountsControllerV_1: {
182
+ query: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").queryClient>;
183
+ tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").txClient>;
184
184
  structure: Record<string, unknown>;
185
185
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
186
186
  updateTX(client: IgniteClient): void;
187
187
  };
188
188
  } & {
189
- CosmosGovV_1: {
190
- query: ReturnType<typeof import("./cosmos.gov.v1").queryClient>;
191
- tx: ReturnType<typeof import("./cosmos.gov.v1").txClient>;
189
+ IbcApplicationsInterchainAccountsHostV_1: {
190
+ query: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").queryClient>;
191
+ tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").txClient>;
192
192
  structure: Record<string, unknown>;
193
193
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
194
194
  updateTX(client: IgniteClient): void;
195
195
  };
196
196
  } & {
197
- CosmosGovV_1Beta_1: {
198
- query: ReturnType<typeof import("./cosmos.gov.v1beta1").queryClient>;
199
- tx: ReturnType<typeof import("./cosmos.gov.v1beta1").txClient>;
197
+ IbcApplicationsTransferV_1: {
198
+ query: ReturnType<typeof import("./ibc.applications.transfer.v1").queryClient>;
199
+ tx: ReturnType<typeof import("./ibc.applications.transfer.v1").txClient>;
200
200
  structure: Record<string, unknown>;
201
201
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
202
202
  updateTX(client: IgniteClient): void;
203
203
  };
204
204
  } & {
205
- CosmosGroupV_1: {
206
- query: ReturnType<typeof import("./cosmos.group.v1").queryClient>;
207
- tx: ReturnType<typeof import("./cosmos.group.v1").txClient>;
205
+ IbcCoreChannelV_1: {
206
+ query: ReturnType<typeof import("./ibc.core.channel.v1").queryClient>;
207
+ tx: ReturnType<typeof import("./ibc.core.channel.v1").txClient>;
208
208
  structure: Record<string, unknown>;
209
209
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
210
210
  updateTX(client: IgniteClient): void;
211
211
  };
212
212
  } & {
213
- CosmosMintV_1Beta_1: {
214
- query: ReturnType<typeof import("./cosmos.mint.v1beta1").queryClient>;
215
- tx: ReturnType<typeof import("./cosmos.mint.v1beta1").txClient>;
213
+ IbcCoreClientV_1: {
214
+ query: ReturnType<typeof import("./ibc.core.client.v1").queryClient>;
215
+ tx: ReturnType<typeof import("./ibc.core.client.v1").txClient>;
216
216
  structure: Record<string, unknown>;
217
217
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
218
218
  updateTX(client: IgniteClient): void;
219
219
  };
220
220
  } & {
221
- CosmosParamsV_1Beta_1: {
222
- query: ReturnType<typeof import("./cosmos.params.v1beta1").queryClient>;
223
- tx: ReturnType<typeof import("./cosmos.params.v1beta1").txClient>;
221
+ IbcCoreConnectionV_1: {
222
+ query: ReturnType<typeof import("./ibc.core.connection.v1").queryClient>;
223
+ tx: ReturnType<typeof import("./ibc.core.connection.v1").txClient>;
224
224
  structure: Record<string, unknown>;
225
225
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
226
226
  updateTX(client: IgniteClient): void;
227
227
  };
228
228
  } & {
229
- CosmosSlashingV_1Beta_1: {
230
- query: ReturnType<typeof import("./cosmos.slashing.v1beta1").queryClient>;
231
- tx: ReturnType<typeof import("./cosmos.slashing.v1beta1").txClient>;
229
+ CosmosCircuitV_1: {
230
+ query: ReturnType<typeof import("./cosmos.circuit.v1").queryClient>;
231
+ tx: ReturnType<typeof import("./cosmos.circuit.v1").txClient>;
232
232
  structure: Record<string, unknown>;
233
233
  registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
234
234
  updateTX(client: IgniteClient): void;
235
235
  };
236
236
  } & {
237
- CosmosTxV_1Beta_1: {
238
- query: ReturnType<typeof import("./cosmos.tx.v1beta1").queryClient>;
239
- tx: ReturnType<typeof import("./cosmos.tx.v1beta1").txClient>;
237
+ CosmosEvidenceV_1Beta_1: {
238
+ query: ReturnType<typeof import("./cosmos.evidence.v1beta1").queryClient>;
239
+ tx: ReturnType<typeof import("./cosmos.evidence.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
- CosmosVestingV_1Beta_1: {
246
- query: ReturnType<typeof import("./cosmos.vesting.v1beta1").queryClient>;
247
- tx: ReturnType<typeof import("./cosmos.vesting.v1beta1").txClient>;
245
+ CosmosNftV_1Beta_1: {
246
+ query: ReturnType<typeof import("./cosmos.nft.v1beta1").queryClient>;
247
+ tx: ReturnType<typeof import("./cosmos.nft.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/lib/index.js CHANGED
@@ -4,18 +4,8 @@ import { IgniteClient } from "./client";
4
4
  import { MissingWalletError } from "./helpers";
5
5
  import { IgntModule as CardchainCardchain, msgTypes as CardchainCardchainMsgTypes } from './cardchain.cardchain';
6
6
  import { IgntModule as CardchainFeatureflag, msgTypes as CardchainFeatureflagMsgTypes } from './cardchain.featureflag';
7
- import { IgntModule as CosmosUpgradeV_1Beta_1, msgTypes as CosmosUpgradeV_1Beta_1MsgTypes } from './cosmos.upgrade.v1beta1';
8
- import { IgntModule as IbcApplicationsFeeV_1, msgTypes as IbcApplicationsFeeV_1MsgTypes } from './ibc.applications.fee.v1';
9
- import { IgntModule as IbcApplicationsInterchainAccountsControllerV_1, msgTypes as IbcApplicationsInterchainAccountsControllerV_1MsgTypes } from './ibc.applications.interchain_accounts.controller.v1';
10
- import { IgntModule as IbcApplicationsInterchainAccountsHostV_1, msgTypes as IbcApplicationsInterchainAccountsHostV_1MsgTypes } from './ibc.applications.interchain_accounts.host.v1';
11
- import { IgntModule as IbcApplicationsTransferV_1, msgTypes as IbcApplicationsTransferV_1MsgTypes } from './ibc.applications.transfer.v1';
12
- import { IgntModule as IbcCoreChannelV_1, msgTypes as IbcCoreChannelV_1MsgTypes } from './ibc.core.channel.v1';
13
- import { IgntModule as IbcCoreClientV_1, msgTypes as IbcCoreClientV_1MsgTypes } from './ibc.core.client.v1';
14
- import { IgntModule as IbcCoreConnectionV_1, msgTypes as IbcCoreConnectionV_1MsgTypes } from './ibc.core.connection.v1';
15
7
  import { IgntModule as CosmosFeegrantV_1Beta_1, msgTypes as CosmosFeegrantV_1Beta_1MsgTypes } from './cosmos.feegrant.v1beta1';
16
- import { IgntModule as CosmosCircuitV_1, msgTypes as CosmosCircuitV_1MsgTypes } from './cosmos.circuit.v1';
17
- import { IgntModule as CosmosNftV_1Beta_1, msgTypes as CosmosNftV_1Beta_1MsgTypes } from './cosmos.nft.v1beta1';
18
- import { IgntModule as CosmosEvidenceV_1Beta_1, msgTypes as CosmosEvidenceV_1Beta_1MsgTypes } from './cosmos.evidence.v1beta1';
8
+ import { IgntModule as CosmosUpgradeV_1Beta_1, msgTypes as CosmosUpgradeV_1Beta_1MsgTypes } from './cosmos.upgrade.v1beta1';
19
9
  import { IgntModule as CosmosAuthV_1Beta_1, msgTypes as CosmosAuthV_1Beta_1MsgTypes } from './cosmos.auth.v1beta1';
20
10
  import { IgntModule as CosmosAuthzV_1Beta_1, msgTypes as CosmosAuthzV_1Beta_1MsgTypes } from './cosmos.authz.v1beta1';
21
11
  import { IgntModule as CosmosBankV_1Beta_1, msgTypes as CosmosBankV_1Beta_1MsgTypes } from './cosmos.bank.v1beta1';
@@ -33,24 +23,24 @@ import { IgntModule as CosmosSlashingV_1Beta_1, msgTypes as CosmosSlashingV_1Bet
33
23
  import { IgntModule as CosmosStakingV_1Beta_1, msgTypes as CosmosStakingV_1Beta_1MsgTypes } from './cosmos.staking.v1beta1';
34
24
  import { IgntModule as CosmosTxV_1Beta_1, msgTypes as CosmosTxV_1Beta_1MsgTypes } from './cosmos.tx.v1beta1';
35
25
  import { IgntModule as CosmosVestingV_1Beta_1, msgTypes as CosmosVestingV_1Beta_1MsgTypes } from './cosmos.vesting.v1beta1';
26
+ import { IgntModule as IbcApplicationsFeeV_1, msgTypes as IbcApplicationsFeeV_1MsgTypes } from './ibc.applications.fee.v1';
27
+ import { IgntModule as IbcApplicationsInterchainAccountsControllerV_1, msgTypes as IbcApplicationsInterchainAccountsControllerV_1MsgTypes } from './ibc.applications.interchain_accounts.controller.v1';
28
+ import { IgntModule as IbcApplicationsInterchainAccountsHostV_1, msgTypes as IbcApplicationsInterchainAccountsHostV_1MsgTypes } from './ibc.applications.interchain_accounts.host.v1';
29
+ import { IgntModule as IbcApplicationsTransferV_1, msgTypes as IbcApplicationsTransferV_1MsgTypes } from './ibc.applications.transfer.v1';
30
+ import { IgntModule as IbcCoreChannelV_1, msgTypes as IbcCoreChannelV_1MsgTypes } from './ibc.core.channel.v1';
31
+ import { IgntModule as IbcCoreClientV_1, msgTypes as IbcCoreClientV_1MsgTypes } from './ibc.core.client.v1';
32
+ import { IgntModule as IbcCoreConnectionV_1, msgTypes as IbcCoreConnectionV_1MsgTypes } from './ibc.core.connection.v1';
33
+ import { IgntModule as CosmosCircuitV_1, msgTypes as CosmosCircuitV_1MsgTypes } from './cosmos.circuit.v1';
34
+ import { IgntModule as CosmosEvidenceV_1Beta_1, msgTypes as CosmosEvidenceV_1Beta_1MsgTypes } from './cosmos.evidence.v1beta1';
35
+ import { IgntModule as CosmosNftV_1Beta_1, msgTypes as CosmosNftV_1Beta_1MsgTypes } from './cosmos.nft.v1beta1';
36
36
  const Client = IgniteClient.plugin([
37
- CardchainCardchain, CardchainFeatureflag, CosmosUpgradeV_1Beta_1, IbcApplicationsFeeV_1, IbcApplicationsInterchainAccountsControllerV_1, IbcApplicationsInterchainAccountsHostV_1, IbcApplicationsTransferV_1, IbcCoreChannelV_1, IbcCoreClientV_1, IbcCoreConnectionV_1, CosmosFeegrantV_1Beta_1, CosmosCircuitV_1, CosmosNftV_1Beta_1, CosmosEvidenceV_1Beta_1, 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
37
+ CardchainCardchain, CardchainFeatureflag, CosmosFeegrantV_1Beta_1, CosmosUpgradeV_1Beta_1, 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, IbcApplicationsFeeV_1, IbcApplicationsInterchainAccountsControllerV_1, IbcApplicationsInterchainAccountsHostV_1, IbcApplicationsTransferV_1, IbcCoreChannelV_1, IbcCoreClientV_1, IbcCoreConnectionV_1, CosmosCircuitV_1, CosmosEvidenceV_1Beta_1, CosmosNftV_1Beta_1
38
38
  ]);
39
39
  const registry = new Registry([
40
40
  ...CardchainCardchainMsgTypes,
41
41
  ...CardchainFeatureflagMsgTypes,
42
- ...CosmosUpgradeV_1Beta_1MsgTypes,
43
- ...IbcApplicationsFeeV_1MsgTypes,
44
- ...IbcApplicationsInterchainAccountsControllerV_1MsgTypes,
45
- ...IbcApplicationsInterchainAccountsHostV_1MsgTypes,
46
- ...IbcApplicationsTransferV_1MsgTypes,
47
- ...IbcCoreChannelV_1MsgTypes,
48
- ...IbcCoreClientV_1MsgTypes,
49
- ...IbcCoreConnectionV_1MsgTypes,
50
42
  ...CosmosFeegrantV_1Beta_1MsgTypes,
51
- ...CosmosCircuitV_1MsgTypes,
52
- ...CosmosNftV_1Beta_1MsgTypes,
53
- ...CosmosEvidenceV_1Beta_1MsgTypes,
43
+ ...CosmosUpgradeV_1Beta_1MsgTypes,
54
44
  ...CosmosAuthV_1Beta_1MsgTypes,
55
45
  ...CosmosAuthzV_1Beta_1MsgTypes,
56
46
  ...CosmosBankV_1Beta_1MsgTypes,
@@ -68,5 +58,15 @@ const registry = new Registry([
68
58
  ...CosmosStakingV_1Beta_1MsgTypes,
69
59
  ...CosmosTxV_1Beta_1MsgTypes,
70
60
  ...CosmosVestingV_1Beta_1MsgTypes,
61
+ ...IbcApplicationsFeeV_1MsgTypes,
62
+ ...IbcApplicationsInterchainAccountsControllerV_1MsgTypes,
63
+ ...IbcApplicationsInterchainAccountsHostV_1MsgTypes,
64
+ ...IbcApplicationsTransferV_1MsgTypes,
65
+ ...IbcCoreChannelV_1MsgTypes,
66
+ ...IbcCoreClientV_1MsgTypes,
67
+ ...IbcCoreConnectionV_1MsgTypes,
68
+ ...CosmosCircuitV_1MsgTypes,
69
+ ...CosmosEvidenceV_1Beta_1MsgTypes,
70
+ ...CosmosNftV_1Beta_1MsgTypes,
71
71
  ]);
72
72
  export { Client, registry, MissingWalletError };
@@ -1,5 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Coin } from "../../cosmos/base/v1beta1/coin";
3
+ import { Parameter } from "./parameter";
3
4
  export declare const protobufPackage = "cardchain.cardchain";
4
5
  export declare enum CardStatus {
5
6
  none = 0,
@@ -62,6 +63,7 @@ export interface Card {
62
63
  balanceAnchor: boolean;
63
64
  starterCard: boolean;
64
65
  rarity: CardRarity;
66
+ parameters: Parameter[];
65
67
  }
66
68
  export interface TimeStamp {
67
69
  timeStamp: number;