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.
Files changed (47) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +1044 -0
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +493 -458
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +72 -70
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +71 -69
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +11 -1
  7. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +30 -6
  8. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +33 -6
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +11 -17
  10. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.ts +11 -17
  11. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +1 -217
  12. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +1 -252
  13. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +166 -8
  14. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +203 -11
  15. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +7 -65
  16. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +8 -77
  17. package/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +30 -10
  18. package/DecentralCardGame.cardchain.cardchain/types/cardchain/tx.js +4137 -0
  19. package/DecentralCardGame.cardchain.cardchain/types.js +22 -21
  20. package/DecentralCardGame.cardchain.cardchain/types.ts +22 -20
  21. package/client.js +2 -1
  22. package/cosmos.authz.v1beta1/module.js +19 -19
  23. package/cosmos.authz.v1beta1/registry.js +2 -2
  24. package/cosmos.distribution.v1beta1/module.js +24 -24
  25. package/cosmos.distribution.v1beta1/registry.js +4 -4
  26. package/cosmos.gov.v1/module.js +31 -31
  27. package/cosmos.gov.v1/registry.js +4 -4
  28. package/cosmos.gov.v1beta1/module.js +22 -22
  29. package/cosmos.gov.v1beta1/registry.js +2 -2
  30. package/cosmos.group.v1/module.js +102 -102
  31. package/cosmos.group.v1/registry.js +14 -14
  32. package/cosmos.group.v1/rest.js +15 -0
  33. package/cosmos.group.v1/types/cosmos/group/v1/query.js +110 -0
  34. package/cosmos.staking.v1beta1/module.js +40 -40
  35. package/cosmos.staking.v1beta1/registry.js +8 -8
  36. package/cosmos.vesting.v1beta1/module.js +16 -16
  37. package/cosmos.vesting.v1beta1/registry.js +2 -2
  38. package/ibc.applications.interchain_accounts.controller.v1/rest.js +9 -0
  39. package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +99 -0
  40. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +266 -0
  41. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
  42. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +24 -6
  43. package/ibc.core.client.v1/rest.js +14 -14
  44. package/ibc.core.connection.v1/rest.js +14 -0
  45. package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +83 -1
  46. package/package.json +2 -2
  47. package/tsconfig.json +0 -1
@@ -14,7 +14,6 @@ export enum Status {
14
14
  bannedSoon = 6,
15
15
  bannedVerySoon = 7,
16
16
  none = 8,
17
- inCouncil = 9,
18
17
  UNRECOGNIZED = -1,
19
18
  }
20
19
 
@@ -47,9 +46,6 @@ export function statusFromJSON(object: any): Status {
47
46
  case 8:
48
47
  case "none":
49
48
  return Status.none;
50
- case 9:
51
- case "inCouncil":
52
- return Status.inCouncil;
53
49
  case -1:
54
50
  case "UNRECOGNIZED":
55
51
  default:
@@ -77,8 +73,6 @@ export function statusToJSON(object: Status): string {
77
73
  return "bannedVerySoon";
78
74
  case Status.none:
79
75
  return "none";
80
- case Status.inCouncil:
81
- return "inCouncil";
82
76
  case Status.UNRECOGNIZED:
83
77
  default:
84
78
  return "UNRECOGNIZED";
@@ -100,6 +94,7 @@ export interface Card {
100
94
  underpoweredVotes: number;
101
95
  inappropriateVotes: number;
102
96
  nerflevel: number;
97
+ balanceAnchor: boolean;
103
98
  }
104
99
 
105
100
  export interface OutpCard {
@@ -117,6 +112,8 @@ export interface OutpCard {
117
112
  underpoweredVotes: number;
118
113
  inappropriateVotes: number;
119
114
  nerflevel: number;
115
+ balanceAnchor: boolean;
116
+ hash: string;
120
117
  }
121
118
 
122
119
  function createBaseCard(): Card {
@@ -135,6 +132,7 @@ function createBaseCard(): Card {
135
132
  underpoweredVotes: 0,
136
133
  inappropriateVotes: 0,
137
134
  nerflevel: 0,
135
+ balanceAnchor: false,
138
136
  };
139
137
  }
140
138
 
@@ -182,6 +180,9 @@ export const Card = {
182
180
  if (message.nerflevel !== 0) {
183
181
  writer.uint32(104).int64(message.nerflevel);
184
182
  }
183
+ if (message.balanceAnchor === true) {
184
+ writer.uint32(120).bool(message.balanceAnchor);
185
+ }
185
186
  return writer;
186
187
  },
187
188
 
@@ -234,6 +235,9 @@ export const Card = {
234
235
  case 13:
235
236
  message.nerflevel = longToNumber(reader.int64() as Long);
236
237
  break;
238
+ case 15:
239
+ message.balanceAnchor = reader.bool();
240
+ break;
237
241
  default:
238
242
  reader.skipType(tag & 7);
239
243
  break;
@@ -258,6 +262,7 @@ export const Card = {
258
262
  underpoweredVotes: isSet(object.underpoweredVotes) ? Number(object.underpoweredVotes) : 0,
259
263
  inappropriateVotes: isSet(object.inappropriateVotes) ? Number(object.inappropriateVotes) : 0,
260
264
  nerflevel: isSet(object.nerflevel) ? Number(object.nerflevel) : 0,
265
+ balanceAnchor: isSet(object.balanceAnchor) ? Boolean(object.balanceAnchor) : false,
261
266
  };
262
267
  },
263
268
 
@@ -282,6 +287,7 @@ export const Card = {
282
287
  message.underpoweredVotes !== undefined && (obj.underpoweredVotes = Math.round(message.underpoweredVotes));
283
288
  message.inappropriateVotes !== undefined && (obj.inappropriateVotes = Math.round(message.inappropriateVotes));
284
289
  message.nerflevel !== undefined && (obj.nerflevel = Math.round(message.nerflevel));
290
+ message.balanceAnchor !== undefined && (obj.balanceAnchor = message.balanceAnchor);
285
291
  return obj;
286
292
  },
287
293
 
@@ -301,6 +307,7 @@ export const Card = {
301
307
  message.underpoweredVotes = object.underpoweredVotes ?? 0;
302
308
  message.inappropriateVotes = object.inappropriateVotes ?? 0;
303
309
  message.nerflevel = object.nerflevel ?? 0;
310
+ message.balanceAnchor = object.balanceAnchor ?? false;
304
311
  return message;
305
312
  },
306
313
  };
@@ -321,6 +328,8 @@ function createBaseOutpCard(): OutpCard {
321
328
  underpoweredVotes: 0,
322
329
  inappropriateVotes: 0,
323
330
  nerflevel: 0,
331
+ balanceAnchor: false,
332
+ hash: "",
324
333
  };
325
334
  }
326
335
 
@@ -368,6 +377,12 @@ export const OutpCard = {
368
377
  if (message.nerflevel !== 0) {
369
378
  writer.uint32(104).int64(message.nerflevel);
370
379
  }
380
+ if (message.balanceAnchor === true) {
381
+ writer.uint32(120).bool(message.balanceAnchor);
382
+ }
383
+ if (message.hash !== "") {
384
+ writer.uint32(130).string(message.hash);
385
+ }
371
386
  return writer;
372
387
  },
373
388
 
@@ -420,6 +435,12 @@ export const OutpCard = {
420
435
  case 13:
421
436
  message.nerflevel = longToNumber(reader.int64() as Long);
422
437
  break;
438
+ case 15:
439
+ message.balanceAnchor = reader.bool();
440
+ break;
441
+ case 16:
442
+ message.hash = reader.string();
443
+ break;
423
444
  default:
424
445
  reader.skipType(tag & 7);
425
446
  break;
@@ -444,6 +465,8 @@ export const OutpCard = {
444
465
  underpoweredVotes: isSet(object.underpoweredVotes) ? Number(object.underpoweredVotes) : 0,
445
466
  inappropriateVotes: isSet(object.inappropriateVotes) ? Number(object.inappropriateVotes) : 0,
446
467
  nerflevel: isSet(object.nerflevel) ? Number(object.nerflevel) : 0,
468
+ balanceAnchor: isSet(object.balanceAnchor) ? Boolean(object.balanceAnchor) : false,
469
+ hash: isSet(object.hash) ? String(object.hash) : "",
447
470
  };
448
471
  },
449
472
 
@@ -467,6 +490,8 @@ export const OutpCard = {
467
490
  message.underpoweredVotes !== undefined && (obj.underpoweredVotes = Math.round(message.underpoweredVotes));
468
491
  message.inappropriateVotes !== undefined && (obj.inappropriateVotes = Math.round(message.inappropriateVotes));
469
492
  message.nerflevel !== undefined && (obj.nerflevel = Math.round(message.nerflevel));
493
+ message.balanceAnchor !== undefined && (obj.balanceAnchor = message.balanceAnchor);
494
+ message.hash !== undefined && (obj.hash = message.hash);
470
495
  return obj;
471
496
  },
472
497
 
@@ -486,6 +511,8 @@ export const OutpCard = {
486
511
  message.underpoweredVotes = object.underpoweredVotes ?? 0;
487
512
  message.inappropriateVotes = object.inappropriateVotes ?? 0;
488
513
  message.nerflevel = object.nerflevel ?? 0;
514
+ message.balanceAnchor = object.balanceAnchor ?? false;
515
+ message.hash = object.hash ?? "";
489
516
  return message;
490
517
  },
491
518
  };
@@ -41,36 +41,32 @@ export function responseToJSON(object) {
41
41
  }
42
42
  export var CouncelingStatus;
43
43
  (function (CouncelingStatus) {
44
- CouncelingStatus[CouncelingStatus["councilDoesNotExist"] = 0] = "councilDoesNotExist";
45
- CouncelingStatus[CouncelingStatus["councilOpen"] = 1] = "councilOpen";
46
- CouncelingStatus[CouncelingStatus["councilCreated"] = 2] = "councilCreated";
47
- CouncelingStatus[CouncelingStatus["councilClosed"] = 3] = "councilClosed";
48
- CouncelingStatus[CouncelingStatus["commited"] = 4] = "commited";
49
- CouncelingStatus[CouncelingStatus["revealed"] = 5] = "revealed";
50
- CouncelingStatus[CouncelingStatus["suggestionsMade"] = 6] = "suggestionsMade";
44
+ CouncelingStatus[CouncelingStatus["councilOpen"] = 0] = "councilOpen";
45
+ CouncelingStatus[CouncelingStatus["councilCreated"] = 1] = "councilCreated";
46
+ CouncelingStatus[CouncelingStatus["councilClosed"] = 2] = "councilClosed";
47
+ CouncelingStatus[CouncelingStatus["commited"] = 3] = "commited";
48
+ CouncelingStatus[CouncelingStatus["revealed"] = 4] = "revealed";
49
+ CouncelingStatus[CouncelingStatus["suggestionsMade"] = 5] = "suggestionsMade";
51
50
  CouncelingStatus[CouncelingStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
52
51
  })(CouncelingStatus || (CouncelingStatus = {}));
53
52
  export function councelingStatusFromJSON(object) {
54
53
  switch (object) {
55
54
  case 0:
56
- case "councilDoesNotExist":
57
- return CouncelingStatus.councilDoesNotExist;
58
- case 1:
59
55
  case "councilOpen":
60
56
  return CouncelingStatus.councilOpen;
61
- case 2:
57
+ case 1:
62
58
  case "councilCreated":
63
59
  return CouncelingStatus.councilCreated;
64
- case 3:
60
+ case 2:
65
61
  case "councilClosed":
66
62
  return CouncelingStatus.councilClosed;
67
- case 4:
63
+ case 3:
68
64
  case "commited":
69
65
  return CouncelingStatus.commited;
70
- case 5:
66
+ case 4:
71
67
  case "revealed":
72
68
  return CouncelingStatus.revealed;
73
- case 6:
69
+ case 5:
74
70
  case "suggestionsMade":
75
71
  return CouncelingStatus.suggestionsMade;
76
72
  case -1:
@@ -81,8 +77,6 @@ export function councelingStatusFromJSON(object) {
81
77
  }
82
78
  export function councelingStatusToJSON(object) {
83
79
  switch (object) {
84
- case CouncelingStatus.councilDoesNotExist:
85
- return "councilDoesNotExist";
86
80
  case CouncelingStatus.councilOpen:
87
81
  return "councilOpen";
88
82
  case CouncelingStatus.councilCreated:
@@ -44,37 +44,33 @@ export function responseToJSON(object: Response): string {
44
44
  }
45
45
 
46
46
  export enum CouncelingStatus {
47
- councilDoesNotExist = 0,
48
- councilOpen = 1,
49
- councilCreated = 2,
50
- councilClosed = 3,
51
- commited = 4,
52
- revealed = 5,
53
- suggestionsMade = 6,
47
+ councilOpen = 0,
48
+ councilCreated = 1,
49
+ councilClosed = 2,
50
+ commited = 3,
51
+ revealed = 4,
52
+ suggestionsMade = 5,
54
53
  UNRECOGNIZED = -1,
55
54
  }
56
55
 
57
56
  export function councelingStatusFromJSON(object: any): CouncelingStatus {
58
57
  switch (object) {
59
58
  case 0:
60
- case "councilDoesNotExist":
61
- return CouncelingStatus.councilDoesNotExist;
62
- case 1:
63
59
  case "councilOpen":
64
60
  return CouncelingStatus.councilOpen;
65
- case 2:
61
+ case 1:
66
62
  case "councilCreated":
67
63
  return CouncelingStatus.councilCreated;
68
- case 3:
64
+ case 2:
69
65
  case "councilClosed":
70
66
  return CouncelingStatus.councilClosed;
71
- case 4:
67
+ case 3:
72
68
  case "commited":
73
69
  return CouncelingStatus.commited;
74
- case 5:
70
+ case 4:
75
71
  case "revealed":
76
72
  return CouncelingStatus.revealed;
77
- case 6:
73
+ case 5:
78
74
  case "suggestionsMade":
79
75
  return CouncelingStatus.suggestionsMade;
80
76
  case -1:
@@ -86,8 +82,6 @@ export function councelingStatusFromJSON(object: any): CouncelingStatus {
86
82
 
87
83
  export function councelingStatusToJSON(object: CouncelingStatus): string {
88
84
  switch (object) {
89
- case CouncelingStatus.councilDoesNotExist:
90
- return "councilDoesNotExist";
91
85
  case CouncelingStatus.councilOpen:
92
86
  return "councilOpen";
93
87
  case CouncelingStatus.councilCreated:
@@ -3,7 +3,7 @@ import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
4
  import { OutpCard } from "./card";
5
5
  import { cStatusFromJSON, cStatusToJSON, OutpCollection } from "./collection";
6
- import { councelingStatusFromJSON, councelingStatusToJSON, Council } from "./council";
6
+ import { Council } from "./council";
7
7
  import { Match } from "./match";
8
8
  import { Params } from "./params";
9
9
  import { SellOffer, sellOfferStatusFromJSON, sellOfferStatusToJSON } from "./sell_offer";
@@ -1833,216 +1833,6 @@ export const QueryRarityDistributionResponse = {
1833
1833
  return message;
1834
1834
  },
1835
1835
  };
1836
- function createBaseQueryQCouncilsRequest() {
1837
- return { status: 0, voters: [], card: 0, creator: "", ignore: undefined };
1838
- }
1839
- export const QueryQCouncilsRequest = {
1840
- encode(message, writer = _m0.Writer.create()) {
1841
- if (message.status !== 0) {
1842
- writer.uint32(8).int32(message.status);
1843
- }
1844
- for (const v of message.voters) {
1845
- writer.uint32(26).string(v);
1846
- }
1847
- if (message.card !== 0) {
1848
- writer.uint32(32).uint64(message.card);
1849
- }
1850
- if (message.creator !== "") {
1851
- writer.uint32(42).string(message.creator);
1852
- }
1853
- if (message.ignore !== undefined) {
1854
- IgnoreCouncils.encode(message.ignore, writer.uint32(18).fork()).ldelim();
1855
- }
1856
- return writer;
1857
- },
1858
- decode(input, length) {
1859
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1860
- let end = length === undefined ? reader.len : reader.pos + length;
1861
- const message = createBaseQueryQCouncilsRequest();
1862
- while (reader.pos < end) {
1863
- const tag = reader.uint32();
1864
- switch (tag >>> 3) {
1865
- case 1:
1866
- message.status = reader.int32();
1867
- break;
1868
- case 3:
1869
- message.voters.push(reader.string());
1870
- break;
1871
- case 4:
1872
- message.card = longToNumber(reader.uint64());
1873
- break;
1874
- case 5:
1875
- message.creator = reader.string();
1876
- break;
1877
- case 2:
1878
- message.ignore = IgnoreCouncils.decode(reader, reader.uint32());
1879
- break;
1880
- default:
1881
- reader.skipType(tag & 7);
1882
- break;
1883
- }
1884
- }
1885
- return message;
1886
- },
1887
- fromJSON(object) {
1888
- return {
1889
- status: isSet(object.status) ? councelingStatusFromJSON(object.status) : 0,
1890
- voters: Array.isArray(object?.voters) ? object.voters.map((e) => String(e)) : [],
1891
- card: isSet(object.card) ? Number(object.card) : 0,
1892
- creator: isSet(object.creator) ? String(object.creator) : "",
1893
- ignore: isSet(object.ignore) ? IgnoreCouncils.fromJSON(object.ignore) : undefined,
1894
- };
1895
- },
1896
- toJSON(message) {
1897
- const obj = {};
1898
- message.status !== undefined && (obj.status = councelingStatusToJSON(message.status));
1899
- if (message.voters) {
1900
- obj.voters = message.voters.map((e) => e);
1901
- }
1902
- else {
1903
- obj.voters = [];
1904
- }
1905
- message.card !== undefined && (obj.card = Math.round(message.card));
1906
- message.creator !== undefined && (obj.creator = message.creator);
1907
- message.ignore !== undefined && (obj.ignore = message.ignore ? IgnoreCouncils.toJSON(message.ignore) : undefined);
1908
- return obj;
1909
- },
1910
- fromPartial(object) {
1911
- const message = createBaseQueryQCouncilsRequest();
1912
- message.status = object.status ?? 0;
1913
- message.voters = object.voters?.map((e) => e) || [];
1914
- message.card = object.card ?? 0;
1915
- message.creator = object.creator ?? "";
1916
- message.ignore = (object.ignore !== undefined && object.ignore !== null)
1917
- ? IgnoreCouncils.fromPartial(object.ignore)
1918
- : undefined;
1919
- return message;
1920
- },
1921
- };
1922
- function createBaseIgnoreCouncils() {
1923
- return { status: false, card: false };
1924
- }
1925
- export const IgnoreCouncils = {
1926
- encode(message, writer = _m0.Writer.create()) {
1927
- if (message.status === true) {
1928
- writer.uint32(8).bool(message.status);
1929
- }
1930
- if (message.card === true) {
1931
- writer.uint32(16).bool(message.card);
1932
- }
1933
- return writer;
1934
- },
1935
- decode(input, length) {
1936
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1937
- let end = length === undefined ? reader.len : reader.pos + length;
1938
- const message = createBaseIgnoreCouncils();
1939
- while (reader.pos < end) {
1940
- const tag = reader.uint32();
1941
- switch (tag >>> 3) {
1942
- case 1:
1943
- message.status = reader.bool();
1944
- break;
1945
- case 2:
1946
- message.card = reader.bool();
1947
- break;
1948
- default:
1949
- reader.skipType(tag & 7);
1950
- break;
1951
- }
1952
- }
1953
- return message;
1954
- },
1955
- fromJSON(object) {
1956
- return {
1957
- status: isSet(object.status) ? Boolean(object.status) : false,
1958
- card: isSet(object.card) ? Boolean(object.card) : false,
1959
- };
1960
- },
1961
- toJSON(message) {
1962
- const obj = {};
1963
- message.status !== undefined && (obj.status = message.status);
1964
- message.card !== undefined && (obj.card = message.card);
1965
- return obj;
1966
- },
1967
- fromPartial(object) {
1968
- const message = createBaseIgnoreCouncils();
1969
- message.status = object.status ?? false;
1970
- message.card = object.card ?? false;
1971
- return message;
1972
- },
1973
- };
1974
- function createBaseQueryQCouncilsResponse() {
1975
- return { councilssIds: [], councils: [] };
1976
- }
1977
- export const QueryQCouncilsResponse = {
1978
- encode(message, writer = _m0.Writer.create()) {
1979
- writer.uint32(10).fork();
1980
- for (const v of message.councilssIds) {
1981
- writer.uint64(v);
1982
- }
1983
- writer.ldelim();
1984
- for (const v of message.councils) {
1985
- Council.encode(v, writer.uint32(18).fork()).ldelim();
1986
- }
1987
- return writer;
1988
- },
1989
- decode(input, length) {
1990
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1991
- let end = length === undefined ? reader.len : reader.pos + length;
1992
- const message = createBaseQueryQCouncilsResponse();
1993
- while (reader.pos < end) {
1994
- const tag = reader.uint32();
1995
- switch (tag >>> 3) {
1996
- case 1:
1997
- if ((tag & 7) === 2) {
1998
- const end2 = reader.uint32() + reader.pos;
1999
- while (reader.pos < end2) {
2000
- message.councilssIds.push(longToNumber(reader.uint64()));
2001
- }
2002
- }
2003
- else {
2004
- message.councilssIds.push(longToNumber(reader.uint64()));
2005
- }
2006
- break;
2007
- case 2:
2008
- message.councils.push(Council.decode(reader, reader.uint32()));
2009
- break;
2010
- default:
2011
- reader.skipType(tag & 7);
2012
- break;
2013
- }
2014
- }
2015
- return message;
2016
- },
2017
- fromJSON(object) {
2018
- return {
2019
- councilssIds: Array.isArray(object?.councilssIds) ? object.councilssIds.map((e) => Number(e)) : [],
2020
- councils: Array.isArray(object?.councils) ? object.councils.map((e) => Council.fromJSON(e)) : [],
2021
- };
2022
- },
2023
- toJSON(message) {
2024
- const obj = {};
2025
- if (message.councilssIds) {
2026
- obj.councilssIds = message.councilssIds.map((e) => Math.round(e));
2027
- }
2028
- else {
2029
- obj.councilssIds = [];
2030
- }
2031
- if (message.councils) {
2032
- obj.councils = message.councils.map((e) => e ? Council.toJSON(e) : undefined);
2033
- }
2034
- else {
2035
- obj.councils = [];
2036
- }
2037
- return obj;
2038
- },
2039
- fromPartial(object) {
2040
- const message = createBaseQueryQCouncilsResponse();
2041
- message.councilssIds = object.councilssIds?.map((e) => e) || [];
2042
- message.councils = object.councils?.map((e) => Council.fromPartial(e)) || [];
2043
- return message;
2044
- },
2045
- };
2046
1836
  export class QueryClientImpl {
2047
1837
  constructor(rpc) {
2048
1838
  this.rpc = rpc;
@@ -2063,7 +1853,6 @@ export class QueryClientImpl {
2063
1853
  this.QServer = this.QServer.bind(this);
2064
1854
  this.QCollections = this.QCollections.bind(this);
2065
1855
  this.RarityDistribution = this.RarityDistribution.bind(this);
2066
- this.QCouncils = this.QCouncils.bind(this);
2067
1856
  }
2068
1857
  Params(request) {
2069
1858
  const data = QueryParamsRequest.encode(request).finish();
@@ -2150,11 +1939,6 @@ export class QueryClientImpl {
2150
1939
  const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "RarityDistribution", data);
2151
1940
  return promise.then((data) => QueryRarityDistributionResponse.decode(new _m0.Reader(data)));
2152
1941
  }
2153
- QCouncils(request) {
2154
- const data = QueryQCouncilsRequest.encode(request).finish();
2155
- const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Query", "QCouncils", data);
2156
- return promise.then((data) => QueryQCouncilsResponse.decode(new _m0.Reader(data)));
2157
- }
2158
1942
  }
2159
1943
  var globalThis = (() => {
2160
1944
  if (typeof globalThis !== "undefined") {