decentralcardgame-cardchain-client-ts 0.0.41 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cardchain.cardchain/module.d.ts +23 -1
- package/lib/cardchain.cardchain/module.js +49 -3
- package/lib/cardchain.cardchain/registry.js +4 -0
- package/lib/cardchain.cardchain/rest.d.ts +8 -2
- package/lib/cardchain.cardchain/types.d.ts +2 -2
- package/lib/cardchain.cardchain/types.js +2 -2
- package/lib/index.d.ts +78 -78
- package/lib/index.js +23 -23
- package/lib/types/cardchain/cardchain/card.d.ts +2 -0
- package/lib/types/cardchain/cardchain/card.js +19 -0
- package/lib/types/cardchain/cardchain/encounter.d.ts +1 -5
- package/lib/types/cardchain/cardchain/encounter.js +1 -68
- package/lib/types/cardchain/cardchain/parameter.d.ts +26 -0
- package/lib/types/cardchain/cardchain/parameter.js +79 -0
- package/lib/types/cardchain/cardchain/query.d.ts +2 -0
- package/lib/types/cardchain/cardchain/query.js +40 -12
- package/lib/types/cardchain/cardchain/tx.d.ts +30 -1
- package/lib/types/cardchain/cardchain/tx.js +320 -2
- package/package.json +1 -1
|
@@ -47,14 +47,16 @@ 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";
|
|
53
|
+
import { MsgEncounterDelete } from "../types/cardchain/cardchain/tx";
|
|
52
54
|
import { MsgEarlyAccessDisinvite } from "../types/cardchain/cardchain/tx";
|
|
53
55
|
import { MsgCardBan } from "../types/cardchain/cardchain/tx";
|
|
54
56
|
import { MsgEarlyAccessGrant } from "../types/cardchain/cardchain/tx";
|
|
55
57
|
import { MsgSetActivate } from "../types/cardchain/cardchain/tx";
|
|
56
58
|
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 };
|
|
59
|
+
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, MsgEncounterDelete, MsgEarlyAccessDisinvite, MsgCardBan, MsgEarlyAccessGrant, MsgSetActivate, MsgCardCopyrightClaim };
|
|
58
60
|
type sendMsgUpdateParamsParams = {
|
|
59
61
|
value: MsgUpdateParams;
|
|
60
62
|
fee?: StdFee;
|
|
@@ -280,6 +282,11 @@ type sendMsgEncounterCreateParams = {
|
|
|
280
282
|
fee?: StdFee;
|
|
281
283
|
memo?: string;
|
|
282
284
|
};
|
|
285
|
+
type sendMsgEncounterEditParams = {
|
|
286
|
+
value: MsgEncounterEdit;
|
|
287
|
+
fee?: StdFee;
|
|
288
|
+
memo?: string;
|
|
289
|
+
};
|
|
283
290
|
type sendMsgEncounterDoParams = {
|
|
284
291
|
value: MsgEncounterDo;
|
|
285
292
|
fee?: StdFee;
|
|
@@ -290,6 +297,11 @@ type sendMsgEncounterCloseParams = {
|
|
|
290
297
|
fee?: StdFee;
|
|
291
298
|
memo?: string;
|
|
292
299
|
};
|
|
300
|
+
type sendMsgEncounterDeleteParams = {
|
|
301
|
+
value: MsgEncounterDelete;
|
|
302
|
+
fee?: StdFee;
|
|
303
|
+
memo?: string;
|
|
304
|
+
};
|
|
293
305
|
type sendMsgEarlyAccessDisinviteParams = {
|
|
294
306
|
value: MsgEarlyAccessDisinvite;
|
|
295
307
|
fee?: StdFee;
|
|
@@ -450,12 +462,18 @@ type msgZealyConnectParams = {
|
|
|
450
462
|
type msgEncounterCreateParams = {
|
|
451
463
|
value: MsgEncounterCreate;
|
|
452
464
|
};
|
|
465
|
+
type msgEncounterEditParams = {
|
|
466
|
+
value: MsgEncounterEdit;
|
|
467
|
+
};
|
|
453
468
|
type msgEncounterDoParams = {
|
|
454
469
|
value: MsgEncounterDo;
|
|
455
470
|
};
|
|
456
471
|
type msgEncounterCloseParams = {
|
|
457
472
|
value: MsgEncounterClose;
|
|
458
473
|
};
|
|
474
|
+
type msgEncounterDeleteParams = {
|
|
475
|
+
value: MsgEncounterDelete;
|
|
476
|
+
};
|
|
459
477
|
type msgEarlyAccessDisinviteParams = {
|
|
460
478
|
value: MsgEarlyAccessDisinvite;
|
|
461
479
|
};
|
|
@@ -523,8 +541,10 @@ export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
|
523
541
|
sendMsgEarlyAccessInvite({ value, fee, memo }: sendMsgEarlyAccessInviteParams): Promise<DeliverTxResponse>;
|
|
524
542
|
sendMsgZealyConnect({ value, fee, memo }: sendMsgZealyConnectParams): Promise<DeliverTxResponse>;
|
|
525
543
|
sendMsgEncounterCreate({ value, fee, memo }: sendMsgEncounterCreateParams): Promise<DeliverTxResponse>;
|
|
544
|
+
sendMsgEncounterEdit({ value, fee, memo }: sendMsgEncounterEditParams): Promise<DeliverTxResponse>;
|
|
526
545
|
sendMsgEncounterDo({ value, fee, memo }: sendMsgEncounterDoParams): Promise<DeliverTxResponse>;
|
|
527
546
|
sendMsgEncounterClose({ value, fee, memo }: sendMsgEncounterCloseParams): Promise<DeliverTxResponse>;
|
|
547
|
+
sendMsgEncounterDelete({ value, fee, memo }: sendMsgEncounterDeleteParams): Promise<DeliverTxResponse>;
|
|
528
548
|
sendMsgEarlyAccessDisinvite({ value, fee, memo }: sendMsgEarlyAccessDisinviteParams): Promise<DeliverTxResponse>;
|
|
529
549
|
sendMsgCardBan({ value, fee, memo }: sendMsgCardBanParams): Promise<DeliverTxResponse>;
|
|
530
550
|
sendMsgEarlyAccessGrant({ value, fee, memo }: sendMsgEarlyAccessGrantParams): Promise<DeliverTxResponse>;
|
|
@@ -575,8 +595,10 @@ export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
|
575
595
|
msgEarlyAccessInvite({ value }: msgEarlyAccessInviteParams): EncodeObject;
|
|
576
596
|
msgZealyConnect({ value }: msgZealyConnectParams): EncodeObject;
|
|
577
597
|
msgEncounterCreate({ value }: msgEncounterCreateParams): EncodeObject;
|
|
598
|
+
msgEncounterEdit({ value }: msgEncounterEditParams): EncodeObject;
|
|
578
599
|
msgEncounterDo({ value }: msgEncounterDoParams): EncodeObject;
|
|
579
600
|
msgEncounterClose({ value }: msgEncounterCloseParams): EncodeObject;
|
|
601
|
+
msgEncounterDelete({ value }: msgEncounterDeleteParams): EncodeObject;
|
|
580
602
|
msgEarlyAccessDisinvite({ value }: msgEarlyAccessDisinviteParams): EncodeObject;
|
|
581
603
|
msgCardBan({ value }: msgCardBanParams): EncodeObject;
|
|
582
604
|
msgEarlyAccessGrant({ value }: msgEarlyAccessGrantParams): EncodeObject;
|
|
@@ -49,8 +49,10 @@ 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";
|
|
55
|
+
import { MsgEncounterDelete } from "../types/cardchain/cardchain/tx";
|
|
54
56
|
import { MsgEarlyAccessDisinvite } from "../types/cardchain/cardchain/tx";
|
|
55
57
|
import { MsgCardBan } from "../types/cardchain/cardchain/tx";
|
|
56
58
|
import { MsgEarlyAccessGrant } from "../types/cardchain/cardchain/tx";
|
|
@@ -63,12 +65,12 @@ import { CardWithImage as typeCardWithImage } from "./types";
|
|
|
63
65
|
import { Council as typeCouncil } from "./types";
|
|
64
66
|
import { WrapClearResponse as typeWrapClearResponse } from "./types";
|
|
65
67
|
import { WrapHashResponse as typeWrapHashResponse } from "./types";
|
|
66
|
-
import { Parameter as typeParameter } from "./types";
|
|
67
68
|
import { Encounter as typeEncounter } from "./types";
|
|
68
69
|
import { EncounterWithImage as typeEncounterWithImage } from "./types";
|
|
69
70
|
import { Image as typeImage } from "./types";
|
|
70
71
|
import { Match as typeMatch } from "./types";
|
|
71
72
|
import { MatchPlayer as typeMatchPlayer } from "./types";
|
|
73
|
+
import { Parameter as typeParameter } from "./types";
|
|
72
74
|
import { Params as typeParams } from "./types";
|
|
73
75
|
import { RunningAverage as typeRunningAverage } from "./types";
|
|
74
76
|
import { SellOffer as typeSellOffer } from "./types";
|
|
@@ -85,7 +87,7 @@ import { VotingResult as typeVotingResult } from "./types";
|
|
|
85
87
|
import { SingleVote as typeSingleVote } from "./types";
|
|
86
88
|
import { VotingResults as typeVotingResults } from "./types";
|
|
87
89
|
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 };
|
|
90
|
+
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, MsgEncounterDelete, MsgEarlyAccessDisinvite, MsgCardBan, MsgEarlyAccessGrant, MsgSetActivate, MsgCardCopyrightClaim };
|
|
89
91
|
export const registry = new Registry(msgTypes);
|
|
90
92
|
function getStructure(template) {
|
|
91
93
|
const structure = { fields: [] };
|
|
@@ -731,6 +733,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
731
733
|
throw new Error('TxClient:sendMsgEncounterCreate: Could not broadcast Tx: ' + e.message);
|
|
732
734
|
}
|
|
733
735
|
},
|
|
736
|
+
async sendMsgEncounterEdit({ value, fee, memo }) {
|
|
737
|
+
if (!signer) {
|
|
738
|
+
throw new Error('TxClient:sendMsgEncounterEdit: Unable to sign Tx. Signer is not present.');
|
|
739
|
+
}
|
|
740
|
+
try {
|
|
741
|
+
const { address } = (await signer.getAccounts())[0];
|
|
742
|
+
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
|
|
743
|
+
let msg = this.msgEncounterEdit({ value: MsgEncounterEdit.fromPartial(value) });
|
|
744
|
+
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
745
|
+
}
|
|
746
|
+
catch (e) {
|
|
747
|
+
throw new Error('TxClient:sendMsgEncounterEdit: Could not broadcast Tx: ' + e.message);
|
|
748
|
+
}
|
|
749
|
+
},
|
|
734
750
|
async sendMsgEncounterDo({ value, fee, memo }) {
|
|
735
751
|
if (!signer) {
|
|
736
752
|
throw new Error('TxClient:sendMsgEncounterDo: Unable to sign Tx. Signer is not present.');
|
|
@@ -759,6 +775,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
759
775
|
throw new Error('TxClient:sendMsgEncounterClose: Could not broadcast Tx: ' + e.message);
|
|
760
776
|
}
|
|
761
777
|
},
|
|
778
|
+
async sendMsgEncounterDelete({ value, fee, memo }) {
|
|
779
|
+
if (!signer) {
|
|
780
|
+
throw new Error('TxClient:sendMsgEncounterDelete: Unable to sign Tx. Signer is not present.');
|
|
781
|
+
}
|
|
782
|
+
try {
|
|
783
|
+
const { address } = (await signer.getAccounts())[0];
|
|
784
|
+
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
|
|
785
|
+
let msg = this.msgEncounterDelete({ value: MsgEncounterDelete.fromPartial(value) });
|
|
786
|
+
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
787
|
+
}
|
|
788
|
+
catch (e) {
|
|
789
|
+
throw new Error('TxClient:sendMsgEncounterDelete: Could not broadcast Tx: ' + e.message);
|
|
790
|
+
}
|
|
791
|
+
},
|
|
762
792
|
async sendMsgEarlyAccessDisinvite({ value, fee, memo }) {
|
|
763
793
|
if (!signer) {
|
|
764
794
|
throw new Error('TxClient:sendMsgEarlyAccessDisinvite: Unable to sign Tx. Signer is not present.');
|
|
@@ -1189,6 +1219,14 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
1189
1219
|
throw new Error('TxClient:MsgEncounterCreate: Could not create message: ' + e.message);
|
|
1190
1220
|
}
|
|
1191
1221
|
},
|
|
1222
|
+
msgEncounterEdit({ value }) {
|
|
1223
|
+
try {
|
|
1224
|
+
return { typeUrl: "/cardchain.cardchain.MsgEncounterEdit", value: MsgEncounterEdit.fromPartial(value) };
|
|
1225
|
+
}
|
|
1226
|
+
catch (e) {
|
|
1227
|
+
throw new Error('TxClient:MsgEncounterEdit: Could not create message: ' + e.message);
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1192
1230
|
msgEncounterDo({ value }) {
|
|
1193
1231
|
try {
|
|
1194
1232
|
return { typeUrl: "/cardchain.cardchain.MsgEncounterDo", value: MsgEncounterDo.fromPartial(value) };
|
|
@@ -1205,6 +1243,14 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
1205
1243
|
throw new Error('TxClient:MsgEncounterClose: Could not create message: ' + e.message);
|
|
1206
1244
|
}
|
|
1207
1245
|
},
|
|
1246
|
+
msgEncounterDelete({ value }) {
|
|
1247
|
+
try {
|
|
1248
|
+
return { typeUrl: "/cardchain.cardchain.MsgEncounterDelete", value: MsgEncounterDelete.fromPartial(value) };
|
|
1249
|
+
}
|
|
1250
|
+
catch (e) {
|
|
1251
|
+
throw new Error('TxClient:MsgEncounterDelete: Could not create message: ' + e.message);
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1208
1254
|
msgEarlyAccessDisinvite({ value }) {
|
|
1209
1255
|
try {
|
|
1210
1256
|
return { typeUrl: "/cardchain.cardchain.MsgEarlyAccessDisinvite", value: MsgEarlyAccessDisinvite.fromPartial(value) };
|
|
@@ -1263,12 +1309,12 @@ class SDKModule {
|
|
|
1263
1309
|
Council: getStructure(typeCouncil.fromPartial({})),
|
|
1264
1310
|
WrapClearResponse: getStructure(typeWrapClearResponse.fromPartial({})),
|
|
1265
1311
|
WrapHashResponse: getStructure(typeWrapHashResponse.fromPartial({})),
|
|
1266
|
-
Parameter: getStructure(typeParameter.fromPartial({})),
|
|
1267
1312
|
Encounter: getStructure(typeEncounter.fromPartial({})),
|
|
1268
1313
|
EncounterWithImage: getStructure(typeEncounterWithImage.fromPartial({})),
|
|
1269
1314
|
Image: getStructure(typeImage.fromPartial({})),
|
|
1270
1315
|
Match: getStructure(typeMatch.fromPartial({})),
|
|
1271
1316
|
MatchPlayer: getStructure(typeMatchPlayer.fromPartial({})),
|
|
1317
|
+
Parameter: getStructure(typeParameter.fromPartial({})),
|
|
1272
1318
|
Params: getStructure(typeParams.fromPartial({})),
|
|
1273
1319
|
RunningAverage: getStructure(typeRunningAverage.fromPartial({})),
|
|
1274
1320
|
SellOffer: getStructure(typeSellOffer.fromPartial({})),
|
|
@@ -43,8 +43,10 @@ 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";
|
|
49
|
+
import { MsgEncounterDelete } from "../types/cardchain/cardchain/tx";
|
|
48
50
|
import { MsgEarlyAccessDisinvite } from "../types/cardchain/cardchain/tx";
|
|
49
51
|
import { MsgCardBan } from "../types/cardchain/cardchain/tx";
|
|
50
52
|
import { MsgEarlyAccessGrant } from "../types/cardchain/cardchain/tx";
|
|
@@ -96,8 +98,10 @@ const msgTypes = [
|
|
|
96
98
|
["/cardchain.cardchain.MsgEarlyAccessInvite", MsgEarlyAccessInvite],
|
|
97
99
|
["/cardchain.cardchain.MsgZealyConnect", MsgZealyConnect],
|
|
98
100
|
["/cardchain.cardchain.MsgEncounterCreate", MsgEncounterCreate],
|
|
101
|
+
["/cardchain.cardchain.MsgEncounterEdit", MsgEncounterEdit],
|
|
99
102
|
["/cardchain.cardchain.MsgEncounterDo", MsgEncounterDo],
|
|
100
103
|
["/cardchain.cardchain.MsgEncounterClose", MsgEncounterClose],
|
|
104
|
+
["/cardchain.cardchain.MsgEncounterDelete", MsgEncounterDelete],
|
|
101
105
|
["/cardchain.cardchain.MsgEarlyAccessDisinvite", MsgEarlyAccessDisinvite],
|
|
102
106
|
["/cardchain.cardchain.MsgCardBan", MsgCardBan],
|
|
103
107
|
["/cardchain.cardchain.MsgEarlyAccessGrant", MsgEarlyAccessGrant],
|
|
@@ -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?:
|
|
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?:
|
|
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,
|
|
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,
|
|
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
|
-
|
|
46
|
-
query: ReturnType<typeof import("./cosmos.
|
|
47
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
45
|
+
CosmosEvidenceV_1Beta_1: {
|
|
46
|
+
query: ReturnType<typeof import("./cosmos.evidence.v1beta1").queryClient>;
|
|
47
|
+
tx: ReturnType<typeof import("./cosmos.evidence.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
|
-
|
|
54
|
-
query: ReturnType<typeof import("./
|
|
55
|
-
tx: ReturnType<typeof import("./
|
|
53
|
+
CosmosFeegrantV_1Beta_1: {
|
|
54
|
+
query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
|
|
55
|
+
tx: ReturnType<typeof import("./cosmos.feegrant.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
|
-
|
|
62
|
-
query: ReturnType<typeof import("./
|
|
63
|
-
tx: ReturnType<typeof import("./
|
|
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
|
-
|
|
70
|
-
query: ReturnType<typeof import("./
|
|
71
|
-
tx: ReturnType<typeof import("./
|
|
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
|
-
|
|
78
|
-
query: ReturnType<typeof import("./
|
|
79
|
-
tx: ReturnType<typeof import("./
|
|
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
|
-
|
|
86
|
-
query: ReturnType<typeof import("./
|
|
87
|
-
tx: ReturnType<typeof import("./
|
|
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
|
-
|
|
94
|
-
query: ReturnType<typeof import("./
|
|
95
|
-
tx: ReturnType<typeof import("./
|
|
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
|
-
|
|
102
|
-
query: ReturnType<typeof import("./
|
|
103
|
-
tx: ReturnType<typeof import("./
|
|
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
|
-
|
|
110
|
-
query: ReturnType<typeof import("./cosmos.
|
|
111
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
118
|
-
query: ReturnType<typeof import("./cosmos.
|
|
119
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
126
|
-
query: ReturnType<typeof import("./cosmos.
|
|
127
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
134
|
-
query: ReturnType<typeof import("./cosmos.
|
|
135
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
142
|
-
query: ReturnType<typeof import("./cosmos.
|
|
143
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
150
|
-
query: ReturnType<typeof import("./cosmos.
|
|
151
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
158
|
-
query: ReturnType<typeof import("./cosmos.
|
|
159
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
166
|
-
query: ReturnType<typeof import("./cosmos.
|
|
167
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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
|
-
|
|
174
|
-
query: ReturnType<typeof import("./cosmos.
|
|
175
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
173
|
+
CosmosUpgradeV_1Beta_1: {
|
|
174
|
+
query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
|
|
175
|
+
tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").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
|
-
|
|
182
|
-
query: ReturnType<typeof import("./cosmos.
|
|
183
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
181
|
+
CosmosCircuitV_1: {
|
|
182
|
+
query: ReturnType<typeof import("./cosmos.circuit.v1").queryClient>;
|
|
183
|
+
tx: ReturnType<typeof import("./cosmos.circuit.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
|
-
|
|
190
|
-
query: ReturnType<typeof import("./
|
|
191
|
-
tx: ReturnType<typeof import("./
|
|
189
|
+
IbcApplicationsFeeV_1: {
|
|
190
|
+
query: ReturnType<typeof import("./ibc.applications.fee.v1").queryClient>;
|
|
191
|
+
tx: ReturnType<typeof import("./ibc.applications.fee.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
|
-
|
|
198
|
-
query: ReturnType<typeof import("./
|
|
199
|
-
tx: ReturnType<typeof import("./
|
|
197
|
+
IbcApplicationsInterchainAccountsControllerV_1: {
|
|
198
|
+
query: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").queryClient>;
|
|
199
|
+
tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.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
|
-
|
|
206
|
-
query: ReturnType<typeof import("./
|
|
207
|
-
tx: ReturnType<typeof import("./
|
|
205
|
+
IbcApplicationsInterchainAccountsHostV_1: {
|
|
206
|
+
query: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").queryClient>;
|
|
207
|
+
tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.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
|
-
|
|
214
|
-
query: ReturnType<typeof import("./
|
|
215
|
-
tx: ReturnType<typeof import("./
|
|
213
|
+
IbcApplicationsTransferV_1: {
|
|
214
|
+
query: ReturnType<typeof import("./ibc.applications.transfer.v1").queryClient>;
|
|
215
|
+
tx: ReturnType<typeof import("./ibc.applications.transfer.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
|
-
|
|
222
|
-
query: ReturnType<typeof import("./
|
|
223
|
-
tx: ReturnType<typeof import("./
|
|
221
|
+
IbcCoreChannelV_1: {
|
|
222
|
+
query: ReturnType<typeof import("./ibc.core.channel.v1").queryClient>;
|
|
223
|
+
tx: ReturnType<typeof import("./ibc.core.channel.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
|
-
|
|
230
|
-
query: ReturnType<typeof import("./
|
|
231
|
-
tx: ReturnType<typeof import("./
|
|
229
|
+
IbcCoreClientV_1: {
|
|
230
|
+
query: ReturnType<typeof import("./ibc.core.client.v1").queryClient>;
|
|
231
|
+
tx: ReturnType<typeof import("./ibc.core.client.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
|
-
|
|
238
|
-
query: ReturnType<typeof import("./
|
|
239
|
-
tx: ReturnType<typeof import("./
|
|
237
|
+
IbcCoreConnectionV_1: {
|
|
238
|
+
query: ReturnType<typeof import("./ibc.core.connection.v1").queryClient>;
|
|
239
|
+
tx: ReturnType<typeof import("./ibc.core.connection.v1").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
|
-
|
|
246
|
-
query: ReturnType<typeof import("./cosmos.
|
|
247
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
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;
|