coreum-js 2.14.0 → 2.16.0

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 (45) hide show
  1. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +119 -17
  2. package/dist/main/coreum/asset/ft/v1/params.d.ts +37 -7
  3. package/dist/main/coreum/asset/ft/v1/params.js +68 -7
  4. package/dist/main/coreum/asset/ft/v1/query.d.ts +161 -17
  5. package/dist/main/coreum/asset/ft/v1/token.d.ts +80 -5
  6. package/dist/main/coreum/asset/ft/v1/token.js +185 -3
  7. package/dist/main/coreum/asset/ft/v1/tx.d.ts +517 -30
  8. package/dist/main/coreum/asset/ft/v1/tx.js +877 -114
  9. package/dist/main/coreum/index.d.ts +21 -1
  10. package/dist/main/coreum/index.js +25 -1
  11. package/dist/main/coreum/nft/v1beta1/event.d.ts +1 -1
  12. package/dist/main/coreum/nft/v1beta1/event.js +1 -1
  13. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +1 -1
  14. package/dist/main/coreum/nft/v1beta1/genesis.js +1 -1
  15. package/dist/main/coreum/nft/v1beta1/nft.d.ts +1 -1
  16. package/dist/main/coreum/nft/v1beta1/nft.js +1 -1
  17. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  18. package/dist/main/coreum/nft/v1beta1/query.js +2 -2
  19. package/dist/main/coreum/nft/v1beta1/tx.d.ts +1 -1
  20. package/dist/main/coreum/nft/v1beta1/tx.js +2 -2
  21. package/dist/main/types/core.d.ts +1 -1
  22. package/dist/main/types/core.js +1 -1
  23. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +119 -17
  24. package/dist/module/coreum/asset/ft/v1/params.d.ts +37 -7
  25. package/dist/module/coreum/asset/ft/v1/params.js +67 -7
  26. package/dist/module/coreum/asset/ft/v1/query.d.ts +161 -17
  27. package/dist/module/coreum/asset/ft/v1/token.d.ts +80 -5
  28. package/dist/module/coreum/asset/ft/v1/token.js +185 -4
  29. package/dist/module/coreum/asset/ft/v1/tx.d.ts +517 -30
  30. package/dist/module/coreum/asset/ft/v1/tx.js +870 -115
  31. package/dist/module/coreum/index.d.ts +21 -1
  32. package/dist/module/coreum/index.js +26 -2
  33. package/dist/module/coreum/nft/v1beta1/event.d.ts +1 -1
  34. package/dist/module/coreum/nft/v1beta1/event.js +1 -1
  35. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +1 -1
  36. package/dist/module/coreum/nft/v1beta1/genesis.js +1 -1
  37. package/dist/module/coreum/nft/v1beta1/nft.d.ts +1 -1
  38. package/dist/module/coreum/nft/v1beta1/nft.js +1 -1
  39. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  40. package/dist/module/coreum/nft/v1beta1/query.js +2 -2
  41. package/dist/module/coreum/nft/v1beta1/tx.d.ts +1 -1
  42. package/dist/module/coreum/nft/v1beta1/tx.js +2 -2
  43. package/dist/module/types/core.d.ts +1 -1
  44. package/dist/module/types/core.js +1 -1
  45. package/package.json +1 -1
@@ -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,
@@ -33,6 +33,11 @@ export declare const GenesisState: {
33
33
  denom?: string;
34
34
  amount?: string;
35
35
  };
36
+ tokenUpgradeDecisionTimeout?: Date;
37
+ tokenUpgradeGracePeriod?: {
38
+ seconds?: number;
39
+ nanos?: number;
40
+ };
36
41
  };
37
42
  tokens?: {
38
43
  denom?: string;
@@ -48,6 +53,12 @@ export declare const GenesisState: {
48
53
  version?: number;
49
54
  uri?: string;
50
55
  uriHash?: string;
56
+ extensionCwAddress?: string;
57
+ admin?: string;
58
+ dexSettings?: {
59
+ unifiedRefAmount?: string;
60
+ whitelistedDenoms?: string[];
61
+ };
51
62
  }[];
52
63
  frozenBalances?: {
53
64
  address?: string;
@@ -69,6 +80,11 @@ export declare const GenesisState: {
69
80
  denom?: string;
70
81
  amount?: string;
71
82
  };
83
+ tokenUpgradeDecisionTimeout?: Date;
84
+ tokenUpgradeGracePeriod?: {
85
+ seconds?: number;
86
+ nanos?: number;
87
+ };
72
88
  } & {
73
89
  issueFee?: {
74
90
  denom?: string;
@@ -77,7 +93,15 @@ export declare const GenesisState: {
77
93
  denom?: string;
78
94
  amount?: string;
79
95
  } & { [K in Exclude<keyof I["params"]["issueFee"], keyof Coin>]: never; };
80
- } & { [K_1 in Exclude<keyof I["params"], "issueFee">]: never; };
96
+ tokenUpgradeDecisionTimeout?: Date;
97
+ tokenUpgradeGracePeriod?: {
98
+ seconds?: number;
99
+ nanos?: number;
100
+ } & {
101
+ seconds?: number;
102
+ nanos?: number;
103
+ } & { [K_1 in Exclude<keyof I["params"]["tokenUpgradeGracePeriod"], keyof import("../../../../google/protobuf/duration").Duration>]: never; };
104
+ } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
81
105
  tokens?: {
82
106
  denom?: string;
83
107
  issuer?: string;
@@ -92,6 +116,12 @@ export declare const GenesisState: {
92
116
  version?: number;
93
117
  uri?: string;
94
118
  uriHash?: string;
119
+ extensionCwAddress?: string;
120
+ admin?: string;
121
+ dexSettings?: {
122
+ unifiedRefAmount?: string;
123
+ whitelistedDenoms?: string[];
124
+ };
95
125
  }[] & ({
96
126
  denom?: string;
97
127
  issuer?: string;
@@ -106,6 +136,12 @@ export declare const GenesisState: {
106
136
  version?: number;
107
137
  uri?: string;
108
138
  uriHash?: string;
139
+ extensionCwAddress?: string;
140
+ admin?: string;
141
+ dexSettings?: {
142
+ unifiedRefAmount?: string;
143
+ whitelistedDenoms?: string[];
144
+ };
109
145
  } & {
110
146
  denom?: string;
111
147
  issuer?: string;
@@ -114,13 +150,22 @@ export declare const GenesisState: {
114
150
  precision?: number;
115
151
  description?: string;
116
152
  globallyFrozen?: boolean;
117
- features?: import("./token").Feature[] & import("./token").Feature[] & { [K_2 in Exclude<keyof I["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
153
+ features?: import("./token").Feature[] & import("./token").Feature[] & { [K_3 in Exclude<keyof I["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
118
154
  burnRate?: string;
119
155
  sendCommissionRate?: string;
120
156
  version?: number;
121
157
  uri?: string;
122
158
  uriHash?: string;
123
- } & { [K_3 in Exclude<keyof I["tokens"][number], keyof Token>]: never; })[] & { [K_4 in Exclude<keyof I["tokens"], keyof {
159
+ extensionCwAddress?: string;
160
+ admin?: string;
161
+ dexSettings?: {
162
+ unifiedRefAmount?: string;
163
+ whitelistedDenoms?: string[];
164
+ } & {
165
+ unifiedRefAmount?: string;
166
+ whitelistedDenoms?: string[] & string[] & { [K_4 in Exclude<keyof I["tokens"][number]["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
167
+ } & { [K_5 in Exclude<keyof I["tokens"][number]["dexSettings"], keyof import("./token").DEXSettings>]: never; };
168
+ } & { [K_6 in Exclude<keyof I["tokens"][number], keyof Token>]: never; })[] & { [K_7 in Exclude<keyof I["tokens"], keyof {
124
169
  denom?: string;
125
170
  issuer?: string;
126
171
  symbol?: string;
@@ -134,6 +179,12 @@ export declare const GenesisState: {
134
179
  version?: number;
135
180
  uri?: string;
136
181
  uriHash?: string;
182
+ extensionCwAddress?: string;
183
+ admin?: string;
184
+ dexSettings?: {
185
+ unifiedRefAmount?: string;
186
+ whitelistedDenoms?: string[];
187
+ };
137
188
  }[]>]: never; };
138
189
  frozenBalances?: {
139
190
  address?: string;
@@ -158,11 +209,11 @@ export declare const GenesisState: {
158
209
  } & {
159
210
  denom?: string;
160
211
  amount?: string;
161
- } & { [K_5 in Exclude<keyof I["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_6 in Exclude<keyof I["frozenBalances"][number]["coins"], keyof {
212
+ } & { [K_8 in Exclude<keyof I["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_9 in Exclude<keyof I["frozenBalances"][number]["coins"], keyof {
162
213
  denom?: string;
163
214
  amount?: string;
164
215
  }[]>]: never; };
165
- } & { [K_7 in Exclude<keyof I["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_8 in Exclude<keyof I["frozenBalances"], keyof {
216
+ } & { [K_10 in Exclude<keyof I["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_11 in Exclude<keyof I["frozenBalances"], keyof {
166
217
  address?: string;
167
218
  coins?: {
168
219
  denom?: string;
@@ -192,24 +243,29 @@ export declare const GenesisState: {
192
243
  } & {
193
244
  denom?: string;
194
245
  amount?: string;
195
- } & { [K_9 in Exclude<keyof I["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_10 in Exclude<keyof I["whitelistedBalances"][number]["coins"], keyof {
246
+ } & { [K_12 in Exclude<keyof I["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_13 in Exclude<keyof I["whitelistedBalances"][number]["coins"], keyof {
196
247
  denom?: string;
197
248
  amount?: string;
198
249
  }[]>]: never; };
199
- } & { [K_11 in Exclude<keyof I["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_12 in Exclude<keyof I["whitelistedBalances"], keyof {
250
+ } & { [K_14 in Exclude<keyof I["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_15 in Exclude<keyof I["whitelistedBalances"], keyof {
200
251
  address?: string;
201
252
  coins?: {
202
253
  denom?: string;
203
254
  amount?: string;
204
255
  }[];
205
256
  }[]>]: never; };
206
- } & { [K_13 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
257
+ } & { [K_16 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
207
258
  fromPartial<I_1 extends {
208
259
  params?: {
209
260
  issueFee?: {
210
261
  denom?: string;
211
262
  amount?: string;
212
263
  };
264
+ tokenUpgradeDecisionTimeout?: Date;
265
+ tokenUpgradeGracePeriod?: {
266
+ seconds?: number;
267
+ nanos?: number;
268
+ };
213
269
  };
214
270
  tokens?: {
215
271
  denom?: string;
@@ -225,6 +281,12 @@ export declare const GenesisState: {
225
281
  version?: number;
226
282
  uri?: string;
227
283
  uriHash?: string;
284
+ extensionCwAddress?: string;
285
+ admin?: string;
286
+ dexSettings?: {
287
+ unifiedRefAmount?: string;
288
+ whitelistedDenoms?: string[];
289
+ };
228
290
  }[];
229
291
  frozenBalances?: {
230
292
  address?: string;
@@ -246,6 +308,11 @@ export declare const GenesisState: {
246
308
  denom?: string;
247
309
  amount?: string;
248
310
  };
311
+ tokenUpgradeDecisionTimeout?: Date;
312
+ tokenUpgradeGracePeriod?: {
313
+ seconds?: number;
314
+ nanos?: number;
315
+ };
249
316
  } & {
250
317
  issueFee?: {
251
318
  denom?: string;
@@ -253,8 +320,16 @@ export declare const GenesisState: {
253
320
  } & {
254
321
  denom?: string;
255
322
  amount?: string;
256
- } & { [K_14 in Exclude<keyof I_1["params"]["issueFee"], keyof Coin>]: never; };
257
- } & { [K_15 in Exclude<keyof I_1["params"], "issueFee">]: never; };
323
+ } & { [K_17 in Exclude<keyof I_1["params"]["issueFee"], keyof Coin>]: never; };
324
+ tokenUpgradeDecisionTimeout?: Date;
325
+ tokenUpgradeGracePeriod?: {
326
+ seconds?: number;
327
+ nanos?: number;
328
+ } & {
329
+ seconds?: number;
330
+ nanos?: number;
331
+ } & { [K_18 in Exclude<keyof I_1["params"]["tokenUpgradeGracePeriod"], keyof import("../../../../google/protobuf/duration").Duration>]: never; };
332
+ } & { [K_19 in Exclude<keyof I_1["params"], keyof Params>]: never; };
258
333
  tokens?: {
259
334
  denom?: string;
260
335
  issuer?: string;
@@ -269,6 +344,12 @@ export declare const GenesisState: {
269
344
  version?: number;
270
345
  uri?: string;
271
346
  uriHash?: string;
347
+ extensionCwAddress?: string;
348
+ admin?: string;
349
+ dexSettings?: {
350
+ unifiedRefAmount?: string;
351
+ whitelistedDenoms?: string[];
352
+ };
272
353
  }[] & ({
273
354
  denom?: string;
274
355
  issuer?: string;
@@ -283,6 +364,12 @@ export declare const GenesisState: {
283
364
  version?: number;
284
365
  uri?: string;
285
366
  uriHash?: string;
367
+ extensionCwAddress?: string;
368
+ admin?: string;
369
+ dexSettings?: {
370
+ unifiedRefAmount?: string;
371
+ whitelistedDenoms?: string[];
372
+ };
286
373
  } & {
287
374
  denom?: string;
288
375
  issuer?: string;
@@ -291,13 +378,22 @@ export declare const GenesisState: {
291
378
  precision?: number;
292
379
  description?: string;
293
380
  globallyFrozen?: boolean;
294
- features?: import("./token").Feature[] & import("./token").Feature[] & { [K_16 in Exclude<keyof I_1["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
381
+ features?: import("./token").Feature[] & import("./token").Feature[] & { [K_20 in Exclude<keyof I_1["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
295
382
  burnRate?: string;
296
383
  sendCommissionRate?: string;
297
384
  version?: number;
298
385
  uri?: string;
299
386
  uriHash?: string;
300
- } & { [K_17 in Exclude<keyof I_1["tokens"][number], keyof Token>]: never; })[] & { [K_18 in Exclude<keyof I_1["tokens"], keyof {
387
+ extensionCwAddress?: string;
388
+ admin?: string;
389
+ dexSettings?: {
390
+ unifiedRefAmount?: string;
391
+ whitelistedDenoms?: string[];
392
+ } & {
393
+ unifiedRefAmount?: string;
394
+ whitelistedDenoms?: string[] & string[] & { [K_21 in Exclude<keyof I_1["tokens"][number]["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
395
+ } & { [K_22 in Exclude<keyof I_1["tokens"][number]["dexSettings"], keyof import("./token").DEXSettings>]: never; };
396
+ } & { [K_23 in Exclude<keyof I_1["tokens"][number], keyof Token>]: never; })[] & { [K_24 in Exclude<keyof I_1["tokens"], keyof {
301
397
  denom?: string;
302
398
  issuer?: string;
303
399
  symbol?: string;
@@ -311,6 +407,12 @@ export declare const GenesisState: {
311
407
  version?: number;
312
408
  uri?: string;
313
409
  uriHash?: string;
410
+ extensionCwAddress?: string;
411
+ admin?: string;
412
+ dexSettings?: {
413
+ unifiedRefAmount?: string;
414
+ whitelistedDenoms?: string[];
415
+ };
314
416
  }[]>]: never; };
315
417
  frozenBalances?: {
316
418
  address?: string;
@@ -335,11 +437,11 @@ export declare const GenesisState: {
335
437
  } & {
336
438
  denom?: string;
337
439
  amount?: string;
338
- } & { [K_19 in Exclude<keyof I_1["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_20 in Exclude<keyof I_1["frozenBalances"][number]["coins"], keyof {
440
+ } & { [K_25 in Exclude<keyof I_1["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_26 in Exclude<keyof I_1["frozenBalances"][number]["coins"], keyof {
339
441
  denom?: string;
340
442
  amount?: string;
341
443
  }[]>]: never; };
342
- } & { [K_21 in Exclude<keyof I_1["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_22 in Exclude<keyof I_1["frozenBalances"], keyof {
444
+ } & { [K_27 in Exclude<keyof I_1["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_28 in Exclude<keyof I_1["frozenBalances"], keyof {
343
445
  address?: string;
344
446
  coins?: {
345
447
  denom?: string;
@@ -369,18 +471,18 @@ export declare const GenesisState: {
369
471
  } & {
370
472
  denom?: string;
371
473
  amount?: string;
372
- } & { [K_23 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_24 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"], keyof {
474
+ } & { [K_29 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_30 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"], keyof {
373
475
  denom?: string;
374
476
  amount?: string;
375
477
  }[]>]: never; };
376
- } & { [K_25 in Exclude<keyof I_1["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_26 in Exclude<keyof I_1["whitelistedBalances"], keyof {
478
+ } & { [K_31 in Exclude<keyof I_1["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_32 in Exclude<keyof I_1["whitelistedBalances"], keyof {
377
479
  address?: string;
378
480
  coins?: {
379
481
  denom?: string;
380
482
  amount?: string;
381
483
  }[];
382
484
  }[]>]: never; };
383
- } & { [K_27 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
485
+ } & { [K_33 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
384
486
  };
385
487
  export declare const Balance: {
386
488
  encode(message: Balance, writer?: _m0.Writer): _m0.Writer;
@@ -1,11 +1,15 @@
1
- import Long from "long";
2
1
  import _m0 from "protobufjs/minimal";
3
2
  import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
+ import { Duration } from "../../../../google/protobuf/duration";
4
4
  export declare const protobufPackage = "coreum.asset.ft.v1";
5
5
  /** Params store gov manageable parameters. */
6
6
  export interface Params {
7
- /** issue_fee is the fee burnt each time new token is issued */
8
- issueFee?: Coin;
7
+ /** issue_fee is the fee burnt each time new token is issued. */
8
+ issueFee: Coin | undefined;
9
+ /** token_upgrade_decision_timeout defines the end of the decision period for upgrading the token. */
10
+ tokenUpgradeDecisionTimeout: Date | undefined;
11
+ /** token_upgrade_grace_period the period after which the token upgrade is executed effectively. */
12
+ tokenUpgradeGracePeriod: Duration | undefined;
9
13
  }
10
14
  export declare const Params: {
11
15
  encode(message: Params, writer?: _m0.Writer): _m0.Writer;
@@ -17,6 +21,11 @@ export declare const Params: {
17
21
  denom?: string;
18
22
  amount?: string;
19
23
  };
24
+ tokenUpgradeDecisionTimeout?: Date | undefined;
25
+ tokenUpgradeGracePeriod?: {
26
+ seconds?: number;
27
+ nanos?: number;
28
+ };
20
29
  } & {
21
30
  issueFee?: {
22
31
  denom?: string;
@@ -25,12 +34,25 @@ export declare const Params: {
25
34
  denom?: string;
26
35
  amount?: string;
27
36
  } & { [K in Exclude<keyof I["issueFee"], keyof Coin>]: never; };
28
- } & { [K_1 in Exclude<keyof I, "issueFee">]: never; }>(base?: I): Params;
37
+ tokenUpgradeDecisionTimeout?: Date | undefined;
38
+ tokenUpgradeGracePeriod?: {
39
+ seconds?: number;
40
+ nanos?: number;
41
+ } & {
42
+ seconds?: number;
43
+ nanos?: number;
44
+ } & { [K_1 in Exclude<keyof I["tokenUpgradeGracePeriod"], keyof Duration>]: never; };
45
+ } & { [K_2 in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
29
46
  fromPartial<I_1 extends {
30
47
  issueFee?: {
31
48
  denom?: string;
32
49
  amount?: string;
33
50
  };
51
+ tokenUpgradeDecisionTimeout?: Date | undefined;
52
+ tokenUpgradeGracePeriod?: {
53
+ seconds?: number;
54
+ nanos?: number;
55
+ };
34
56
  } & {
35
57
  issueFee?: {
36
58
  denom?: string;
@@ -38,11 +60,19 @@ export declare const Params: {
38
60
  } & {
39
61
  denom?: string;
40
62
  amount?: string;
41
- } & { [K_2 in Exclude<keyof I_1["issueFee"], keyof Coin>]: never; };
42
- } & { [K_3 in Exclude<keyof I_1, "issueFee">]: never; }>(object: I_1): Params;
63
+ } & { [K_3 in Exclude<keyof I_1["issueFee"], keyof Coin>]: never; };
64
+ tokenUpgradeDecisionTimeout?: Date | undefined;
65
+ tokenUpgradeGracePeriod?: {
66
+ seconds?: number;
67
+ nanos?: number;
68
+ } & {
69
+ seconds?: number;
70
+ nanos?: number;
71
+ } & { [K_4 in Exclude<keyof I_1["tokenUpgradeGracePeriod"], keyof Duration>]: never; };
72
+ } & { [K_5 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
43
73
  };
44
74
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
45
- export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
75
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
46
76
  [K in keyof T]?: DeepPartial<T[K]>;
47
77
  } : Partial<T>;
48
78
  type KeysOfUnion<T> = T extends T ? keyof T : never;