coreum-js 2.6.5 → 2.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -3
- package/dist/main/coreum/index.d.ts +16 -0
- package/dist/main/coreum/index.js +17 -1
- package/dist/main/cosmos/index.d.ts +161 -0
- package/dist/main/cosmos/index.js +162 -1
- package/dist/main/wasm/v1/index.d.ts +77 -0
- package/dist/main/wasm/v1/index.js +78 -1
- package/dist/module/coreum/index.d.ts +16 -0
- package/dist/module/coreum/index.js +17 -1
- package/dist/module/cosmos/index.d.ts +161 -0
- package/dist/module/cosmos/index.js +162 -1
- package/dist/module/wasm/v1/index.d.ts +77 -0
- package/dist/module/wasm/v1/index.js +78 -1
- package/package.json +1 -1
|
@@ -3,80 +3,157 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CosmWasm = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
5
|
const baseUrl = "/cosmwasm.wasm.v1.";
|
|
6
|
+
/**
|
|
7
|
+
* Transaction Module for the Smart Contracts Module (wasm)
|
|
8
|
+
*/
|
|
6
9
|
var CosmWasm;
|
|
7
10
|
(function (CosmWasm) {
|
|
11
|
+
/** MsgStoreAndInstantiateContract message creator
|
|
12
|
+
*
|
|
13
|
+
* @param object Represents the properties available for this MsgStoreAndInstantiateContract message.
|
|
14
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
15
|
+
*/
|
|
8
16
|
CosmWasm.StoreAndInstantiateContract = function (object) {
|
|
9
17
|
return {
|
|
10
18
|
typeUrl: baseUrl + "MsgStoreAndInstantiateContract",
|
|
11
19
|
value: tx_1.MsgStoreAndInstantiateContract.fromPartial(object),
|
|
12
20
|
};
|
|
13
21
|
};
|
|
22
|
+
/** MsgUnpinCodes message creator
|
|
23
|
+
*
|
|
24
|
+
* @param object Represents the properties available for this MsgUnpinCodes message.
|
|
25
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
26
|
+
*/
|
|
14
27
|
CosmWasm.UnpinCodes = function (object) {
|
|
15
28
|
return {
|
|
16
29
|
typeUrl: baseUrl + "MsgUnpinCodes",
|
|
17
30
|
value: tx_1.MsgUnpinCodes.fromPartial(object),
|
|
18
31
|
};
|
|
19
32
|
};
|
|
33
|
+
/** MsgPinCodes message creator
|
|
34
|
+
*
|
|
35
|
+
* @param object Represents the properties available for this MsgPinCodes message.
|
|
36
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
37
|
+
*/
|
|
20
38
|
CosmWasm.PinCodes = function (object) {
|
|
21
39
|
return {
|
|
22
40
|
typeUrl: baseUrl + "MsgPinCodes",
|
|
23
41
|
value: tx_1.MsgPinCodes.fromPartial(object),
|
|
24
42
|
};
|
|
25
43
|
};
|
|
44
|
+
/** MsgSudoContract message creator
|
|
45
|
+
*
|
|
46
|
+
* @param object Represents the properties available for this MsgSudoContract message.
|
|
47
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
48
|
+
*/
|
|
26
49
|
CosmWasm.SudoContract = function (object) {
|
|
27
50
|
return {
|
|
28
51
|
typeUrl: baseUrl + "MsgSudoContract",
|
|
29
52
|
value: tx_1.MsgSudoContract.fromPartial(object),
|
|
30
53
|
};
|
|
31
54
|
};
|
|
55
|
+
/** MsgUpdateParams message creator
|
|
56
|
+
*
|
|
57
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
58
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
59
|
+
*/
|
|
32
60
|
CosmWasm.UpdateParams = function (object) {
|
|
33
61
|
return {
|
|
34
62
|
typeUrl: baseUrl + "MsgUpdateParams",
|
|
35
63
|
value: tx_1.MsgUpdateParams.fromPartial(object),
|
|
36
64
|
};
|
|
37
65
|
};
|
|
66
|
+
/** MsgUpdateInstantiateConfig message creator
|
|
67
|
+
*
|
|
68
|
+
* @param object Represents the properties available for this MsgUpdateInstantiateConfig message.
|
|
69
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
70
|
+
*/
|
|
38
71
|
CosmWasm.UpdateInstantiateConfig = function (object) {
|
|
39
72
|
return {
|
|
40
73
|
typeUrl: baseUrl + "MsgUpdateInstantiateConfig",
|
|
41
74
|
value: tx_1.MsgUpdateInstantiateConfig.fromPartial(object),
|
|
42
75
|
};
|
|
43
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
* MsgStoreCode message creator
|
|
79
|
+
* Submit Wasm code to the system
|
|
80
|
+
*
|
|
81
|
+
* @param object Represents the properties available for this MsgStoreCode message.
|
|
82
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
83
|
+
*/
|
|
44
84
|
CosmWasm.StoreCode = function (object) {
|
|
45
85
|
return {
|
|
46
86
|
typeUrl: baseUrl + "MsgStoreCode",
|
|
47
87
|
value: tx_1.MsgStoreCode.fromPartial(object),
|
|
48
88
|
};
|
|
49
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* MsgInstantiateContract message creator
|
|
92
|
+
* Creates a new smart contract instance for the given code id.
|
|
93
|
+
*
|
|
94
|
+
* @param object Represents the properties available for this MsgInstantiateContract message.
|
|
95
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
96
|
+
*/
|
|
50
97
|
CosmWasm.InstantiateContract = function (object) {
|
|
51
98
|
return {
|
|
52
99
|
typeUrl: baseUrl + "MsgInstantiateContract",
|
|
53
100
|
value: tx_1.MsgInstantiateContract.fromPartial(object),
|
|
54
101
|
};
|
|
55
102
|
};
|
|
103
|
+
/** MsgInstantiateContract2 message creator
|
|
104
|
+
* Creates a new smart contract instance for the given code id with a predictable address
|
|
105
|
+
*
|
|
106
|
+
* @param object Represents the properties available for this MsgInstantiateContract2 message.
|
|
107
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
108
|
+
*/
|
|
56
109
|
CosmWasm.InstantiateContract2 = function (object) {
|
|
57
110
|
return {
|
|
58
111
|
typeUrl: baseUrl + "MsgInstantiateContract2",
|
|
59
112
|
value: tx_1.MsgInstantiateContract2.fromPartial(object),
|
|
60
113
|
};
|
|
61
114
|
};
|
|
115
|
+
/** MsgClearAdmin message creator
|
|
116
|
+
* Removes any admin stored for a smart contract
|
|
117
|
+
*
|
|
118
|
+
* @param object Represents the properties available for this MsgClearAdmin message.
|
|
119
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
120
|
+
*/
|
|
62
121
|
CosmWasm.ClearAdmin = function (object) {
|
|
63
122
|
return {
|
|
64
123
|
typeUrl: baseUrl + "MsgClearAdmin",
|
|
65
124
|
value: tx_1.MsgClearAdmin.fromPartial(object),
|
|
66
125
|
};
|
|
67
126
|
};
|
|
127
|
+
/** MsgUpdateAdmin message creator
|
|
128
|
+
* Sets a new admin for a smart contract
|
|
129
|
+
*
|
|
130
|
+
* @param object Represents the properties available for this MsgUpdateAdmin message.
|
|
131
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
132
|
+
*/
|
|
68
133
|
CosmWasm.UpdateAdmin = function (object) {
|
|
69
134
|
return {
|
|
70
135
|
typeUrl: baseUrl + "MsgUpdateAdmin",
|
|
71
136
|
value: tx_1.MsgUpdateAdmin.fromPartial(object),
|
|
72
137
|
};
|
|
73
138
|
};
|
|
139
|
+
/** MsgExecuteContract message creator
|
|
140
|
+
* Submits the given message data to a smart contract
|
|
141
|
+
*
|
|
142
|
+
* @param object Represents the properties available for this MsgExecuteContract message.
|
|
143
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
144
|
+
*/
|
|
74
145
|
CosmWasm.ExecuteContract = function (object) {
|
|
75
146
|
return {
|
|
76
147
|
typeUrl: baseUrl + "MsgExecuteContract",
|
|
77
148
|
value: tx_1.MsgExecuteContract.fromPartial(object),
|
|
78
149
|
};
|
|
79
150
|
};
|
|
151
|
+
/** MsgMigrateContract message creator
|
|
152
|
+
* Runs a code upgrade/ downgrade for a smart contract
|
|
153
|
+
*
|
|
154
|
+
* @param object Represents the properties available for this MsgMigrateContract message.
|
|
155
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
156
|
+
*/
|
|
80
157
|
CosmWasm.MigrateContract = function (object) {
|
|
81
158
|
return {
|
|
82
159
|
typeUrl: baseUrl + "MsgMigrateContract",
|
|
@@ -84,4 +161,4 @@ var CosmWasm;
|
|
|
84
161
|
};
|
|
85
162
|
};
|
|
86
163
|
})(CosmWasm = exports.CosmWasm || (exports.CosmWasm = {}));
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
164
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2FzbS92MS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFnQmM7QUFFZCxNQUFNLE9BQU8sR0FBRyxvQkFBb0IsQ0FBQztBQUVyQzs7R0FFRztBQUNILElBQWlCLFFBQVEsQ0ErTHhCO0FBL0xELFdBQWlCLFFBQVE7SUFDdkI7Ozs7T0FJRztJQUNVLG9DQUEyQixHQUFHLFVBRXpDLE1BQVM7UUFDVCxPQUFPO1lBQ0wsT0FBTyxFQUFFLE9BQU8sR0FBRyxnQ0FBZ0M7WUFDbkQsS0FBSyxFQUFFLG1DQUE4QixDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUM7U0FDMUQsQ0FBQztJQUNKLENBQUMsQ0FBQztJQUVGOzs7O09BSUc7SUFDVSxtQkFBVSxHQUFHLFVBRXhCLE1BQVM7UUFDVCxPQUFPO1lBQ0wsT0FBTyxFQUFFLE9BQU8sR0FBRyxlQUFlO1lBQ2xDLEtBQUssRUFBRSxrQkFBYSxDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUM7U0FDekMsQ0FBQztJQUNKLENBQUMsQ0FBQztJQUVGOzs7O09BSUc7SUFDVSxpQkFBUSxHQUFHLFVBRXRCLE1BQVM7UUFDVCxPQUFP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O1lBQ0wsT0FBTyxFQUFFLE9BQU8sR0FBRyxvQkFBb0I7WUFDdkMsS0FBSyxFQUFFLHVCQUFrQixDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUM7U0FDOUMsQ0FBQztJQUNKLENBQUMsQ0FBQztBQUNKLENBQUMsRUEvTGdCLFFBQVEsR0FBUixnQkFBUSxLQUFSLGdCQUFRLFFBK0x4QiJ9
|
|
@@ -16,6 +16,7 @@ export declare const coreumRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
|
16
16
|
*/
|
|
17
17
|
export declare namespace FT {
|
|
18
18
|
/** MsgMint message creator
|
|
19
|
+
* Mints new fungible tokens.
|
|
19
20
|
*
|
|
20
21
|
* @param object Represents the properties available for this MsgMint message.
|
|
21
22
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -40,6 +41,7 @@ export declare namespace FT {
|
|
|
40
41
|
value: FTMsgMint;
|
|
41
42
|
};
|
|
42
43
|
/** MsgIssue message creator
|
|
44
|
+
* Defines a method to issue a new fungible token.
|
|
43
45
|
*
|
|
44
46
|
* @param object Represents the properties available for this MsgIssue message.
|
|
45
47
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -69,6 +71,7 @@ export declare namespace FT {
|
|
|
69
71
|
value: FTMsgIssue;
|
|
70
72
|
};
|
|
71
73
|
/** MsgBurn message creator
|
|
74
|
+
* Burns the specified fungible tokens from senders balance if the sender has enough balance.
|
|
72
75
|
*
|
|
73
76
|
* @param object Represents the properties available for this MsgBurn message.
|
|
74
77
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -93,6 +96,7 @@ export declare namespace FT {
|
|
|
93
96
|
value: FTMsgBurn;
|
|
94
97
|
};
|
|
95
98
|
/** MsgFreeze message creator
|
|
99
|
+
* Freezes a part of the fungible tokens in an account, only if the freezable feature is enabled on that token.
|
|
96
100
|
*
|
|
97
101
|
* @param object Represents the properties available for this MsgIssue message.
|
|
98
102
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -119,6 +123,7 @@ export declare namespace FT {
|
|
|
119
123
|
value: FTMsgFreeze;
|
|
120
124
|
};
|
|
121
125
|
/** MsgGloballyFreeze message creator
|
|
126
|
+
* Freezes fungible token so no operations are allowed with it before unfrozen. This operation is idempotent so global freeze of already frozen token does nothing.
|
|
122
127
|
*
|
|
123
128
|
* @param object Represents the properties available for this MsgGloballyFreeze message.
|
|
124
129
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -134,6 +139,7 @@ export declare namespace FT {
|
|
|
134
139
|
value: FTMsgGloballyFreeze;
|
|
135
140
|
};
|
|
136
141
|
/** MsgGloballyUnfreeze message creator
|
|
142
|
+
* Unfreezes fungible token and unblocks basic operations on it. This operation is idempotent so global unfreezing of non-frozen token does nothing.
|
|
137
143
|
*
|
|
138
144
|
* @param object Represents the properties available for this MsgGloballyUnfreeze message.
|
|
139
145
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -149,6 +155,7 @@ export declare namespace FT {
|
|
|
149
155
|
value: FTMsgGloballyUnfreeze;
|
|
150
156
|
};
|
|
151
157
|
/** MsgUnfreeze message creator
|
|
158
|
+
* Unfreezes a part of the frozen fungible tokens in an account, only if there are such frozen tokens on that account.
|
|
152
159
|
*
|
|
153
160
|
* @param object Represents the properties available for this MsgUnfreeze message.
|
|
154
161
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -175,6 +182,7 @@ export declare namespace FT {
|
|
|
175
182
|
value: FTMsgUnfreeze;
|
|
176
183
|
};
|
|
177
184
|
/** MsgSetWhitelistedLimit message creator
|
|
185
|
+
* Sets the limit of how many tokens a specific account may hold.
|
|
178
186
|
*
|
|
179
187
|
* @param object Represents the properties available for this MsgSetWhitelistedLimit message.
|
|
180
188
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -206,6 +214,7 @@ export declare namespace FT {
|
|
|
206
214
|
*/
|
|
207
215
|
export declare namespace NFT {
|
|
208
216
|
/** MsgMint message creator
|
|
217
|
+
* Mints new non-fungible token in the class.
|
|
209
218
|
*
|
|
210
219
|
* @param object Represents the properties available for this MsgMint message.
|
|
211
220
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -238,6 +247,7 @@ export declare namespace NFT {
|
|
|
238
247
|
value: NFTMsgMint;
|
|
239
248
|
};
|
|
240
249
|
/** MsgAddToWhitelist message creator
|
|
250
|
+
* Sets the account as whitelisted to hold the NFT
|
|
241
251
|
*
|
|
242
252
|
* @param object Represents the properties available for this MsgAddToWhitelist message.
|
|
243
253
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -257,6 +267,7 @@ export declare namespace NFT {
|
|
|
257
267
|
value: NFTMsgAddToWhitelist;
|
|
258
268
|
};
|
|
259
269
|
/** MsgRemoveFromWhitelist message creator
|
|
270
|
+
* Removes an account from whitelisted list of the NFT
|
|
260
271
|
*
|
|
261
272
|
* @param object Represents the properties available for this MsgRemoveFromWhitelist message.
|
|
262
273
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -276,6 +287,7 @@ export declare namespace NFT {
|
|
|
276
287
|
value: NFTMsgRemoveFromWhitelist;
|
|
277
288
|
};
|
|
278
289
|
/** MsgBurn message creator
|
|
290
|
+
* Burns the existing non-fungible token in the class.
|
|
279
291
|
*
|
|
280
292
|
* @param object Represents the properties available for this MsgBurn message.
|
|
281
293
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -293,6 +305,7 @@ export declare namespace NFT {
|
|
|
293
305
|
value: NFTMsgBurn;
|
|
294
306
|
};
|
|
295
307
|
/** MsgFreeze message creator
|
|
308
|
+
* Freezes an NFT
|
|
296
309
|
*
|
|
297
310
|
* @param object Represents the properties available for this MsgFreeze message.
|
|
298
311
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -310,6 +323,7 @@ export declare namespace NFT {
|
|
|
310
323
|
value: NFTMsgFreeze;
|
|
311
324
|
};
|
|
312
325
|
/** MsgUnfreeze message creator
|
|
326
|
+
* Removes the freeze effect already put on an NFT
|
|
313
327
|
*
|
|
314
328
|
* @param object Represents the properties available for this MsgUnfreeze message.
|
|
315
329
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -327,6 +341,7 @@ export declare namespace NFT {
|
|
|
327
341
|
value: NFTMsgUnfreeze;
|
|
328
342
|
};
|
|
329
343
|
/** MsgIssueClass message creator
|
|
344
|
+
* Creates new non-fungible token class.
|
|
330
345
|
*
|
|
331
346
|
* @param object Represents the properties available for this MsgIssueClass message.
|
|
332
347
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -365,6 +380,7 @@ export declare namespace NFT {
|
|
|
365
380
|
value: NFTMsgIssueClass;
|
|
366
381
|
};
|
|
367
382
|
/** MsgSend message creator
|
|
383
|
+
* Represents a message to send a nft from one account to another account.
|
|
368
384
|
*
|
|
369
385
|
* @param object Represents the properties available for this MsgSend message.
|
|
370
386
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -17,6 +17,7 @@ export const coreumRegistry = [
|
|
|
17
17
|
export var FT;
|
|
18
18
|
(function (FT) {
|
|
19
19
|
/** MsgMint message creator
|
|
20
|
+
* Mints new fungible tokens.
|
|
20
21
|
*
|
|
21
22
|
* @param object Represents the properties available for this MsgMint message.
|
|
22
23
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -28,6 +29,7 @@ export var FT;
|
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
/** MsgIssue message creator
|
|
32
|
+
* Defines a method to issue a new fungible token.
|
|
31
33
|
*
|
|
32
34
|
* @param object Represents the properties available for this MsgIssue message.
|
|
33
35
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -39,6 +41,7 @@ export var FT;
|
|
|
39
41
|
};
|
|
40
42
|
};
|
|
41
43
|
/** MsgBurn message creator
|
|
44
|
+
* Burns the specified fungible tokens from senders balance if the sender has enough balance.
|
|
42
45
|
*
|
|
43
46
|
* @param object Represents the properties available for this MsgBurn message.
|
|
44
47
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -50,6 +53,7 @@ export var FT;
|
|
|
50
53
|
};
|
|
51
54
|
};
|
|
52
55
|
/** MsgFreeze message creator
|
|
56
|
+
* Freezes a part of the fungible tokens in an account, only if the freezable feature is enabled on that token.
|
|
53
57
|
*
|
|
54
58
|
* @param object Represents the properties available for this MsgIssue message.
|
|
55
59
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -61,6 +65,7 @@ export var FT;
|
|
|
61
65
|
};
|
|
62
66
|
};
|
|
63
67
|
/** MsgGloballyFreeze message creator
|
|
68
|
+
* Freezes fungible token so no operations are allowed with it before unfrozen. This operation is idempotent so global freeze of already frozen token does nothing.
|
|
64
69
|
*
|
|
65
70
|
* @param object Represents the properties available for this MsgGloballyFreeze message.
|
|
66
71
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -72,6 +77,7 @@ export var FT;
|
|
|
72
77
|
};
|
|
73
78
|
};
|
|
74
79
|
/** MsgGloballyUnfreeze message creator
|
|
80
|
+
* Unfreezes fungible token and unblocks basic operations on it. This operation is idempotent so global unfreezing of non-frozen token does nothing.
|
|
75
81
|
*
|
|
76
82
|
* @param object Represents the properties available for this MsgGloballyUnfreeze message.
|
|
77
83
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -83,6 +89,7 @@ export var FT;
|
|
|
83
89
|
};
|
|
84
90
|
};
|
|
85
91
|
/** MsgUnfreeze message creator
|
|
92
|
+
* Unfreezes a part of the frozen fungible tokens in an account, only if there are such frozen tokens on that account.
|
|
86
93
|
*
|
|
87
94
|
* @param object Represents the properties available for this MsgUnfreeze message.
|
|
88
95
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -94,6 +101,7 @@ export var FT;
|
|
|
94
101
|
};
|
|
95
102
|
};
|
|
96
103
|
/** MsgSetWhitelistedLimit message creator
|
|
104
|
+
* Sets the limit of how many tokens a specific account may hold.
|
|
97
105
|
*
|
|
98
106
|
* @param object Represents the properties available for this MsgSetWhitelistedLimit message.
|
|
99
107
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -111,6 +119,7 @@ export var FT;
|
|
|
111
119
|
export var NFT;
|
|
112
120
|
(function (NFT) {
|
|
113
121
|
/** MsgMint message creator
|
|
122
|
+
* Mints new non-fungible token in the class.
|
|
114
123
|
*
|
|
115
124
|
* @param object Represents the properties available for this MsgMint message.
|
|
116
125
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -122,6 +131,7 @@ export var NFT;
|
|
|
122
131
|
};
|
|
123
132
|
};
|
|
124
133
|
/** MsgAddToWhitelist message creator
|
|
134
|
+
* Sets the account as whitelisted to hold the NFT
|
|
125
135
|
*
|
|
126
136
|
* @param object Represents the properties available for this MsgAddToWhitelist message.
|
|
127
137
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -133,6 +143,7 @@ export var NFT;
|
|
|
133
143
|
};
|
|
134
144
|
};
|
|
135
145
|
/** MsgRemoveFromWhitelist message creator
|
|
146
|
+
* Removes an account from whitelisted list of the NFT
|
|
136
147
|
*
|
|
137
148
|
* @param object Represents the properties available for this MsgRemoveFromWhitelist message.
|
|
138
149
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -144,6 +155,7 @@ export var NFT;
|
|
|
144
155
|
};
|
|
145
156
|
};
|
|
146
157
|
/** MsgBurn message creator
|
|
158
|
+
* Burns the existing non-fungible token in the class.
|
|
147
159
|
*
|
|
148
160
|
* @param object Represents the properties available for this MsgBurn message.
|
|
149
161
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -155,6 +167,7 @@ export var NFT;
|
|
|
155
167
|
};
|
|
156
168
|
};
|
|
157
169
|
/** MsgFreeze message creator
|
|
170
|
+
* Freezes an NFT
|
|
158
171
|
*
|
|
159
172
|
* @param object Represents the properties available for this MsgFreeze message.
|
|
160
173
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -166,6 +179,7 @@ export var NFT;
|
|
|
166
179
|
};
|
|
167
180
|
};
|
|
168
181
|
/** MsgUnfreeze message creator
|
|
182
|
+
* Removes the freeze effect already put on an NFT
|
|
169
183
|
*
|
|
170
184
|
* @param object Represents the properties available for this MsgUnfreeze message.
|
|
171
185
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -177,6 +191,7 @@ export var NFT;
|
|
|
177
191
|
};
|
|
178
192
|
};
|
|
179
193
|
/** MsgIssueClass message creator
|
|
194
|
+
* Creates new non-fungible token class.
|
|
180
195
|
*
|
|
181
196
|
* @param object Represents the properties available for this MsgIssueClass message.
|
|
182
197
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -188,6 +203,7 @@ export var NFT;
|
|
|
188
203
|
};
|
|
189
204
|
};
|
|
190
205
|
/** MsgSend message creator
|
|
206
|
+
* Represents a message to send a nft from one account to another account.
|
|
191
207
|
*
|
|
192
208
|
* @param object Represents the properties available for this MsgSend message.
|
|
193
209
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
@@ -199,4 +215,4 @@ export var NFT;
|
|
|
199
215
|
};
|
|
200
216
|
};
|
|
201
217
|
})(NFT || (NFT = {}));
|
|
202
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
218
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29yZXVtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxlQUFlLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDNUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE9BQU8sQ0FBQztBQUN4QyxPQUFPLEVBQUUsT0FBTyxJQUFJLFVBQVUsRUFBRSxNQUFNLGtCQUFrQix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