coreum-js 2.15.0 → 2.16.1

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 (31) hide show
  1. package/dist/main/coreum/asset/index.js +8 -0
  2. package/dist/main/coreum/index.d.ts +21 -1
  3. package/dist/main/coreum/index.js +25 -1
  4. package/dist/main/coreum/nft/v1beta1/event.d.ts +1 -1
  5. package/dist/main/coreum/nft/v1beta1/event.js +1 -1
  6. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +1 -1
  7. package/dist/main/coreum/nft/v1beta1/genesis.js +1 -1
  8. package/dist/main/coreum/nft/v1beta1/nft.d.ts +1 -1
  9. package/dist/main/coreum/nft/v1beta1/nft.js +1 -1
  10. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  11. package/dist/main/coreum/nft/v1beta1/query.js +2 -2
  12. package/dist/main/coreum/nft/v1beta1/tx.d.ts +1 -1
  13. package/dist/main/coreum/nft/v1beta1/tx.js +2 -2
  14. package/dist/main/types/core.d.ts +1 -1
  15. package/dist/main/types/core.js +1 -1
  16. package/dist/module/coreum/asset/index.js +9 -1
  17. package/dist/module/coreum/index.d.ts +21 -1
  18. package/dist/module/coreum/index.js +26 -2
  19. package/dist/module/coreum/nft/v1beta1/event.d.ts +1 -1
  20. package/dist/module/coreum/nft/v1beta1/event.js +1 -1
  21. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +1 -1
  22. package/dist/module/coreum/nft/v1beta1/genesis.js +1 -1
  23. package/dist/module/coreum/nft/v1beta1/nft.d.ts +1 -1
  24. package/dist/module/coreum/nft/v1beta1/nft.js +1 -1
  25. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  26. package/dist/module/coreum/nft/v1beta1/query.js +2 -2
  27. package/dist/module/coreum/nft/v1beta1/tx.d.ts +1 -1
  28. package/dist/module/coreum/nft/v1beta1/tx.js +2 -2
  29. package/dist/module/types/core.d.ts +1 -1
  30. package/dist/module/types/core.js +1 -1
  31. package/package.json +1 -1
@@ -23,4 +23,12 @@ exports.assetFtRegistry = [
23
23
  [types_1.CoreumTypeUrl.FT + "MsgGloballyUnfreeze", tx_2.MsgGloballyUnfreeze],
24
24
  [types_1.CoreumTypeUrl.FT + "MsgSetWhitelistedLimit", tx_2.MsgSetWhitelistedLimit],
25
25
  [types_1.CoreumTypeUrl.FT + "MsgClawback", tx_2.MsgClawback],
26
+ [
27
+ types_1.CoreumTypeUrl.FT + "MsgUpdateDEXWhitelistedDenoms",
28
+ tx_2.MsgUpdateDEXWhitelistedDenoms,
29
+ ],
30
+ [
31
+ types_1.CoreumTypeUrl.FT + "MsgUpdateDEXUnifiedRefAmount",
32
+ tx_2.MsgUpdateDEXUnifiedRefAmount,
33
+ ],
26
34
  ];
@@ -1,7 +1,7 @@
1
1
  import { GeneratedType } from "@cosmjs/proto-signing";
2
2
  import { MsgSend as NFTMsgSend } from "./nft/v1beta1/tx";
3
3
  import { MsgIssueClass as NFTMsgIssueClass, MsgMint as NFTMsgMint, MsgAddToWhitelist as NFTMsgAddToWhitelist, MsgBurn as NFTMsgBurn, MsgRemoveFromWhitelist as NFTMsgRemoveFromWhitelist, MsgFreeze as NFTMsgFreeze, MsgUnfreeze as NFTMsgUnfreeze } from "./asset/nft/v1/tx";
4
- import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit, MsgClawback as FTMsgClawback } from "./asset/ft/v1/tx";
4
+ import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit, MsgClawback as FTMsgClawback, MsgUpdateDEXUnifiedRefAmount, MsgUpdateDEXWhitelistedDenoms } from "./asset/ft/v1/tx";
5
5
  import { FTMsgs, NFTMsgs } from "../types/msgs";
6
6
  export { Feature } from "./asset/ft/v1/token";
7
7
  export { ClassFeature } from "./asset/nft/v1/nft";
@@ -108,6 +108,26 @@ export declare namespace FT {
108
108
  typeUrl: string;
109
109
  value: FTMsgClawback;
110
110
  };
111
+ /** MsgUpdateDEXUnifiedRefAmount
112
+ * Updates DEX unified ref amount.
113
+ *
114
+ * @param object Represents the properties available for this MsgUpdateDEXUnifiedRefAmount message.
115
+ * @returns A Msg object with the typeUrl and value object for the proper message
116
+ */
117
+ const UpdateDEXUnifiedRefAmount: (object: MsgUpdateDEXUnifiedRefAmount) => {
118
+ typeUrl: string;
119
+ value: MsgUpdateDEXUnifiedRefAmount;
120
+ };
121
+ /** MsgUpdateDEXWhitelistedDenoms
122
+ * Updates DEX unified ref amount.
123
+ *
124
+ * @param object Represents the properties available for this MsgUpdateDEXWhitelistedDenoms message.
125
+ * @returns A Msg object with the typeUrl and value object for the proper message
126
+ */
127
+ const UpdateDEXWhitelistedDenoms: (object: MsgUpdateDEXWhitelistedDenoms) => {
128
+ typeUrl: string;
129
+ value: MsgUpdateDEXWhitelistedDenoms;
130
+ };
111
131
  }
112
132
  /**
113
133
  * Transaction Module for the Non-Fungible Tokens modules (assetnft, nftbeta).
@@ -131,6 +131,30 @@ var FT;
131
131
  value: tx_3.MsgClawback.fromPartial(object),
132
132
  };
133
133
  };
134
+ /** MsgUpdateDEXUnifiedRefAmount
135
+ * Updates DEX unified ref amount.
136
+ *
137
+ * @param object Represents the properties available for this MsgUpdateDEXUnifiedRefAmount message.
138
+ * @returns A Msg object with the typeUrl and value object for the proper message
139
+ */
140
+ FT.UpdateDEXUnifiedRefAmount = function (object) {
141
+ return {
142
+ typeUrl: "/coreum.asset.ft.v1.MsgUpdateDEXUnifiedRefAmount",
143
+ value: tx_3.MsgUpdateDEXUnifiedRefAmount.fromPartial(object),
144
+ };
145
+ };
146
+ /** MsgUpdateDEXWhitelistedDenoms
147
+ * Updates DEX unified ref amount.
148
+ *
149
+ * @param object Represents the properties available for this MsgUpdateDEXWhitelistedDenoms message.
150
+ * @returns A Msg object with the typeUrl and value object for the proper message
151
+ */
152
+ FT.UpdateDEXWhitelistedDenoms = function (object) {
153
+ return {
154
+ typeUrl: "/coreum.asset.ft.v1.MsgUpdateDEXWhitelistedDenoms",
155
+ value: tx_3.MsgUpdateDEXWhitelistedDenoms.fromPartial(object),
156
+ };
157
+ };
134
158
  })(FT || (exports.FT = FT = {}));
135
159
  /**
136
160
  * Transaction Module for the Non-Fungible Tokens modules (assetnft, nftbeta).
@@ -229,7 +253,7 @@ var NFT;
229
253
  */
230
254
  NFT.Send = function (object) {
231
255
  return {
232
- typeUrl: "/coreum.nft.v1beta1.MsgSend",
256
+ typeUrl: "/cosmos.nft.v1beta1.MsgSend",
233
257
  value: tx_1.MsgSend.fromPartial(object),
234
258
  };
235
259
  };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- export declare const protobufPackage = "coreum.nft.v1beta1";
3
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
4
4
  /** EventSend is emitted on Msg/Send */
5
5
  export interface EventSend {
6
6
  classId: string;
@@ -7,7 +7,7 @@ exports.EventBurn = exports.EventMint = exports.EventSend = exports.protobufPack
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- exports.protobufPackage = "coreum.nft.v1beta1";
10
+ exports.protobufPackage = "cosmos.nft.v1beta1";
11
11
  function createBaseEventSend() {
12
12
  return { classId: "", id: "", sender: "", receiver: "" };
13
13
  }
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { Class, NFT } from "./nft";
4
- export declare const protobufPackage = "coreum.nft.v1beta1";
4
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
5
5
  /** GenesisState defines the nft module's genesis state. */
6
6
  export interface GenesisState {
7
7
  /** class defines the class of the nft type. */
@@ -8,7 +8,7 @@ exports.Entry = exports.GenesisState = exports.protobufPackage = void 0;
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const nft_1 = require("./nft");
11
- exports.protobufPackage = "coreum.nft.v1beta1";
11
+ exports.protobufPackage = "cosmos.nft.v1beta1";
12
12
  function createBaseGenesisState() {
13
13
  return { classes: [], entries: [] };
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { Any } from "../../../google/protobuf/any";
4
- export declare const protobufPackage = "coreum.nft.v1beta1";
4
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
5
5
  /** Class defines the class of the nft type. */
6
6
  export interface Class {
7
7
  /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */
@@ -8,7 +8,7 @@ exports.NFT = exports.Class = exports.protobufPackage = void 0;
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const any_1 = require("../../../google/protobuf/any");
11
- exports.protobufPackage = "coreum.nft.v1beta1";
11
+ exports.protobufPackage = "cosmos.nft.v1beta1";
12
12
  function createBaseClass() {
13
13
  return {
14
14
  id: "",
@@ -2,7 +2,7 @@ import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { PageRequest, PageResponse } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
4
4
  import { Class, NFT } from "./nft";
5
- export declare const protobufPackage = "coreum.nft.v1beta1";
5
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
6
6
  /** QueryBalanceRequest is the request type for the Query/Balance RPC method */
7
7
  export interface QueryBalanceRequest {
8
8
  classId: string;
@@ -9,7 +9,7 @@ const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const pagination_1 = require("cosmjs-types/cosmos/base/query/v1beta1/pagination");
11
11
  const nft_1 = require("./nft");
12
- exports.protobufPackage = "coreum.nft.v1beta1";
12
+ exports.protobufPackage = "cosmos.nft.v1beta1";
13
13
  function createBaseQueryBalanceRequest() {
14
14
  return { classId: "", owner: "" };
15
15
  }
@@ -859,7 +859,7 @@ exports.QueryClassesResponse = {
859
859
  };
860
860
  class QueryClientImpl {
861
861
  constructor(rpc, opts) {
862
- this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || "coreum.nft.v1beta1.Query";
862
+ this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || "cosmos.nft.v1beta1.Query";
863
863
  this.rpc = rpc;
864
864
  this.Balance = this.Balance.bind(this);
865
865
  this.Owner = this.Owner.bind(this);
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- export declare const protobufPackage = "coreum.nft.v1beta1";
3
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
4
4
  /** MsgSend represents a message to send a nft from one account to another account. */
5
5
  export interface MsgSend {
6
6
  /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgSendResponse = exports.MsgSend = exports.prot
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- exports.protobufPackage = "coreum.nft.v1beta1";
10
+ exports.protobufPackage = "cosmos.nft.v1beta1";
11
11
  function createBaseMsgSend() {
12
12
  return { classId: "", id: "", sender: "", receiver: "" };
13
13
  }
@@ -134,7 +134,7 @@ exports.MsgSendResponse = {
134
134
  };
135
135
  class MsgClientImpl {
136
136
  constructor(rpc, opts) {
137
- this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || "coreum.nft.v1beta1.Msg";
137
+ this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || "cosmos.nft.v1beta1.Msg";
138
138
  this.rpc = rpc;
139
139
  this.Send = this.Send.bind(this);
140
140
  }
@@ -9,7 +9,7 @@ import { setupBankExtension, setupGovExtension, setupDistributionExtension } fro
9
9
  export declare enum CoreumTypeUrl {
10
10
  NFT = "/coreum.asset.nft.v1.",
11
11
  FT = "/coreum.asset.ft.v1.",
12
- NFTBeta = "/coreum.nft.v1beta1."
12
+ NFTBeta = "/cosmos.nft.v1beta1."
13
13
  }
14
14
  export interface ClientQueryClient extends QueryClient {
15
15
  ft: ReturnType<typeof setupFTExtension>["ft"];
@@ -9,7 +9,7 @@ var CoreumTypeUrl;
9
9
  (function (CoreumTypeUrl) {
10
10
  CoreumTypeUrl["NFT"] = "/coreum.asset.nft.v1.";
11
11
  CoreumTypeUrl["FT"] = "/coreum.asset.ft.v1.";
12
- CoreumTypeUrl["NFTBeta"] = "/coreum.nft.v1beta1.";
12
+ CoreumTypeUrl["NFTBeta"] = "/cosmos.nft.v1beta1.";
13
13
  })(CoreumTypeUrl || (exports.CoreumTypeUrl = CoreumTypeUrl = {}));
14
14
  // setupMintExtension,
15
15
  // setupFeegrantExtension,
@@ -1,6 +1,6 @@
1
1
  import { CoreumTypeUrl } from "../../types";
2
2
  import { MsgAddToWhitelist, MsgBurn, MsgIssueClass, MsgRemoveFromWhitelist, MsgMint, MsgFreeze, MsgUnfreeze, } from "./nft/v1/tx";
3
- import { MsgIssue, MsgFreeze as MsgFreezeFT, MsgGloballyFreeze, MsgGloballyUnfreeze, MsgMint as MsgMintFT, MsgBurn as MsgBurnFT, MsgSetWhitelistedLimit, MsgUnfreeze as MsgUnfreezeFT, MsgClawback, } from "./ft/v1/tx";
3
+ import { MsgIssue, MsgFreeze as MsgFreezeFT, MsgGloballyFreeze, MsgGloballyUnfreeze, MsgMint as MsgMintFT, MsgBurn as MsgBurnFT, MsgSetWhitelistedLimit, MsgUnfreeze as MsgUnfreezeFT, MsgClawback, MsgUpdateDEXUnifiedRefAmount, MsgUpdateDEXWhitelistedDenoms, } from "./ft/v1/tx";
4
4
  export const assetNftRegistry = [
5
5
  [CoreumTypeUrl.NFT + "MsgIssueClass", MsgIssueClass],
6
6
  [CoreumTypeUrl.NFT + "MsgAddToWhitelist", MsgAddToWhitelist],
@@ -20,4 +20,12 @@ export const assetFtRegistry = [
20
20
  [CoreumTypeUrl.FT + "MsgGloballyUnfreeze", MsgGloballyUnfreeze],
21
21
  [CoreumTypeUrl.FT + "MsgSetWhitelistedLimit", MsgSetWhitelistedLimit],
22
22
  [CoreumTypeUrl.FT + "MsgClawback", MsgClawback],
23
+ [
24
+ CoreumTypeUrl.FT + "MsgUpdateDEXWhitelistedDenoms",
25
+ MsgUpdateDEXWhitelistedDenoms,
26
+ ],
27
+ [
28
+ CoreumTypeUrl.FT + "MsgUpdateDEXUnifiedRefAmount",
29
+ MsgUpdateDEXUnifiedRefAmount,
30
+ ],
23
31
  ];
@@ -1,7 +1,7 @@
1
1
  import { GeneratedType } from "@cosmjs/proto-signing";
2
2
  import { MsgSend as NFTMsgSend } from "./nft/v1beta1/tx";
3
3
  import { MsgIssueClass as NFTMsgIssueClass, MsgMint as NFTMsgMint, MsgAddToWhitelist as NFTMsgAddToWhitelist, MsgBurn as NFTMsgBurn, MsgRemoveFromWhitelist as NFTMsgRemoveFromWhitelist, MsgFreeze as NFTMsgFreeze, MsgUnfreeze as NFTMsgUnfreeze } from "./asset/nft/v1/tx";
4
- import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit, MsgClawback as FTMsgClawback } from "./asset/ft/v1/tx";
4
+ import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit, MsgClawback as FTMsgClawback, MsgUpdateDEXUnifiedRefAmount, MsgUpdateDEXWhitelistedDenoms } from "./asset/ft/v1/tx";
5
5
  import { FTMsgs, NFTMsgs } from "../types/msgs";
6
6
  export { Feature } from "./asset/ft/v1/token";
7
7
  export { ClassFeature } from "./asset/nft/v1/nft";
@@ -108,6 +108,26 @@ export declare namespace FT {
108
108
  typeUrl: string;
109
109
  value: FTMsgClawback;
110
110
  };
111
+ /** MsgUpdateDEXUnifiedRefAmount
112
+ * Updates DEX unified ref amount.
113
+ *
114
+ * @param object Represents the properties available for this MsgUpdateDEXUnifiedRefAmount message.
115
+ * @returns A Msg object with the typeUrl and value object for the proper message
116
+ */
117
+ const UpdateDEXUnifiedRefAmount: (object: MsgUpdateDEXUnifiedRefAmount) => {
118
+ typeUrl: string;
119
+ value: MsgUpdateDEXUnifiedRefAmount;
120
+ };
121
+ /** MsgUpdateDEXWhitelistedDenoms
122
+ * Updates DEX unified ref amount.
123
+ *
124
+ * @param object Represents the properties available for this MsgUpdateDEXWhitelistedDenoms message.
125
+ * @returns A Msg object with the typeUrl and value object for the proper message
126
+ */
127
+ const UpdateDEXWhitelistedDenoms: (object: MsgUpdateDEXWhitelistedDenoms) => {
128
+ typeUrl: string;
129
+ value: MsgUpdateDEXWhitelistedDenoms;
130
+ };
111
131
  }
112
132
  /**
113
133
  * Transaction Module for the Non-Fungible Tokens modules (assetnft, nftbeta).
@@ -2,7 +2,7 @@ import { assetNftRegistry, assetFtRegistry } from "./asset";
2
2
  import { nftBetaRegistry } from "./nft";
3
3
  import { MsgSend as NFTMsgSend } from "./nft/v1beta1/tx";
4
4
  import { MsgIssueClass as NFTMsgIssueClass, MsgMint as NFTMsgMint, MsgAddToWhitelist as NFTMsgAddToWhitelist, MsgBurn as NFTMsgBurn, MsgRemoveFromWhitelist as NFTMsgRemoveFromWhitelist, MsgFreeze as NFTMsgFreeze, MsgUnfreeze as NFTMsgUnfreeze, } from "./asset/nft/v1/tx";
5
- import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit, MsgClawback as FTMsgClawback, } from "./asset/ft/v1/tx";
5
+ import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit, MsgClawback as FTMsgClawback, MsgUpdateDEXUnifiedRefAmount, MsgUpdateDEXWhitelistedDenoms, } from "./asset/ft/v1/tx";
6
6
  export { Feature } from "./asset/ft/v1/token";
7
7
  export { ClassFeature } from "./asset/nft/v1/nft";
8
8
  /**
@@ -126,6 +126,30 @@ export var FT;
126
126
  value: FTMsgClawback.fromPartial(object),
127
127
  };
128
128
  };
129
+ /** MsgUpdateDEXUnifiedRefAmount
130
+ * Updates DEX unified ref amount.
131
+ *
132
+ * @param object Represents the properties available for this MsgUpdateDEXUnifiedRefAmount message.
133
+ * @returns A Msg object with the typeUrl and value object for the proper message
134
+ */
135
+ FT.UpdateDEXUnifiedRefAmount = function (object) {
136
+ return {
137
+ typeUrl: "/coreum.asset.ft.v1.MsgUpdateDEXUnifiedRefAmount",
138
+ value: MsgUpdateDEXUnifiedRefAmount.fromPartial(object),
139
+ };
140
+ };
141
+ /** MsgUpdateDEXWhitelistedDenoms
142
+ * Updates DEX unified ref amount.
143
+ *
144
+ * @param object Represents the properties available for this MsgUpdateDEXWhitelistedDenoms message.
145
+ * @returns A Msg object with the typeUrl and value object for the proper message
146
+ */
147
+ FT.UpdateDEXWhitelistedDenoms = function (object) {
148
+ return {
149
+ typeUrl: "/coreum.asset.ft.v1.MsgUpdateDEXWhitelistedDenoms",
150
+ value: MsgUpdateDEXWhitelistedDenoms.fromPartial(object),
151
+ };
152
+ };
129
153
  })(FT || (FT = {}));
130
154
  /**
131
155
  * Transaction Module for the Non-Fungible Tokens modules (assetnft, nftbeta).
@@ -224,7 +248,7 @@ export var NFT;
224
248
  */
225
249
  NFT.Send = function (object) {
226
250
  return {
227
- typeUrl: "/coreum.nft.v1beta1.MsgSend",
251
+ typeUrl: "/cosmos.nft.v1beta1.MsgSend",
228
252
  value: NFTMsgSend.fromPartial(object),
229
253
  };
230
254
  };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- export declare const protobufPackage = "coreum.nft.v1beta1";
3
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
4
4
  /** EventSend is emitted on Msg/Send */
5
5
  export interface EventSend {
6
6
  classId: string;
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- export const protobufPackage = "coreum.nft.v1beta1";
4
+ export const protobufPackage = "cosmos.nft.v1beta1";
5
5
  function createBaseEventSend() {
6
6
  return { classId: "", id: "", sender: "", receiver: "" };
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { Class, NFT } from "./nft";
4
- export declare const protobufPackage = "coreum.nft.v1beta1";
4
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
5
5
  /** GenesisState defines the nft module's genesis state. */
6
6
  export interface GenesisState {
7
7
  /** class defines the class of the nft type. */
@@ -2,7 +2,7 @@
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
4
  import { Class, NFT } from "./nft";
5
- export const protobufPackage = "coreum.nft.v1beta1";
5
+ export const protobufPackage = "cosmos.nft.v1beta1";
6
6
  function createBaseGenesisState() {
7
7
  return { classes: [], entries: [] };
8
8
  }
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { Any } from "../../../google/protobuf/any";
4
- export declare const protobufPackage = "coreum.nft.v1beta1";
4
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
5
5
  /** Class defines the class of the nft type. */
6
6
  export interface Class {
7
7
  /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */
@@ -2,7 +2,7 @@
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
4
  import { Any } from "../../../google/protobuf/any";
5
- export const protobufPackage = "coreum.nft.v1beta1";
5
+ export const protobufPackage = "cosmos.nft.v1beta1";
6
6
  function createBaseClass() {
7
7
  return {
8
8
  id: "",
@@ -2,7 +2,7 @@ import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { PageRequest, PageResponse } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
4
4
  import { Class, NFT } from "./nft";
5
- export declare const protobufPackage = "coreum.nft.v1beta1";
5
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
6
6
  /** QueryBalanceRequest is the request type for the Query/Balance RPC method */
7
7
  export interface QueryBalanceRequest {
8
8
  classId: string;
@@ -3,7 +3,7 @@ import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
4
  import { PageRequest, PageResponse, } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
5
5
  import { Class, NFT } from "./nft";
6
- export const protobufPackage = "coreum.nft.v1beta1";
6
+ export const protobufPackage = "cosmos.nft.v1beta1";
7
7
  function createBaseQueryBalanceRequest() {
8
8
  return { classId: "", owner: "" };
9
9
  }
@@ -846,7 +846,7 @@ export class QueryClientImpl {
846
846
  rpc;
847
847
  service;
848
848
  constructor(rpc, opts) {
849
- this.service = opts?.service || "coreum.nft.v1beta1.Query";
849
+ this.service = opts?.service || "cosmos.nft.v1beta1.Query";
850
850
  this.rpc = rpc;
851
851
  this.Balance = this.Balance.bind(this);
852
852
  this.Owner = this.Owner.bind(this);
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- export declare const protobufPackage = "coreum.nft.v1beta1";
3
+ export declare const protobufPackage = "cosmos.nft.v1beta1";
4
4
  /** MsgSend represents a message to send a nft from one account to another account. */
5
5
  export interface MsgSend {
6
6
  /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- export const protobufPackage = "coreum.nft.v1beta1";
4
+ export const protobufPackage = "cosmos.nft.v1beta1";
5
5
  function createBaseMsgSend() {
6
6
  return { classId: "", id: "", sender: "", receiver: "" };
7
7
  }
@@ -129,7 +129,7 @@ export class MsgClientImpl {
129
129
  rpc;
130
130
  service;
131
131
  constructor(rpc, opts) {
132
- this.service = opts?.service || "coreum.nft.v1beta1.Msg";
132
+ this.service = opts?.service || "cosmos.nft.v1beta1.Msg";
133
133
  this.rpc = rpc;
134
134
  this.Send = this.Send.bind(this);
135
135
  }
@@ -9,7 +9,7 @@ import { setupBankExtension, setupGovExtension, setupDistributionExtension } fro
9
9
  export declare enum CoreumTypeUrl {
10
10
  NFT = "/coreum.asset.nft.v1.",
11
11
  FT = "/coreum.asset.ft.v1.",
12
- NFTBeta = "/coreum.nft.v1beta1."
12
+ NFTBeta = "/cosmos.nft.v1beta1."
13
13
  }
14
14
  export interface ClientQueryClient extends QueryClient {
15
15
  ft: ReturnType<typeof setupFTExtension>["ft"];
@@ -6,7 +6,7 @@ export var CoreumTypeUrl;
6
6
  (function (CoreumTypeUrl) {
7
7
  CoreumTypeUrl["NFT"] = "/coreum.asset.nft.v1.";
8
8
  CoreumTypeUrl["FT"] = "/coreum.asset.ft.v1.";
9
- CoreumTypeUrl["NFTBeta"] = "/coreum.nft.v1beta1.";
9
+ CoreumTypeUrl["NFTBeta"] = "/cosmos.nft.v1beta1.";
10
10
  })(CoreumTypeUrl || (CoreumTypeUrl = {}));
11
11
  // setupMintExtension,
12
12
  // setupFeegrantExtension,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coreum-js",
3
- "version": "2.15.0",
3
+ "version": "2.16.1",
4
4
  "description": "JS/TS Library to to easily make use of the Coreum Blockchain",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",