@sparkdreamnft/sparkdreamjs 0.0.46 → 0.0.48

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 (92) hide show
  1. package/amino-schema.d.ts +5741 -0
  2. package/amino-schema.js +8 -0
  3. package/chain-amino.d.ts +61 -0
  4. package/chain-amino.js +670 -0
  5. package/esm/amino-schema.js +5 -0
  6. package/esm/chain-amino.js +665 -0
  7. package/esm/nested-amino.js +7 -1
  8. package/esm/sparkdream/artifact/v1/query.js +125 -0
  9. package/esm/sparkdream/artifact/v1/query.lcd.js +7 -0
  10. package/esm/sparkdream/artifact/v1/query.rpc.Query.js +12 -1
  11. package/esm/sparkdream/artifact/v1/tx.amino.js +12 -473
  12. package/esm/sparkdream/artifact/v1/tx.js +13 -1
  13. package/esm/sparkdream/blog/v1/tx.amino.js +15 -135
  14. package/esm/sparkdream/collect/v1/tx.amino.js +15 -254
  15. package/esm/sparkdream/commons/v1/tx.amino.js +12 -258
  16. package/esm/sparkdream/ecosystem/v1/tx.amino.js +15 -26
  17. package/esm/sparkdream/federation/v1/tx.amino.js +12 -174
  18. package/esm/sparkdream/forum/v1/tx.amino.js +15 -231
  19. package/esm/sparkdream/futarchy/v1/tx.amino.js +16 -38
  20. package/esm/sparkdream/guardian/v1/tx.amino.js +12 -33
  21. package/esm/sparkdream/name/v1/tx.amino.js +16 -63
  22. package/esm/sparkdream/rep/v1/query.js +304 -1
  23. package/esm/sparkdream/rep/v1/query.lcd.js +19 -0
  24. package/esm/sparkdream/rep/v1/query.rpc.Query.js +22 -1
  25. package/esm/sparkdream/rep/v1/tx.amino.js +12 -484
  26. package/esm/sparkdream/reveal/v1/tx.amino.js +15 -73
  27. package/esm/sparkdream/season/v1/tx.amino.js +12 -276
  28. package/esm/sparkdream/service/v1/tx.amino.js +16 -78
  29. package/esm/sparkdream/session/v1/tx.amino.js +16 -271
  30. package/esm/sparkdream/shield/v1/tx.amino.js +15 -80
  31. package/esm/sparkdream/sparkdream/v1/tx.amino.js +16 -8
  32. package/esm/sparkdream/split/v1/tx.amino.js +16 -8
  33. package/esm/sparkdream/vault/v1/tx.amino.js +12 -105
  34. package/nested-amino.d.ts +5 -1
  35. package/nested-amino.js +8 -1
  36. package/package.json +1 -1
  37. package/sparkdream/artifact/v1/query.d.ts +86 -0
  38. package/sparkdream/artifact/v1/query.js +126 -1
  39. package/sparkdream/artifact/v1/query.lcd.d.ts +2 -1
  40. package/sparkdream/artifact/v1/query.lcd.js +7 -0
  41. package/sparkdream/artifact/v1/query.rpc.Query.d.ts +9 -1
  42. package/sparkdream/artifact/v1/query.rpc.Query.js +11 -0
  43. package/sparkdream/artifact/v1/tx.amino.d.ts +1 -353
  44. package/sparkdream/artifact/v1/tx.amino.js +47 -475
  45. package/sparkdream/artifact/v1/tx.d.ts +14 -0
  46. package/sparkdream/artifact/v1/tx.js +13 -1
  47. package/sparkdream/blog/v1/tx.amino.d.ts +1 -103
  48. package/sparkdream/blog/v1/tx.amino.js +50 -137
  49. package/sparkdream/bundle.d.ts +97 -2047
  50. package/sparkdream/client.d.ts +1 -2009
  51. package/sparkdream/collect/v1/tx.amino.d.ts +1 -153
  52. package/sparkdream/collect/v1/tx.amino.js +50 -256
  53. package/sparkdream/commons/v1/tx.amino.d.ts +1 -123
  54. package/sparkdream/commons/v1/tx.amino.js +49 -262
  55. package/sparkdream/ecosystem/v1/tx.amino.d.ts +1 -13
  56. package/sparkdream/ecosystem/v1/tx.amino.js +50 -28
  57. package/sparkdream/federation/v1/tx.amino.d.ts +1 -128
  58. package/sparkdream/federation/v1/tx.amino.js +47 -176
  59. package/sparkdream/forum/v1/tx.amino.d.ts +1 -203
  60. package/sparkdream/forum/v1/tx.amino.js +50 -233
  61. package/sparkdream/futarchy/v1/tx.amino.d.ts +1 -38
  62. package/sparkdream/futarchy/v1/tx.amino.js +49 -38
  63. package/sparkdream/guardian/v1/tx.amino.d.ts +1 -7
  64. package/sparkdream/guardian/v1/tx.amino.js +49 -37
  65. package/sparkdream/name/v1/tx.amino.d.ts +1 -63
  66. package/sparkdream/name/v1/tx.amino.js +49 -63
  67. package/sparkdream/rep/v1/query.d.ts +187 -1
  68. package/sparkdream/rep/v1/query.js +304 -1
  69. package/sparkdream/rep/v1/query.lcd.d.ts +3 -1
  70. package/sparkdream/rep/v1/query.lcd.js +19 -0
  71. package/sparkdream/rep/v1/query.rpc.Query.d.ts +16 -1
  72. package/sparkdream/rep/v1/query.rpc.Query.js +21 -0
  73. package/sparkdream/rep/v1/tx.amino.d.ts +1 -353
  74. package/sparkdream/rep/v1/tx.amino.js +47 -486
  75. package/sparkdream/reveal/v1/tx.amino.d.ts +1 -53
  76. package/sparkdream/reveal/v1/tx.amino.js +50 -75
  77. package/sparkdream/rpc.query.d.ts +3 -0
  78. package/sparkdream/season/v1/tx.amino.d.ts +1 -218
  79. package/sparkdream/season/v1/tx.amino.js +47 -278
  80. package/sparkdream/service/v1/tx.amino.d.ts +1 -78
  81. package/sparkdream/service/v1/tx.amino.js +49 -78
  82. package/sparkdream/session/v1/tx.amino.d.ts +1 -93
  83. package/sparkdream/session/v1/tx.amino.js +48 -270
  84. package/sparkdream/shield/v1/tx.amino.d.ts +1 -28
  85. package/sparkdream/shield/v1/tx.amino.js +50 -82
  86. package/sparkdream/sparkdream/v1/tx.amino.d.ts +1 -8
  87. package/sparkdream/sparkdream/v1/tx.amino.js +49 -8
  88. package/sparkdream/split/v1/tx.amino.d.ts +1 -8
  89. package/sparkdream/split/v1/tx.amino.js +49 -8
  90. package/sparkdream/vault/v1/tx.amino.d.ts +1 -43
  91. package/sparkdream/vault/v1/tx.amino.js +49 -109
  92. package/varint.d.ts +1 -1
@@ -7175,3 +7175,128 @@ export const QueryRentalOffersResponse = {
7175
7175
  };
7176
7176
  }
7177
7177
  };
7178
+ function createBaseQueryNextClassIdRequest() {
7179
+ return {};
7180
+ }
7181
+ /**
7182
+ * QueryNextClassIdRequest defines the QueryNextClassIdRequest message.
7183
+ * @name QueryNextClassIdRequest
7184
+ * @package sparkdream.artifact.v1
7185
+ * @see proto type: sparkdream.artifact.v1.QueryNextClassIdRequest
7186
+ */
7187
+ export const QueryNextClassIdRequest = {
7188
+ typeUrl: "/sparkdream.artifact.v1.QueryNextClassIdRequest",
7189
+ encode(_, writer = BinaryWriter.create()) {
7190
+ return writer;
7191
+ },
7192
+ decode(input, length) {
7193
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
7194
+ let end = length === undefined ? reader.len : reader.pos + length;
7195
+ const message = createBaseQueryNextClassIdRequest();
7196
+ while (reader.pos < end) {
7197
+ const tag = reader.uint32();
7198
+ switch (tag >>> 3) {
7199
+ default:
7200
+ reader.skipType(tag & 7);
7201
+ break;
7202
+ }
7203
+ }
7204
+ return message;
7205
+ },
7206
+ fromPartial(_) {
7207
+ const message = createBaseQueryNextClassIdRequest();
7208
+ return message;
7209
+ },
7210
+ fromAmino(_) {
7211
+ const message = createBaseQueryNextClassIdRequest();
7212
+ return message;
7213
+ },
7214
+ toAmino(_) {
7215
+ const obj = {};
7216
+ return obj;
7217
+ },
7218
+ fromAminoMsg(object) {
7219
+ return QueryNextClassIdRequest.fromAmino(object.value);
7220
+ },
7221
+ fromProtoMsg(message) {
7222
+ return QueryNextClassIdRequest.decode(message.value);
7223
+ },
7224
+ toProto(message) {
7225
+ return QueryNextClassIdRequest.encode(message).finish();
7226
+ },
7227
+ toProtoMsg(message) {
7228
+ return {
7229
+ typeUrl: "/sparkdream.artifact.v1.QueryNextClassIdRequest",
7230
+ value: QueryNextClassIdRequest.encode(message).finish()
7231
+ };
7232
+ }
7233
+ };
7234
+ function createBaseQueryNextClassIdResponse() {
7235
+ return {
7236
+ nextClassId: BigInt(0)
7237
+ };
7238
+ }
7239
+ /**
7240
+ * QueryNextClassIdResponse defines the QueryNextClassIdResponse message.
7241
+ * @name QueryNextClassIdResponse
7242
+ * @package sparkdream.artifact.v1
7243
+ * @see proto type: sparkdream.artifact.v1.QueryNextClassIdResponse
7244
+ */
7245
+ export const QueryNextClassIdResponse = {
7246
+ typeUrl: "/sparkdream.artifact.v1.QueryNextClassIdResponse",
7247
+ encode(message, writer = BinaryWriter.create()) {
7248
+ if (message.nextClassId !== BigInt(0)) {
7249
+ writer.uint32(8).uint64(message.nextClassId);
7250
+ }
7251
+ return writer;
7252
+ },
7253
+ decode(input, length) {
7254
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
7255
+ let end = length === undefined ? reader.len : reader.pos + length;
7256
+ const message = createBaseQueryNextClassIdResponse();
7257
+ while (reader.pos < end) {
7258
+ const tag = reader.uint32();
7259
+ switch (tag >>> 3) {
7260
+ case 1:
7261
+ message.nextClassId = reader.uint64();
7262
+ break;
7263
+ default:
7264
+ reader.skipType(tag & 7);
7265
+ break;
7266
+ }
7267
+ }
7268
+ return message;
7269
+ },
7270
+ fromPartial(object) {
7271
+ const message = createBaseQueryNextClassIdResponse();
7272
+ message.nextClassId = object.nextClassId !== undefined && object.nextClassId !== null ? BigInt(object.nextClassId.toString()) : BigInt(0);
7273
+ return message;
7274
+ },
7275
+ fromAmino(object) {
7276
+ const message = createBaseQueryNextClassIdResponse();
7277
+ if (object.next_class_id !== undefined && object.next_class_id !== null) {
7278
+ message.nextClassId = BigInt(object.next_class_id);
7279
+ }
7280
+ return message;
7281
+ },
7282
+ toAmino(message) {
7283
+ const obj = {};
7284
+ obj.next_class_id = message.nextClassId !== BigInt(0) ? message.nextClassId?.toString() : undefined;
7285
+ return obj;
7286
+ },
7287
+ fromAminoMsg(object) {
7288
+ return QueryNextClassIdResponse.fromAmino(object.value);
7289
+ },
7290
+ fromProtoMsg(message) {
7291
+ return QueryNextClassIdResponse.decode(message.value);
7292
+ },
7293
+ toProto(message) {
7294
+ return QueryNextClassIdResponse.encode(message).finish();
7295
+ },
7296
+ toProtoMsg(message) {
7297
+ return {
7298
+ typeUrl: "/sparkdream.artifact.v1.QueryNextClassIdResponse",
7299
+ value: QueryNextClassIdResponse.encode(message).finish()
7300
+ };
7301
+ }
7302
+ };
@@ -329,4 +329,11 @@ export class LCDQueryClient {
329
329
  const endpoint = `sparkdream/artifact/v1/rental_offers`;
330
330
  return await this.req.get(endpoint, options);
331
331
  };
332
+ /* NextClassId returns the id the next created class will get. Clients that
333
+ bind the id into data before creating (blind-mint commitments) pass it as
334
+ MsgCreateClass.expected_class_id. */
335
+ nextClassId = async (_params = {}) => {
336
+ const endpoint = `sparkdream/artifact/v1/next_class_id`;
337
+ return await this.req.get(endpoint);
338
+ };
332
339
  }
@@ -1,6 +1,6 @@
1
1
  import { BinaryReader } from "../../../binary";
2
2
  import { createProtobufRpcClient } from "@cosmjs/stargate";
3
- import { QueryParamsRequest, QueryParamsResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse, QueryClassesByOwnerRequest, QueryClassesByOwnerResponse, QueryTokenRequest, QueryTokenResponse, QueryTokensRequest, QueryTokensResponse, QueryTokensByOwnerRequest, QueryTokensByOwnerResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryListingRequest, QueryListingResponse, QueryListingsRequest, QueryListingsResponse, QueryListingsBySellerRequest, QueryListingsBySellerResponse, QueryInboxRequest, QueryInboxResponse, QueryOutboxRequest, QueryOutboxResponse, QueryReceivePolicyRequest, QueryReceivePolicyResponse, QueryPendingClassOwnerRequest, QueryPendingClassOwnerResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryMediaProposalsRequest, QueryMediaProposalsResponse, QueryPublicMintQuoteRequest, QueryPublicMintQuoteResponse, QueryEditionRequest, QueryEditionResponse, QueryEditionsRequest, QueryEditionsResponse, QueryBalanceRequest, QueryBalanceResponse, QueryBalancesByOwnerRequest, QueryBalancesByOwnerResponse, QueryEditionHoldersRequest, QueryEditionHoldersResponse, QueryUnitListingRequest, QueryUnitListingResponse, QueryUnitListingsRequest, QueryUnitListingsResponse, QueryCraftRecipesRequest, QueryCraftRecipesResponse, QueryRentalRequest, QueryRentalResponse, QueryRentalOfferRequest, QueryRentalOfferResponse, QueryRentalsByUserRequest, QueryRentalsByUserResponse, QueryChildrenRequest, QueryChildrenResponse, QueryHarbergerQuoteRequest, QueryHarbergerQuoteResponse, QueryOfferRequest, QueryOfferResponse, QueryOffersRequest, QueryOffersResponse, QueryOffersByBidderRequest, QueryOffersByBidderResponse, QueryAuctionRequest, QueryAuctionResponse, QueryAuctionsRequest, QueryAuctionsResponse, QueryAuctionsBySellerRequest, QueryAuctionsBySellerResponse, QueryRentalOffersRequest, QueryRentalOffersResponse } from "./query";
3
+ import { QueryParamsRequest, QueryParamsResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse, QueryClassesByOwnerRequest, QueryClassesByOwnerResponse, QueryTokenRequest, QueryTokenResponse, QueryTokensRequest, QueryTokensResponse, QueryTokensByOwnerRequest, QueryTokensByOwnerResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryListingRequest, QueryListingResponse, QueryListingsRequest, QueryListingsResponse, QueryListingsBySellerRequest, QueryListingsBySellerResponse, QueryInboxRequest, QueryInboxResponse, QueryOutboxRequest, QueryOutboxResponse, QueryReceivePolicyRequest, QueryReceivePolicyResponse, QueryPendingClassOwnerRequest, QueryPendingClassOwnerResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryMediaProposalsRequest, QueryMediaProposalsResponse, QueryPublicMintQuoteRequest, QueryPublicMintQuoteResponse, QueryEditionRequest, QueryEditionResponse, QueryEditionsRequest, QueryEditionsResponse, QueryBalanceRequest, QueryBalanceResponse, QueryBalancesByOwnerRequest, QueryBalancesByOwnerResponse, QueryEditionHoldersRequest, QueryEditionHoldersResponse, QueryUnitListingRequest, QueryUnitListingResponse, QueryUnitListingsRequest, QueryUnitListingsResponse, QueryCraftRecipesRequest, QueryCraftRecipesResponse, QueryRentalRequest, QueryRentalResponse, QueryRentalOfferRequest, QueryRentalOfferResponse, QueryRentalsByUserRequest, QueryRentalsByUserResponse, QueryChildrenRequest, QueryChildrenResponse, QueryHarbergerQuoteRequest, QueryHarbergerQuoteResponse, QueryOfferRequest, QueryOfferResponse, QueryOffersRequest, QueryOffersResponse, QueryOffersByBidderRequest, QueryOffersByBidderResponse, QueryAuctionRequest, QueryAuctionResponse, QueryAuctionsRequest, QueryAuctionsResponse, QueryAuctionsBySellerRequest, QueryAuctionsBySellerResponse, QueryRentalOffersRequest, QueryRentalOffersResponse, QueryNextClassIdRequest, QueryNextClassIdResponse } from "./query";
4
4
  export class QueryClientImpl {
5
5
  rpc;
6
6
  constructor(rpc) {
@@ -253,6 +253,14 @@ export class QueryClientImpl {
253
253
  const promise = this.rpc.request("sparkdream.artifact.v1.Query", "RentalOffers", data);
254
254
  return promise.then(data => QueryRentalOffersResponse.decode(new BinaryReader(data)));
255
255
  };
256
+ /* NextClassId returns the id the next created class will get. Clients that
257
+ bind the id into data before creating (blind-mint commitments) pass it as
258
+ MsgCreateClass.expected_class_id. */
259
+ nextClassId = async (request = {}) => {
260
+ const data = QueryNextClassIdRequest.encode(request).finish();
261
+ const promise = this.rpc.request("sparkdream.artifact.v1.Query", "NextClassId", data);
262
+ return promise.then(data => QueryNextClassIdResponse.decode(new BinaryReader(data)));
263
+ };
256
264
  }
257
265
  export const createRpcQueryExtension = (base) => {
258
266
  const rpc = createProtobufRpcClient(base);
@@ -377,6 +385,9 @@ export const createRpcQueryExtension = (base) => {
377
385
  },
378
386
  rentalOffers(request) {
379
387
  return queryService.rentalOffers(request);
388
+ },
389
+ nextClassId(request) {
390
+ return queryService.nextClassId(request);
380
391
  }
381
392
  };
382
393
  };
@@ -2,477 +2,16 @@
2
2
  // HAND-WRITTEN OVERRIDE — overlaid on top of the Telescope-generated tx.amino.ts
3
3
  // by scripts/codegen.ts after each codegen run. Do not let codegen wipe this.
4
4
  //
5
- // Why: Telescope's auto-generated toAmino emits `[]` for empty repeated fields
6
- // (the `if (message.field)` check is truthy for `[]` in JS), but
7
- // cosmossdk.io/x/tx/signing/aminojson on the chain side omits them per
8
- // `omitempty`. Whenever a repeated field happens to be empty, the JS side signs
9
- // `"field":[]` and the chain reconstructs without the key — sign bytes differ,
10
- // surfacing as "signature verification failed" / "unauthorized".
5
+ // Why: Telescope's generated converters (and the per-message overrides that
6
+ // used to patch them) disagree with the chain's aminojson on empty lists,
7
+ // empty bytes, Dec strings, oneofs and non-nullable messages, and went stale
8
+ // whenever a proto changed. Every Msg of x/artifact is converted by the
9
+ // schema-driven engine in chain-amino.ts instead, which renders amino JSON
10
+ // from the protobuf bytes exactly as the chain does.
11
11
  //
12
- // Every artifact message with a repeated field not marked
13
- // `(amino.dont_omitempty) = true` is patched here to mirror aminojson's
14
- // omitempty (return `undefined` when empty). The rest of the converters pass
15
- // straight through to the auto-generated toAmino/fromAmino.
16
- //
17
- // MAINTENANCE: this map REPLACES the generated one wholesale, so it must list
18
- // every message in tx.proto. A message added to the proto but not added here
19
- // ends up with no amino converter at all, and amino (Ledger) signing for it
20
- // fails at runtime. When syncing protos, diff the message list in
21
- // protos/sparkdream/artifact/v1/tx.proto against the keys below.
22
- import { MsgUpdateParams, MsgCreateClass, MsgUpdateClass, MsgFreezeClassMetadata, MsgSetMintPolicy, MsgSetMinters, MsgSetMaxSupply, MsgCloseMinting, MsgProposeClassOwner, MsgAcceptClassOwner, MsgCancelClassOwner, MsgDeleteClass, MsgMint, MsgPublicMint, MsgTransfer, MsgAcceptIncoming, MsgRejectIncoming, MsgCancelOutgoing, MsgSetReceivePolicy, MsgBurn, MsgRevoke, MsgUpdateToken, MsgFreezeTokenMetadata, MsgList, MsgUpdateListing, MsgDelist, MsgBuy, MsgHideContent, MsgUnhideContent, MsgAppealHide, MsgUpdateOperationalParams, MsgIssue, MsgRenew, MsgRedeem, MsgLockRoyalty, MsgReveal, MsgRevealSeed, MsgProposeMedia, MsgAcceptMedia, MsgRejectMedia, MsgSetDisplayedMedia, MsgCreateEdition, MsgMintUnits, MsgTransferUnits, MsgBurnUnits, MsgRevokeUnits, MsgListUnits, MsgDelistUnits, MsgBuyUnits, MsgFundEdition, MsgClaimEditionRewards, MsgAddCraftRecipe, MsgRemoveCraftRecipe, MsgCraft, MsgOfferRental, MsgCancelRentalOffer, MsgAcceptRental, MsgEndRental, MsgNest, MsgDetach, MsgSetHarbergerPrice, MsgForceBuy, MsgUpdateUnitListing, MsgMakeOffer, MsgCancelOffer, MsgAcceptOffer, MsgStartAuction, MsgBid, MsgSettleAuction, MsgCancelAuction } from "./tx";
23
- import { ClassFlags, ExpiryPolicy, HarbergerPolicy, MintPolicy, Renderer, RevealPolicy, RoyaltyShare, TokenMetadata, TokenRef, } from "./types";
24
- export const AminoConverter = {
25
- "/sparkdream.artifact.v1.MsgUpdateParams": {
26
- aminoType: "sparkdream/x/artifact/MsgUpdateParams",
27
- toAmino: MsgUpdateParams.toAmino,
28
- fromAmino: MsgUpdateParams.fromAmino
29
- },
30
- "/sparkdream.artifact.v1.MsgCreateClass": {
31
- aminoType: "sparkdream/x/artifact/MsgCreateClass",
32
- toAmino(message) {
33
- const obj = {};
34
- obj.creator = message.creator === "" ? undefined : message.creator;
35
- obj.name = message.name === "" ? undefined : message.name;
36
- obj.symbol = message.symbol === "" ? undefined : message.symbol;
37
- obj.description = message.description === "" ? undefined : message.description;
38
- obj.uri = message.uri === "" ? undefined : message.uri;
39
- obj.uri_hash = message.uriHash === "" ? undefined : message.uriHash;
40
- obj.token_uri_base = message.tokenUriBase === "" ? undefined : message.tokenUriBase;
41
- obj.flags = message.flags ? ClassFlags.toAmino(message.flags) : ClassFlags.toAmino(ClassFlags.fromPartial({}));
42
- obj.max_supply = message.maxSupply !== BigInt(0) ? message.maxSupply?.toString() : undefined;
43
- obj.mint_policy = message.mintPolicy ? MintPolicy.toAmino(message.mintPolicy) : MintPolicy.toAmino(MintPolicy.fromPartial({}));
44
- obj.payout_address = message.payoutAddress === "" ? undefined : message.payoutAddress;
45
- obj.royalty_bps = message.royaltyBps === 0 ? undefined : message.royaltyBps;
46
- obj.royalty_recipients = (message.royaltyRecipients?.length ?? 0) > 0
47
- ? message.royaltyRecipients.map((e) => e ? RoyaltyShare.toAmino(e) : undefined)
48
- : undefined;
49
- obj.minters = (message.minters?.length ?? 0) > 0
50
- ? message.minters.map((e) => e)
51
- : undefined;
52
- obj.accepted_content_license = message.acceptedContentLicense === "" ? undefined : message.acceptedContentLicense;
53
- obj.expiry = message.expiry ? ExpiryPolicy.toAmino(message.expiry) : ExpiryPolicy.toAmino(ExpiryPolicy.fromPartial({}));
54
- obj.reveal = message.reveal ? RevealPolicy.toAmino(message.reveal) : RevealPolicy.toAmino(RevealPolicy.fromPartial({}));
55
- obj.renderer = message.renderer ? Renderer.toAmino(message.renderer) : Renderer.toAmino(Renderer.fromPartial({}));
56
- obj.token_model = message.tokenModel === 0 ? undefined : message.tokenModel;
57
- obj.harberger = message.harberger ? HarbergerPolicy.toAmino(message.harberger) : HarbergerPolicy.toAmino(HarbergerPolicy.fromPartial({}));
58
- return obj;
59
- },
60
- fromAmino: MsgCreateClass.fromAmino
61
- },
62
- "/sparkdream.artifact.v1.MsgUpdateClass": {
63
- aminoType: "sparkdream/x/artifact/MsgUpdateClass",
64
- toAmino(message) {
65
- const obj = {};
66
- obj.owner = message.owner === "" ? undefined : message.owner;
67
- obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
68
- obj.name = message.name === "" ? undefined : message.name;
69
- obj.description = message.description === "" ? undefined : message.description;
70
- obj.uri = message.uri === "" ? undefined : message.uri;
71
- obj.uri_hash = message.uriHash === "" ? undefined : message.uriHash;
72
- obj.token_uri_base = message.tokenUriBase === "" ? undefined : message.tokenUriBase;
73
- obj.payout_address = message.payoutAddress === "" ? undefined : message.payoutAddress;
74
- obj.royalty_recipients = (message.royaltyRecipients?.length ?? 0) > 0
75
- ? message.royaltyRecipients.map((e) => e ? RoyaltyShare.toAmino(e) : undefined)
76
- : undefined;
77
- obj.royalty_bps = message.royaltyBps === 0 ? undefined : message.royaltyBps;
78
- obj.update_mask = (message.updateMask?.length ?? 0) > 0
79
- ? message.updateMask.map((e) => e)
80
- : undefined;
81
- return obj;
82
- },
83
- fromAmino: MsgUpdateClass.fromAmino
84
- },
85
- "/sparkdream.artifact.v1.MsgFreezeClassMetadata": {
86
- aminoType: "sparkdream/x/artifact/MsgFreezeClassMetadata",
87
- toAmino: MsgFreezeClassMetadata.toAmino,
88
- fromAmino: MsgFreezeClassMetadata.fromAmino
89
- },
90
- "/sparkdream.artifact.v1.MsgSetMintPolicy": {
91
- aminoType: "sparkdream/x/artifact/MsgSetMintPolicy",
92
- toAmino: MsgSetMintPolicy.toAmino,
93
- fromAmino: MsgSetMintPolicy.fromAmino
94
- },
95
- "/sparkdream.artifact.v1.MsgSetMinters": {
96
- aminoType: "sparkdream/x/artifact/MsgSetMinters",
97
- toAmino(message) {
98
- const obj = {};
99
- obj.owner = message.owner === "" ? undefined : message.owner;
100
- obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
101
- obj.add = (message.add?.length ?? 0) > 0
102
- ? message.add.map((e) => e)
103
- : undefined;
104
- obj.remove = (message.remove?.length ?? 0) > 0
105
- ? message.remove.map((e) => e)
106
- : undefined;
107
- return obj;
108
- },
109
- fromAmino: MsgSetMinters.fromAmino
110
- },
111
- "/sparkdream.artifact.v1.MsgSetMaxSupply": {
112
- aminoType: "sparkdream/x/artifact/MsgSetMaxSupply",
113
- toAmino: MsgSetMaxSupply.toAmino,
114
- fromAmino: MsgSetMaxSupply.fromAmino
115
- },
116
- "/sparkdream.artifact.v1.MsgCloseMinting": {
117
- aminoType: "sparkdream/x/artifact/MsgCloseMinting",
118
- toAmino: MsgCloseMinting.toAmino,
119
- fromAmino: MsgCloseMinting.fromAmino
120
- },
121
- "/sparkdream.artifact.v1.MsgProposeClassOwner": {
122
- aminoType: "sparkdream/x/artifact/MsgProposeClassOwner",
123
- toAmino: MsgProposeClassOwner.toAmino,
124
- fromAmino: MsgProposeClassOwner.fromAmino
125
- },
126
- "/sparkdream.artifact.v1.MsgAcceptClassOwner": {
127
- aminoType: "sparkdream/x/artifact/MsgAcceptClassOwner",
128
- toAmino: MsgAcceptClassOwner.toAmino,
129
- fromAmino: MsgAcceptClassOwner.fromAmino
130
- },
131
- "/sparkdream.artifact.v1.MsgCancelClassOwner": {
132
- aminoType: "sparkdream/x/artifact/MsgCancelClassOwner",
133
- toAmino: MsgCancelClassOwner.toAmino,
134
- fromAmino: MsgCancelClassOwner.fromAmino
135
- },
136
- "/sparkdream.artifact.v1.MsgDeleteClass": {
137
- aminoType: "sparkdream/x/artifact/MsgDeleteClass",
138
- toAmino: MsgDeleteClass.toAmino,
139
- fromAmino: MsgDeleteClass.fromAmino
140
- },
141
- "/sparkdream.artifact.v1.MsgMint": {
142
- aminoType: "sparkdream/x/artifact/MsgMint",
143
- toAmino: MsgMint.toAmino,
144
- fromAmino: MsgMint.fromAmino
145
- },
146
- "/sparkdream.artifact.v1.MsgPublicMint": {
147
- aminoType: "sparkdream/x/artifact/MsgPublicMint",
148
- toAmino: MsgPublicMint.toAmino,
149
- fromAmino: MsgPublicMint.fromAmino
150
- },
151
- "/sparkdream.artifact.v1.MsgTransfer": {
152
- aminoType: "sparkdream/x/artifact/MsgTransfer",
153
- toAmino: MsgTransfer.toAmino,
154
- fromAmino: MsgTransfer.fromAmino
155
- },
156
- "/sparkdream.artifact.v1.MsgAcceptIncoming": {
157
- aminoType: "sparkdream/x/artifact/MsgAcceptIncoming",
158
- toAmino: MsgAcceptIncoming.toAmino,
159
- fromAmino: MsgAcceptIncoming.fromAmino
160
- },
161
- "/sparkdream.artifact.v1.MsgRejectIncoming": {
162
- aminoType: "sparkdream/x/artifact/MsgRejectIncoming",
163
- toAmino: MsgRejectIncoming.toAmino,
164
- fromAmino: MsgRejectIncoming.fromAmino
165
- },
166
- "/sparkdream.artifact.v1.MsgCancelOutgoing": {
167
- aminoType: "sparkdream/x/artifact/MsgCancelOutgoing",
168
- toAmino: MsgCancelOutgoing.toAmino,
169
- fromAmino: MsgCancelOutgoing.fromAmino
170
- },
171
- "/sparkdream.artifact.v1.MsgSetReceivePolicy": {
172
- aminoType: "sparkdream/x/artifact/MsgSetReceivePolicy",
173
- toAmino: MsgSetReceivePolicy.toAmino,
174
- fromAmino: MsgSetReceivePolicy.fromAmino
175
- },
176
- "/sparkdream.artifact.v1.MsgBurn": {
177
- aminoType: "sparkdream/x/artifact/MsgBurn",
178
- toAmino: MsgBurn.toAmino,
179
- fromAmino: MsgBurn.fromAmino
180
- },
181
- "/sparkdream.artifact.v1.MsgRevoke": {
182
- aminoType: "sparkdream/x/artifact/MsgRevoke",
183
- toAmino(message) {
184
- const obj = {};
185
- obj.owner = message.owner === "" ? undefined : message.owner;
186
- obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
187
- obj.token_ids = (message.tokenIds?.length ?? 0) > 0
188
- ? message.tokenIds.map((e) => e.toString())
189
- : undefined;
190
- obj.reason = message.reason === "" ? undefined : message.reason;
191
- return obj;
192
- },
193
- fromAmino: MsgRevoke.fromAmino
194
- },
195
- "/sparkdream.artifact.v1.MsgUpdateToken": {
196
- aminoType: "sparkdream/x/artifact/MsgUpdateToken",
197
- toAmino: MsgUpdateToken.toAmino,
198
- fromAmino: MsgUpdateToken.fromAmino
199
- },
200
- "/sparkdream.artifact.v1.MsgFreezeTokenMetadata": {
201
- aminoType: "sparkdream/x/artifact/MsgFreezeTokenMetadata",
202
- toAmino: MsgFreezeTokenMetadata.toAmino,
203
- fromAmino: MsgFreezeTokenMetadata.fromAmino
204
- },
205
- "/sparkdream.artifact.v1.MsgList": {
206
- aminoType: "sparkdream/x/artifact/MsgList",
207
- toAmino: MsgList.toAmino,
208
- fromAmino: MsgList.fromAmino
209
- },
210
- "/sparkdream.artifact.v1.MsgUpdateListing": {
211
- aminoType: "sparkdream/x/artifact/MsgUpdateListing",
212
- toAmino: MsgUpdateListing.toAmino,
213
- fromAmino: MsgUpdateListing.fromAmino
214
- },
215
- "/sparkdream.artifact.v1.MsgDelist": {
216
- aminoType: "sparkdream/x/artifact/MsgDelist",
217
- toAmino: MsgDelist.toAmino,
218
- fromAmino: MsgDelist.fromAmino
219
- },
220
- "/sparkdream.artifact.v1.MsgBuy": {
221
- aminoType: "sparkdream/x/artifact/MsgBuy",
222
- toAmino: MsgBuy.toAmino,
223
- fromAmino: MsgBuy.fromAmino
224
- },
225
- "/sparkdream.artifact.v1.MsgHideContent": {
226
- aminoType: "sparkdream/x/artifact/MsgHideContent",
227
- toAmino: MsgHideContent.toAmino,
228
- fromAmino: MsgHideContent.fromAmino
229
- },
230
- "/sparkdream.artifact.v1.MsgUnhideContent": {
231
- aminoType: "sparkdream/x/artifact/MsgUnhideContent",
232
- toAmino: MsgUnhideContent.toAmino,
233
- fromAmino: MsgUnhideContent.fromAmino
234
- },
235
- "/sparkdream.artifact.v1.MsgAppealHide": {
236
- aminoType: "sparkdream/x/artifact/MsgAppealHide",
237
- toAmino: MsgAppealHide.toAmino,
238
- fromAmino: MsgAppealHide.fromAmino
239
- },
240
- "/sparkdream.artifact.v1.MsgUpdateOperationalParams": {
241
- aminoType: "sparkdream/x/artifact/MsgUpdateOperationalParams",
242
- toAmino: MsgUpdateOperationalParams.toAmino,
243
- fromAmino: MsgUpdateOperationalParams.fromAmino
244
- },
245
- "/sparkdream.artifact.v1.MsgIssue": {
246
- aminoType: "sparkdream/x/artifact/MsgIssue",
247
- toAmino(message) {
248
- const obj = {};
249
- obj.minter = message.minter === "" ? undefined : message.minter;
250
- obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
251
- obj.recipients = (message.recipients?.length ?? 0) > 0
252
- ? message.recipients.map((e) => e)
253
- : undefined;
254
- obj.metadata = message.metadata ? TokenMetadata.toAmino(message.metadata) : TokenMetadata.toAmino(TokenMetadata.fromPartial({}));
255
- obj.accepted_content_license = message.acceptedContentLicense === "" ? undefined : message.acceptedContentLicense;
256
- return obj;
257
- },
258
- fromAmino: MsgIssue.fromAmino
259
- },
260
- "/sparkdream.artifact.v1.MsgRenew": {
261
- aminoType: "sparkdream/x/artifact/MsgRenew",
262
- toAmino: MsgRenew.toAmino,
263
- fromAmino: MsgRenew.fromAmino
264
- },
265
- "/sparkdream.artifact.v1.MsgRedeem": {
266
- aminoType: "sparkdream/x/artifact/MsgRedeem",
267
- toAmino(message) {
268
- const obj = {};
269
- obj.signer = message.signer === "" ? undefined : message.signer;
270
- obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
271
- obj.token_ids = (message.tokenIds?.length ?? 0) > 0
272
- ? message.tokenIds.map((e) => e.toString())
273
- : undefined;
274
- return obj;
275
- },
276
- fromAmino: MsgRedeem.fromAmino
277
- },
278
- "/sparkdream.artifact.v1.MsgLockRoyalty": {
279
- aminoType: "sparkdream/x/artifact/MsgLockRoyalty",
280
- toAmino: MsgLockRoyalty.toAmino,
281
- fromAmino: MsgLockRoyalty.fromAmino
282
- },
283
- "/sparkdream.artifact.v1.MsgReveal": {
284
- aminoType: "sparkdream/x/artifact/MsgReveal",
285
- toAmino(message) {
286
- const obj = {};
287
- obj.signer = message.signer === "" ? undefined : message.signer;
288
- obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
289
- obj.token_id = message.tokenId !== BigInt(0) ? message.tokenId?.toString() : undefined;
290
- obj.metadata = message.metadata ? TokenMetadata.toAmino(message.metadata) : TokenMetadata.toAmino(TokenMetadata.fromPartial({}));
291
- obj.salt = message.salt === "" ? undefined : message.salt;
292
- obj.proof = (message.proof?.length ?? 0) > 0
293
- ? message.proof.map((e) => e)
294
- : undefined;
295
- return obj;
296
- },
297
- fromAmino: MsgReveal.fromAmino
298
- },
299
- "/sparkdream.artifact.v1.MsgRevealSeed": {
300
- aminoType: "sparkdream/x/artifact/MsgRevealSeed",
301
- toAmino: MsgRevealSeed.toAmino,
302
- fromAmino: MsgRevealSeed.fromAmino
303
- },
304
- "/sparkdream.artifact.v1.MsgProposeMedia": {
305
- aminoType: "sparkdream/x/artifact/MsgProposeMedia",
306
- toAmino: MsgProposeMedia.toAmino,
307
- fromAmino: MsgProposeMedia.fromAmino
308
- },
309
- "/sparkdream.artifact.v1.MsgAcceptMedia": {
310
- aminoType: "sparkdream/x/artifact/MsgAcceptMedia",
311
- toAmino: MsgAcceptMedia.toAmino,
312
- fromAmino: MsgAcceptMedia.fromAmino
313
- },
314
- "/sparkdream.artifact.v1.MsgRejectMedia": {
315
- aminoType: "sparkdream/x/artifact/MsgRejectMedia",
316
- toAmino: MsgRejectMedia.toAmino,
317
- fromAmino: MsgRejectMedia.fromAmino
318
- },
319
- "/sparkdream.artifact.v1.MsgSetDisplayedMedia": {
320
- aminoType: "sparkdream/x/artifact/MsgSetDisplayedMedia",
321
- toAmino: MsgSetDisplayedMedia.toAmino,
322
- fromAmino: MsgSetDisplayedMedia.fromAmino
323
- },
324
- "/sparkdream.artifact.v1.MsgCreateEdition": {
325
- aminoType: "sparkdream/x/artifact/MsgCreateEdition",
326
- toAmino: MsgCreateEdition.toAmino,
327
- fromAmino: MsgCreateEdition.fromAmino
328
- },
329
- "/sparkdream.artifact.v1.MsgMintUnits": {
330
- aminoType: "sparkdream/x/artifact/MsgMintUnits",
331
- toAmino: MsgMintUnits.toAmino,
332
- fromAmino: MsgMintUnits.fromAmino
333
- },
334
- "/sparkdream.artifact.v1.MsgTransferUnits": {
335
- aminoType: "sparkdream/x/artifact/MsgTransferUnits",
336
- toAmino: MsgTransferUnits.toAmino,
337
- fromAmino: MsgTransferUnits.fromAmino
338
- },
339
- "/sparkdream.artifact.v1.MsgBurnUnits": {
340
- aminoType: "sparkdream/x/artifact/MsgBurnUnits",
341
- toAmino: MsgBurnUnits.toAmino,
342
- fromAmino: MsgBurnUnits.fromAmino
343
- },
344
- "/sparkdream.artifact.v1.MsgRevokeUnits": {
345
- aminoType: "sparkdream/x/artifact/MsgRevokeUnits",
346
- toAmino: MsgRevokeUnits.toAmino,
347
- fromAmino: MsgRevokeUnits.fromAmino
348
- },
349
- "/sparkdream.artifact.v1.MsgListUnits": {
350
- aminoType: "sparkdream/x/artifact/MsgListUnits",
351
- toAmino: MsgListUnits.toAmino,
352
- fromAmino: MsgListUnits.fromAmino
353
- },
354
- "/sparkdream.artifact.v1.MsgDelistUnits": {
355
- aminoType: "sparkdream/x/artifact/MsgDelistUnits",
356
- toAmino: MsgDelistUnits.toAmino,
357
- fromAmino: MsgDelistUnits.fromAmino
358
- },
359
- "/sparkdream.artifact.v1.MsgBuyUnits": {
360
- aminoType: "sparkdream/x/artifact/MsgBuyUnits",
361
- toAmino: MsgBuyUnits.toAmino,
362
- fromAmino: MsgBuyUnits.fromAmino
363
- },
364
- "/sparkdream.artifact.v1.MsgFundEdition": {
365
- aminoType: "sparkdream/x/artifact/MsgFundEdition",
366
- toAmino: MsgFundEdition.toAmino,
367
- fromAmino: MsgFundEdition.fromAmino
368
- },
369
- "/sparkdream.artifact.v1.MsgClaimEditionRewards": {
370
- aminoType: "sparkdream/x/artifact/MsgClaimEditionRewards",
371
- toAmino: MsgClaimEditionRewards.toAmino,
372
- fromAmino: MsgClaimEditionRewards.fromAmino
373
- },
374
- "/sparkdream.artifact.v1.MsgAddCraftRecipe": {
375
- aminoType: "sparkdream/x/artifact/MsgAddCraftRecipe",
376
- toAmino: MsgAddCraftRecipe.toAmino,
377
- fromAmino: MsgAddCraftRecipe.fromAmino
378
- },
379
- "/sparkdream.artifact.v1.MsgRemoveCraftRecipe": {
380
- aminoType: "sparkdream/x/artifact/MsgRemoveCraftRecipe",
381
- toAmino: MsgRemoveCraftRecipe.toAmino,
382
- fromAmino: MsgRemoveCraftRecipe.fromAmino
383
- },
384
- "/sparkdream.artifact.v1.MsgCraft": {
385
- aminoType: "sparkdream/x/artifact/MsgCraft",
386
- toAmino(message) {
387
- const obj = {};
388
- obj.crafter = message.crafter === "" ? undefined : message.crafter;
389
- obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
390
- obj.recipe_id = message.recipeId !== BigInt(0) ? message.recipeId?.toString() : undefined;
391
- obj.input_tokens = (message.inputTokens?.length ?? 0) > 0
392
- ? message.inputTokens.map((e) => e ? TokenRef.toAmino(e) : undefined)
393
- : undefined;
394
- return obj;
395
- },
396
- fromAmino: MsgCraft.fromAmino
397
- },
398
- "/sparkdream.artifact.v1.MsgOfferRental": {
399
- aminoType: "sparkdream/x/artifact/MsgOfferRental",
400
- toAmino: MsgOfferRental.toAmino,
401
- fromAmino: MsgOfferRental.fromAmino
402
- },
403
- "/sparkdream.artifact.v1.MsgCancelRentalOffer": {
404
- aminoType: "sparkdream/x/artifact/MsgCancelRentalOffer",
405
- toAmino: MsgCancelRentalOffer.toAmino,
406
- fromAmino: MsgCancelRentalOffer.fromAmino
407
- },
408
- "/sparkdream.artifact.v1.MsgAcceptRental": {
409
- aminoType: "sparkdream/x/artifact/MsgAcceptRental",
410
- toAmino: MsgAcceptRental.toAmino,
411
- fromAmino: MsgAcceptRental.fromAmino
412
- },
413
- "/sparkdream.artifact.v1.MsgEndRental": {
414
- aminoType: "sparkdream/x/artifact/MsgEndRental",
415
- toAmino: MsgEndRental.toAmino,
416
- fromAmino: MsgEndRental.fromAmino
417
- },
418
- "/sparkdream.artifact.v1.MsgNest": {
419
- aminoType: "sparkdream/x/artifact/MsgNest",
420
- toAmino: MsgNest.toAmino,
421
- fromAmino: MsgNest.fromAmino
422
- },
423
- "/sparkdream.artifact.v1.MsgDetach": {
424
- aminoType: "sparkdream/x/artifact/MsgDetach",
425
- toAmino: MsgDetach.toAmino,
426
- fromAmino: MsgDetach.fromAmino
427
- },
428
- "/sparkdream.artifact.v1.MsgSetHarbergerPrice": {
429
- aminoType: "sparkdream/x/artifact/MsgSetHarbergerPrice",
430
- toAmino: MsgSetHarbergerPrice.toAmino,
431
- fromAmino: MsgSetHarbergerPrice.fromAmino
432
- },
433
- "/sparkdream.artifact.v1.MsgForceBuy": {
434
- aminoType: "sparkdream/x/artifact/MsgForceBuy",
435
- toAmino: MsgForceBuy.toAmino,
436
- fromAmino: MsgForceBuy.fromAmino
437
- },
438
- "/sparkdream.artifact.v1.MsgUpdateUnitListing": {
439
- aminoType: "sparkdream/x/artifact/MsgUpdateUnitListing",
440
- toAmino: MsgUpdateUnitListing.toAmino,
441
- fromAmino: MsgUpdateUnitListing.fromAmino
442
- },
443
- "/sparkdream.artifact.v1.MsgMakeOffer": {
444
- aminoType: "sparkdream/x/artifact/MsgMakeOffer",
445
- toAmino: MsgMakeOffer.toAmino,
446
- fromAmino: MsgMakeOffer.fromAmino
447
- },
448
- "/sparkdream.artifact.v1.MsgCancelOffer": {
449
- aminoType: "sparkdream/x/artifact/MsgCancelOffer",
450
- toAmino: MsgCancelOffer.toAmino,
451
- fromAmino: MsgCancelOffer.fromAmino
452
- },
453
- "/sparkdream.artifact.v1.MsgAcceptOffer": {
454
- aminoType: "sparkdream/x/artifact/MsgAcceptOffer",
455
- toAmino: MsgAcceptOffer.toAmino,
456
- fromAmino: MsgAcceptOffer.fromAmino
457
- },
458
- "/sparkdream.artifact.v1.MsgStartAuction": {
459
- aminoType: "sparkdream/x/artifact/MsgStartAuction",
460
- toAmino: MsgStartAuction.toAmino,
461
- fromAmino: MsgStartAuction.fromAmino
462
- },
463
- "/sparkdream.artifact.v1.MsgBid": {
464
- aminoType: "sparkdream/x/artifact/MsgBid",
465
- toAmino: MsgBid.toAmino,
466
- fromAmino: MsgBid.fromAmino
467
- },
468
- "/sparkdream.artifact.v1.MsgSettleAuction": {
469
- aminoType: "sparkdream/x/artifact/MsgSettleAuction",
470
- toAmino: MsgSettleAuction.toAmino,
471
- fromAmino: MsgSettleAuction.fromAmino
472
- },
473
- "/sparkdream.artifact.v1.MsgCancelAuction": {
474
- aminoType: "sparkdream/x/artifact/MsgCancelAuction",
475
- toAmino: MsgCancelAuction.toAmino,
476
- fromAmino: MsgCancelAuction.fromAmino
477
- }
478
- };
12
+ // MAINTENANCE: none per message. The schema (amino-schema.ts, regenerated from
13
+ // the chain on every proto sync) lists every Msg; __tests__/amino-golden.test.ts
14
+ // checks them all against the chain's encoder.
15
+ import * as tx from "./tx";
16
+ import { chainAminoConverters } from "../../../chain-amino";
17
+ export const AminoConverter = chainAminoConverters("sparkdream.artifact.v1", tx);