decentralcardgame-cardchain-client-ts 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DecentralCardGame.cardchain.cardchain/module.js +1044 -0
- package/DecentralCardGame.cardchain.cardchain/module.ts +493 -458
- package/DecentralCardGame.cardchain.cardchain/registry.js +72 -70
- package/DecentralCardGame.cardchain.cardchain/registry.ts +71 -69
- package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/rest.ts +11 -1
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +30 -6
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +33 -6
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +11 -17
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.ts +11 -17
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +1 -217
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +1 -252
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +166 -8
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +203 -11
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +7 -65
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +8 -77
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +30 -10
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/tx.js +4137 -0
- package/DecentralCardGame.cardchain.cardchain/types.js +22 -21
- package/DecentralCardGame.cardchain.cardchain/types.ts +22 -20
- package/client.js +2 -1
- package/cosmos.authz.v1beta1/module.js +19 -19
- package/cosmos.authz.v1beta1/registry.js +2 -2
- package/cosmos.distribution.v1beta1/module.js +24 -24
- package/cosmos.distribution.v1beta1/registry.js +4 -4
- package/cosmos.gov.v1/module.js +31 -31
- package/cosmos.gov.v1/registry.js +4 -4
- package/cosmos.gov.v1beta1/module.js +22 -22
- package/cosmos.gov.v1beta1/registry.js +2 -2
- package/cosmos.group.v1/module.js +102 -102
- package/cosmos.group.v1/registry.js +14 -14
- package/cosmos.group.v1/rest.js +15 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.js +110 -0
- package/cosmos.staking.v1beta1/module.js +40 -40
- package/cosmos.staking.v1beta1/registry.js +8 -8
- package/cosmos.vesting.v1beta1/module.js +16 -16
- package/cosmos.vesting.v1beta1/registry.js +2 -2
- package/ibc.applications.interchain_accounts.controller.v1/rest.js +9 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +99 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +266 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +24 -6
- package/ibc.core.client.v1/rest.js +14 -14
- package/ibc.core.connection.v1/rest.js +14 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +83 -1
- package/package.json +2 -2
- package/tsconfig.json +0 -1
|
@@ -1,83 +1,85 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { MsgSubmitCopyrightProposal } from "./types/cardchain/tx";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { MsgCreateuser } from "./types/cardchain/tx";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
1
|
+
import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
|
|
2
|
+
import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
3
|
+
import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
|
|
4
|
+
import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
|
|
5
|
+
import { MsgAddContributorToCollection } from "./types/cardchain/cardchain/tx";
|
|
6
|
+
import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
|
|
7
|
+
import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
|
|
8
|
+
import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
|
|
9
|
+
import { MsgCreateCollection } from "./types/cardchain/cardchain/tx";
|
|
10
|
+
import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
|
|
11
|
+
import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
|
|
12
|
+
import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
|
|
13
|
+
import { MsgRemoveContributorFromCollection } from "./types/cardchain/cardchain/tx";
|
|
14
|
+
import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
|
|
15
|
+
import { MsgSubmitCopyrightProposal } from "./types/cardchain/cardchain/tx";
|
|
16
|
+
import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
|
|
17
|
+
import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
|
|
18
|
+
import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
|
|
19
|
+
import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
|
|
20
|
+
import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
|
|
21
|
+
import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
22
|
+
import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
|
|
23
|
+
import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
|
|
24
|
+
import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
|
|
25
|
+
import { MsgSubmitCollectionProposal } from "./types/cardchain/cardchain/tx";
|
|
26
|
+
import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
|
|
27
|
+
import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
|
|
28
|
+
import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
29
|
+
import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
|
|
30
|
+
import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
|
|
31
|
+
import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
|
|
32
|
+
import { MsgSetCollectionStoryWriter } from "./types/cardchain/cardchain/tx";
|
|
33
|
+
import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
|
|
34
|
+
import { MsgAddArtworkToCollection } from "./types/cardchain/cardchain/tx";
|
|
35
|
+
import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
|
|
36
|
+
import { MsgSetCollectionArtist } from "./types/cardchain/cardchain/tx";
|
|
37
|
+
import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
38
|
+
import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
|
|
39
|
+
import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
|
|
40
|
+
import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
|
|
41
|
+
import { MsgRemoveCardFromCollection } from "./types/cardchain/cardchain/tx";
|
|
41
42
|
const msgTypes = [
|
|
42
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
43
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
44
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
45
|
-
["/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", MsgRewokeCouncilRegistration],
|
|
46
|
-
["/DecentralCardGame.cardchain.cardchain.MsgBuyCard", MsgBuyCard],
|
|
47
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", MsgSubmitMatchReporterProposal],
|
|
43
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", MsgCreateCouncil],
|
|
44
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", MsgCommitCouncilResponse],
|
|
45
|
+
["/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", MsgFinalizeCollection],
|
|
48
46
|
["/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", MsgSetCardRarity],
|
|
49
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
47
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", MsgAddContributorToCollection],
|
|
48
|
+
["/DecentralCardGame.cardchain.cardchain.MsgTransferCard", MsgTransferCard],
|
|
49
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", MsgSetUserBiography],
|
|
50
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", MsgRemoveSellOffer],
|
|
51
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", MsgCreateCollection],
|
|
52
|
+
["/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", MsgApointMatchReporter],
|
|
53
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", MsgSetProfileCard],
|
|
54
|
+
["/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", MsgDonateToCard],
|
|
50
55
|
["/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", MsgRemoveContributorFromCollection],
|
|
51
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
52
|
-
["/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", MsgAddCardToCollection],
|
|
53
|
-
["/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", MsgRemoveCardFromCollection],
|
|
54
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", MsgSubmitCollectionProposal],
|
|
55
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSetCollectionStoryWriter", MsgSetCollectionStoryWriter],
|
|
56
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", MsgAddStoryToCollection],
|
|
56
57
|
["/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", MsgSubmitCopyrightProposal],
|
|
57
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
58
|
+
["/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", MsgMultiVoteCard],
|
|
59
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", MsgAddArtwork],
|
|
60
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", MsgRegisterForCouncil],
|
|
61
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", MsgSetUserWebsite],
|
|
62
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", MsgSaveCardContent],
|
|
58
63
|
["/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", MsgOpenBoosterPack],
|
|
59
|
-
["/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", MsgChangeArtist],
|
|
60
64
|
["/DecentralCardGame.cardchain.cardchain.MsgReportMatch", MsgReportMatch],
|
|
61
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", MsgSetUserBiography],
|
|
62
|
-
["/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", MsgRevealCouncilResponse],
|
|
63
|
-
["/DecentralCardGame.cardchain.cardchain.MsgTransferCard", MsgTransferCard],
|
|
64
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", MsgSaveCardContent],
|
|
65
|
-
["/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", MsgConfirmMatch],
|
|
66
|
-
["/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", MsgAddStoryToCollection],
|
|
67
|
-
["/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", MsgDonateToCard],
|
|
68
|
-
["/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", MsgCreateSellOffer],
|
|
69
|
-
["/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", MsgAddContributorToCollection],
|
|
70
65
|
["/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", MsgBuyCollection],
|
|
66
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", MsgAddCardToCollection],
|
|
67
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", MsgSubmitCollectionProposal],
|
|
68
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", MsgRewokeCouncilRegistration],
|
|
69
|
+
["/DecentralCardGame.cardchain.cardchain.MsgVoteCard", MsgVoteCard],
|
|
71
70
|
["/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", MsgTransferBoosterPack],
|
|
72
71
|
["/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", MsgRestartCouncil],
|
|
73
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
72
|
+
["/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", MsgBuyCardScheme],
|
|
73
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", MsgSubmitMatchReporterProposal],
|
|
74
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetCollectionStoryWriter", MsgSetCollectionStoryWriter],
|
|
74
75
|
["/DecentralCardGame.cardchain.cardchain.MsgCreateuser", MsgCreateuser],
|
|
76
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", MsgAddArtworkToCollection],
|
|
77
|
+
["/DecentralCardGame.cardchain.cardchain.MsgBuyCard", MsgBuyCard],
|
|
75
78
|
["/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", MsgSetCollectionArtist],
|
|
76
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
77
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
78
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
79
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
80
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
81
|
-
["/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", MsgFinalizeCollection],
|
|
79
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", MsgRevealCouncilResponse],
|
|
80
|
+
["/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", MsgConfirmMatch],
|
|
81
|
+
["/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", MsgChangeArtist],
|
|
82
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", MsgCreateSellOffer],
|
|
83
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", MsgRemoveCardFromCollection],
|
|
82
84
|
];
|
|
83
85
|
export { msgTypes };
|
|
@@ -1,86 +1,88 @@
|
|
|
1
1
|
import { GeneratedType } from "@cosmjs/proto-signing";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { MsgApointMatchReporter } from "./types/cardchain/tx";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { MsgSetCollectionStoryWriter } from "./types/cardchain/tx";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
2
|
+
import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
|
|
3
|
+
import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
4
|
+
import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
|
|
5
|
+
import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
|
|
6
|
+
import { MsgAddContributorToCollection } from "./types/cardchain/cardchain/tx";
|
|
7
|
+
import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
|
|
8
|
+
import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
|
|
9
|
+
import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
|
|
10
|
+
import { MsgCreateCollection } from "./types/cardchain/cardchain/tx";
|
|
11
|
+
import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
|
|
12
|
+
import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
|
|
13
|
+
import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
|
|
14
|
+
import { MsgRemoveContributorFromCollection } from "./types/cardchain/cardchain/tx";
|
|
15
|
+
import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
|
|
16
|
+
import { MsgSubmitCopyrightProposal } from "./types/cardchain/cardchain/tx";
|
|
17
|
+
import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
|
|
18
|
+
import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
|
|
19
|
+
import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
|
|
20
|
+
import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
|
|
21
|
+
import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
|
|
22
|
+
import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
23
|
+
import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
|
|
24
|
+
import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
|
|
25
|
+
import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
|
|
26
|
+
import { MsgSubmitCollectionProposal } from "./types/cardchain/cardchain/tx";
|
|
27
|
+
import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
|
|
28
|
+
import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
|
|
29
|
+
import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
30
|
+
import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
|
|
31
|
+
import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
|
|
32
|
+
import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
|
|
33
|
+
import { MsgSetCollectionStoryWriter } from "./types/cardchain/cardchain/tx";
|
|
34
|
+
import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
|
|
35
|
+
import { MsgAddArtworkToCollection } from "./types/cardchain/cardchain/tx";
|
|
36
|
+
import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
|
|
37
|
+
import { MsgSetCollectionArtist } from "./types/cardchain/cardchain/tx";
|
|
38
|
+
import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
39
|
+
import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
|
|
40
|
+
import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
|
|
41
|
+
import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
|
|
42
|
+
import { MsgRemoveCardFromCollection } from "./types/cardchain/cardchain/tx";
|
|
42
43
|
|
|
43
44
|
const msgTypes: Array<[string, GeneratedType]> = [
|
|
44
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
45
|
-
["/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", MsgRestartCouncil],
|
|
45
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", MsgCreateCouncil],
|
|
46
46
|
["/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", MsgCommitCouncilResponse],
|
|
47
|
-
["/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", MsgOpenBoosterPack],
|
|
48
|
-
["/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", MsgRemoveCardFromCollection],
|
|
49
|
-
["/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", MsgBuyCollection],
|
|
50
|
-
["/DecentralCardGame.cardchain.cardchain.MsgBuyCard", MsgBuyCard],
|
|
51
|
-
["/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", MsgConfirmMatch],
|
|
52
|
-
["/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", MsgAddArtwork],
|
|
53
|
-
["/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", MsgApointMatchReporter],
|
|
54
|
-
["/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", MsgRegisterForCouncil],
|
|
55
47
|
["/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", MsgFinalizeCollection],
|
|
56
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
48
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", MsgSetCardRarity],
|
|
57
49
|
["/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", MsgAddContributorToCollection],
|
|
58
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
50
|
+
["/DecentralCardGame.cardchain.cardchain.MsgTransferCard", MsgTransferCard],
|
|
51
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", MsgSetUserBiography],
|
|
59
52
|
["/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", MsgRemoveSellOffer],
|
|
60
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
61
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
53
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", MsgCreateCollection],
|
|
54
|
+
["/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", MsgApointMatchReporter],
|
|
55
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", MsgSetProfileCard],
|
|
56
|
+
["/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", MsgDonateToCard],
|
|
62
57
|
["/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", MsgRemoveContributorFromCollection],
|
|
58
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", MsgAddStoryToCollection],
|
|
59
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", MsgSubmitCopyrightProposal],
|
|
60
|
+
["/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", MsgMultiVoteCard],
|
|
61
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", MsgAddArtwork],
|
|
62
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", MsgRegisterForCouncil],
|
|
63
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", MsgSetUserWebsite],
|
|
64
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", MsgSaveCardContent],
|
|
65
|
+
["/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", MsgOpenBoosterPack],
|
|
66
|
+
["/DecentralCardGame.cardchain.cardchain.MsgReportMatch", MsgReportMatch],
|
|
67
|
+
["/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", MsgBuyCollection],
|
|
68
|
+
["/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", MsgAddCardToCollection],
|
|
69
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", MsgSubmitCollectionProposal],
|
|
70
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", MsgRewokeCouncilRegistration],
|
|
63
71
|
["/DecentralCardGame.cardchain.cardchain.MsgVoteCard", MsgVoteCard],
|
|
64
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", MsgSetProfileCard],
|
|
65
72
|
["/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", MsgTransferBoosterPack],
|
|
66
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
67
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", MsgSetUserBiography],
|
|
73
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", MsgRestartCouncil],
|
|
68
74
|
["/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", MsgBuyCardScheme],
|
|
69
|
-
["/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", MsgAddStoryToCollection],
|
|
70
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", MsgSaveCardContent],
|
|
71
75
|
["/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", MsgSubmitMatchReporterProposal],
|
|
72
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", MsgSubmitCopyrightProposal],
|
|
73
|
-
["/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", MsgChangeArtist],
|
|
74
|
-
["/DecentralCardGame.cardchain.cardchain.MsgTransferCard", MsgTransferCard],
|
|
75
76
|
["/DecentralCardGame.cardchain.cardchain.MsgSetCollectionStoryWriter", MsgSetCollectionStoryWriter],
|
|
76
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
77
|
-
["/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", MsgSetCollectionArtist],
|
|
78
|
-
["/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", MsgCreateCollection],
|
|
79
|
-
["/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", MsgDonateToCard],
|
|
77
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCreateuser", MsgCreateuser],
|
|
80
78
|
["/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", MsgAddArtworkToCollection],
|
|
81
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
82
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
83
|
-
["/DecentralCardGame.cardchain.cardchain.
|
|
79
|
+
["/DecentralCardGame.cardchain.cardchain.MsgBuyCard", MsgBuyCard],
|
|
80
|
+
["/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", MsgSetCollectionArtist],
|
|
81
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", MsgRevealCouncilResponse],
|
|
82
|
+
["/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", MsgConfirmMatch],
|
|
83
|
+
["/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", MsgChangeArtist],
|
|
84
|
+
["/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", MsgCreateSellOffer],
|
|
85
|
+
["/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", MsgRemoveCardFromCollection],
|
|
84
86
|
|
|
85
87
|
];
|
|
86
88
|
|
|
@@ -126,6 +126,8 @@ export type CardchainMsgDonateToCardResponse = object;
|
|
|
126
126
|
|
|
127
127
|
export type CardchainMsgFinalizeCollectionResponse = object;
|
|
128
128
|
|
|
129
|
+
export type CardchainMsgMultiVoteCardResponse = object;
|
|
130
|
+
|
|
129
131
|
export type CardchainMsgOpenBoosterPackResponse = object;
|
|
130
132
|
|
|
131
133
|
export type CardchainMsgRegisterForCouncilResponse = object;
|
|
@@ -209,6 +211,8 @@ export interface CardchainOutpCard {
|
|
|
209
211
|
|
|
210
212
|
/** @format int64 */
|
|
211
213
|
nerflevel?: string;
|
|
214
|
+
balanceAnchor?: boolean;
|
|
215
|
+
hash?: string;
|
|
212
216
|
}
|
|
213
217
|
|
|
214
218
|
export interface CardchainOutpCollection {
|
|
@@ -385,6 +389,12 @@ export interface CardchainServer {
|
|
|
385
389
|
validReports?: string;
|
|
386
390
|
}
|
|
387
391
|
|
|
392
|
+
export interface CardchainSingleVote {
|
|
393
|
+
/** @format uint64 */
|
|
394
|
+
cardId?: string;
|
|
395
|
+
voteType?: string;
|
|
396
|
+
}
|
|
397
|
+
|
|
388
398
|
export interface CardchainUser {
|
|
389
399
|
alias?: string;
|
|
390
400
|
ownedCardSchemes?: string[];
|
|
@@ -613,7 +623,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
613
623
|
}
|
|
614
624
|
|
|
615
625
|
/**
|
|
616
|
-
* @title cardchain/card.proto
|
|
626
|
+
* @title cardchain/cardchain/card.proto
|
|
617
627
|
* @version version not set
|
|
618
628
|
*/
|
|
619
629
|
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
@@ -13,7 +13,6 @@ export var Status;
|
|
|
13
13
|
Status[Status["bannedSoon"] = 6] = "bannedSoon";
|
|
14
14
|
Status[Status["bannedVerySoon"] = 7] = "bannedVerySoon";
|
|
15
15
|
Status[Status["none"] = 8] = "none";
|
|
16
|
-
Status[Status["inCouncil"] = 9] = "inCouncil";
|
|
17
16
|
Status[Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
17
|
})(Status || (Status = {}));
|
|
19
18
|
export function statusFromJSON(object) {
|
|
@@ -45,9 +44,6 @@ export function statusFromJSON(object) {
|
|
|
45
44
|
case 8:
|
|
46
45
|
case "none":
|
|
47
46
|
return Status.none;
|
|
48
|
-
case 9:
|
|
49
|
-
case "inCouncil":
|
|
50
|
-
return Status.inCouncil;
|
|
51
47
|
case -1:
|
|
52
48
|
case "UNRECOGNIZED":
|
|
53
49
|
default:
|
|
@@ -74,8 +70,6 @@ export function statusToJSON(object) {
|
|
|
74
70
|
return "bannedVerySoon";
|
|
75
71
|
case Status.none:
|
|
76
72
|
return "none";
|
|
77
|
-
case Status.inCouncil:
|
|
78
|
-
return "inCouncil";
|
|
79
73
|
case Status.UNRECOGNIZED:
|
|
80
74
|
default:
|
|
81
75
|
return "UNRECOGNIZED";
|
|
@@ -97,6 +91,7 @@ function createBaseCard() {
|
|
|
97
91
|
underpoweredVotes: 0,
|
|
98
92
|
inappropriateVotes: 0,
|
|
99
93
|
nerflevel: 0,
|
|
94
|
+
balanceAnchor: false,
|
|
100
95
|
};
|
|
101
96
|
}
|
|
102
97
|
export const Card = {
|
|
@@ -143,6 +138,9 @@ export const Card = {
|
|
|
143
138
|
if (message.nerflevel !== 0) {
|
|
144
139
|
writer.uint32(104).int64(message.nerflevel);
|
|
145
140
|
}
|
|
141
|
+
if (message.balanceAnchor === true) {
|
|
142
|
+
writer.uint32(120).bool(message.balanceAnchor);
|
|
143
|
+
}
|
|
146
144
|
return writer;
|
|
147
145
|
},
|
|
148
146
|
decode(input, length) {
|
|
@@ -194,6 +192,9 @@ export const Card = {
|
|
|
194
192
|
case 13:
|
|
195
193
|
message.nerflevel = longToNumber(reader.int64());
|
|
196
194
|
break;
|
|
195
|
+
case 15:
|
|
196
|
+
message.balanceAnchor = reader.bool();
|
|
197
|
+
break;
|
|
197
198
|
default:
|
|
198
199
|
reader.skipType(tag & 7);
|
|
199
200
|
break;
|
|
@@ -217,6 +218,7 @@ export const Card = {
|
|
|
217
218
|
underpoweredVotes: isSet(object.underpoweredVotes) ? Number(object.underpoweredVotes) : 0,
|
|
218
219
|
inappropriateVotes: isSet(object.inappropriateVotes) ? Number(object.inappropriateVotes) : 0,
|
|
219
220
|
nerflevel: isSet(object.nerflevel) ? Number(object.nerflevel) : 0,
|
|
221
|
+
balanceAnchor: isSet(object.balanceAnchor) ? Boolean(object.balanceAnchor) : false,
|
|
220
222
|
};
|
|
221
223
|
},
|
|
222
224
|
toJSON(message) {
|
|
@@ -241,6 +243,7 @@ export const Card = {
|
|
|
241
243
|
message.underpoweredVotes !== undefined && (obj.underpoweredVotes = Math.round(message.underpoweredVotes));
|
|
242
244
|
message.inappropriateVotes !== undefined && (obj.inappropriateVotes = Math.round(message.inappropriateVotes));
|
|
243
245
|
message.nerflevel !== undefined && (obj.nerflevel = Math.round(message.nerflevel));
|
|
246
|
+
message.balanceAnchor !== undefined && (obj.balanceAnchor = message.balanceAnchor);
|
|
244
247
|
return obj;
|
|
245
248
|
},
|
|
246
249
|
fromPartial(object) {
|
|
@@ -259,6 +262,7 @@ export const Card = {
|
|
|
259
262
|
message.underpoweredVotes = object.underpoweredVotes ?? 0;
|
|
260
263
|
message.inappropriateVotes = object.inappropriateVotes ?? 0;
|
|
261
264
|
message.nerflevel = object.nerflevel ?? 0;
|
|
265
|
+
message.balanceAnchor = object.balanceAnchor ?? false;
|
|
262
266
|
return message;
|
|
263
267
|
},
|
|
264
268
|
};
|
|
@@ -278,6 +282,8 @@ function createBaseOutpCard() {
|
|
|
278
282
|
underpoweredVotes: 0,
|
|
279
283
|
inappropriateVotes: 0,
|
|
280
284
|
nerflevel: 0,
|
|
285
|
+
balanceAnchor: false,
|
|
286
|
+
hash: "",
|
|
281
287
|
};
|
|
282
288
|
}
|
|
283
289
|
export const OutpCard = {
|
|
@@ -324,6 +330,12 @@ export const OutpCard = {
|
|
|
324
330
|
if (message.nerflevel !== 0) {
|
|
325
331
|
writer.uint32(104).int64(message.nerflevel);
|
|
326
332
|
}
|
|
333
|
+
if (message.balanceAnchor === true) {
|
|
334
|
+
writer.uint32(120).bool(message.balanceAnchor);
|
|
335
|
+
}
|
|
336
|
+
if (message.hash !== "") {
|
|
337
|
+
writer.uint32(130).string(message.hash);
|
|
338
|
+
}
|
|
327
339
|
return writer;
|
|
328
340
|
},
|
|
329
341
|
decode(input, length) {
|
|
@@ -375,6 +387,12 @@ export const OutpCard = {
|
|
|
375
387
|
case 13:
|
|
376
388
|
message.nerflevel = longToNumber(reader.int64());
|
|
377
389
|
break;
|
|
390
|
+
case 15:
|
|
391
|
+
message.balanceAnchor = reader.bool();
|
|
392
|
+
break;
|
|
393
|
+
case 16:
|
|
394
|
+
message.hash = reader.string();
|
|
395
|
+
break;
|
|
378
396
|
default:
|
|
379
397
|
reader.skipType(tag & 7);
|
|
380
398
|
break;
|
|
@@ -398,6 +416,8 @@ export const OutpCard = {
|
|
|
398
416
|
underpoweredVotes: isSet(object.underpoweredVotes) ? Number(object.underpoweredVotes) : 0,
|
|
399
417
|
inappropriateVotes: isSet(object.inappropriateVotes) ? Number(object.inappropriateVotes) : 0,
|
|
400
418
|
nerflevel: isSet(object.nerflevel) ? Number(object.nerflevel) : 0,
|
|
419
|
+
balanceAnchor: isSet(object.balanceAnchor) ? Boolean(object.balanceAnchor) : false,
|
|
420
|
+
hash: isSet(object.hash) ? String(object.hash) : "",
|
|
401
421
|
};
|
|
402
422
|
},
|
|
403
423
|
toJSON(message) {
|
|
@@ -421,6 +441,8 @@ export const OutpCard = {
|
|
|
421
441
|
message.underpoweredVotes !== undefined && (obj.underpoweredVotes = Math.round(message.underpoweredVotes));
|
|
422
442
|
message.inappropriateVotes !== undefined && (obj.inappropriateVotes = Math.round(message.inappropriateVotes));
|
|
423
443
|
message.nerflevel !== undefined && (obj.nerflevel = Math.round(message.nerflevel));
|
|
444
|
+
message.balanceAnchor !== undefined && (obj.balanceAnchor = message.balanceAnchor);
|
|
445
|
+
message.hash !== undefined && (obj.hash = message.hash);
|
|
424
446
|
return obj;
|
|
425
447
|
},
|
|
426
448
|
fromPartial(object) {
|
|
@@ -439,6 +461,8 @@ export const OutpCard = {
|
|
|
439
461
|
message.underpoweredVotes = object.underpoweredVotes ?? 0;
|
|
440
462
|
message.inappropriateVotes = object.inappropriateVotes ?? 0;
|
|
441
463
|
message.nerflevel = object.nerflevel ?? 0;
|
|
464
|
+
message.balanceAnchor = object.balanceAnchor ?? false;
|
|
465
|
+
message.hash = object.hash ?? "";
|
|
442
466
|
return message;
|
|
443
467
|
},
|
|
444
468
|
};
|