coreum-js 2.18.4 → 2.18.5
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.
|
@@ -6,7 +6,7 @@ const stargate_1 = require("@cosmjs/stargate");
|
|
|
6
6
|
exports.ftAminoConverters = {
|
|
7
7
|
// MsgIssue - Issue new fungible token
|
|
8
8
|
"/coreum.asset.ft.v1.MsgIssue": {
|
|
9
|
-
aminoType: "
|
|
9
|
+
aminoType: "aseestft/MsgIssue",
|
|
10
10
|
toAmino: ({ issuer, symbol, subunit, precision, initialAmount, description, features, burnRate, sendCommissionRate, uri, uriHash, extensionSettings, dexSettings, }) => ({
|
|
11
11
|
issuer,
|
|
12
12
|
symbol,
|
|
@@ -40,7 +40,7 @@ exports.ftAminoConverters = {
|
|
|
40
40
|
},
|
|
41
41
|
// MsgMint - Mint new fungible tokens
|
|
42
42
|
"/coreum.asset.ft.v1.MsgMint": {
|
|
43
|
-
aminoType: "
|
|
43
|
+
aminoType: "aseestft/MsgMint",
|
|
44
44
|
toAmino: ({ sender, coin, recipient }) => ({
|
|
45
45
|
sender,
|
|
46
46
|
coin,
|
|
@@ -54,7 +54,7 @@ exports.ftAminoConverters = {
|
|
|
54
54
|
},
|
|
55
55
|
// MsgBurn - Burn fungible tokens
|
|
56
56
|
"/coreum.asset.ft.v1.MsgBurn": {
|
|
57
|
-
aminoType: "
|
|
57
|
+
aminoType: "aseestft/MsgBurn",
|
|
58
58
|
toAmino: ({ sender, coin }) => ({
|
|
59
59
|
sender,
|
|
60
60
|
coin,
|
|
@@ -66,7 +66,7 @@ exports.ftAminoConverters = {
|
|
|
66
66
|
},
|
|
67
67
|
// MsgFreeze - Freeze fungible tokens
|
|
68
68
|
"/coreum.asset.ft.v1.MsgFreeze": {
|
|
69
|
-
aminoType: "
|
|
69
|
+
aminoType: "aseestft/MsgFreeze",
|
|
70
70
|
toAmino: ({ sender, account, coin }) => ({
|
|
71
71
|
sender,
|
|
72
72
|
account,
|
|
@@ -80,7 +80,7 @@ exports.ftAminoConverters = {
|
|
|
80
80
|
},
|
|
81
81
|
// MsgUnfreeze - Unfreeze fungible tokens
|
|
82
82
|
"/coreum.asset.ft.v1.MsgUnfreeze": {
|
|
83
|
-
aminoType: "
|
|
83
|
+
aminoType: "aseestft/MsgUnfreeze",
|
|
84
84
|
toAmino: ({ sender, account, coin }) => ({
|
|
85
85
|
sender,
|
|
86
86
|
account,
|
|
@@ -94,7 +94,7 @@ exports.ftAminoConverters = {
|
|
|
94
94
|
},
|
|
95
95
|
// MsgSetFrozen - Set frozen amount
|
|
96
96
|
"/coreum.asset.ft.v1.MsgSetFrozen": {
|
|
97
|
-
aminoType: "
|
|
97
|
+
aminoType: "aseestft/MsgSetFrozen",
|
|
98
98
|
toAmino: ({ sender, account, coin }) => ({
|
|
99
99
|
sender,
|
|
100
100
|
account,
|
|
@@ -108,7 +108,7 @@ exports.ftAminoConverters = {
|
|
|
108
108
|
},
|
|
109
109
|
// MsgGloballyFreeze - Globally freeze token
|
|
110
110
|
"/coreum.asset.ft.v1.MsgGloballyFreeze": {
|
|
111
|
-
aminoType: "
|
|
111
|
+
aminoType: "aseestft/MsgGloballyFreeze",
|
|
112
112
|
toAmino: ({ sender, denom }) => ({
|
|
113
113
|
sender,
|
|
114
114
|
denom,
|
|
@@ -120,7 +120,7 @@ exports.ftAminoConverters = {
|
|
|
120
120
|
},
|
|
121
121
|
// MsgGloballyUnfreeze - Globally unfreeze token
|
|
122
122
|
"/coreum.asset.ft.v1.MsgGloballyUnfreeze": {
|
|
123
|
-
aminoType: "
|
|
123
|
+
aminoType: "aseestft/MsgGloballyUnfreeze",
|
|
124
124
|
toAmino: ({ sender, denom }) => ({
|
|
125
125
|
sender,
|
|
126
126
|
denom,
|
|
@@ -132,7 +132,7 @@ exports.ftAminoConverters = {
|
|
|
132
132
|
},
|
|
133
133
|
// MsgClawback - Clawback tokens
|
|
134
134
|
"/coreum.asset.ft.v1.MsgClawback": {
|
|
135
|
-
aminoType: "
|
|
135
|
+
aminoType: "aseestft/MsgClawback",
|
|
136
136
|
toAmino: ({ sender, account, coin }) => ({
|
|
137
137
|
sender,
|
|
138
138
|
account,
|
|
@@ -146,7 +146,7 @@ exports.ftAminoConverters = {
|
|
|
146
146
|
},
|
|
147
147
|
// MsgSetWhitelistedLimit - Set whitelisted limit
|
|
148
148
|
"/coreum.asset.ft.v1.MsgSetWhitelistedLimit": {
|
|
149
|
-
aminoType: "
|
|
149
|
+
aminoType: "aseestft/MsgSetWhitelistedLimit",
|
|
150
150
|
toAmino: ({ sender, account, coin }) => ({
|
|
151
151
|
sender,
|
|
152
152
|
account,
|
|
@@ -160,7 +160,7 @@ exports.ftAminoConverters = {
|
|
|
160
160
|
},
|
|
161
161
|
// MsgTransferAdmin - Transfer admin
|
|
162
162
|
"/coreum.asset.ft.v1.MsgTransferAdmin": {
|
|
163
|
-
aminoType: "
|
|
163
|
+
aminoType: "aseestft/MsgTransferAdmin",
|
|
164
164
|
toAmino: ({ sender, account, denom }) => ({
|
|
165
165
|
sender,
|
|
166
166
|
account,
|
|
@@ -174,7 +174,7 @@ exports.ftAminoConverters = {
|
|
|
174
174
|
},
|
|
175
175
|
// MsgClearAdmin - Clear admin
|
|
176
176
|
"/coreum.asset.ft.v1.MsgClearAdmin": {
|
|
177
|
-
aminoType: "
|
|
177
|
+
aminoType: "aseestft/MsgClearAdmin",
|
|
178
178
|
toAmino: ({ sender, denom }) => ({
|
|
179
179
|
sender,
|
|
180
180
|
denom,
|
|
@@ -186,7 +186,7 @@ exports.ftAminoConverters = {
|
|
|
186
186
|
},
|
|
187
187
|
// MsgUpgradeTokenV1 - Upgrade token to V1
|
|
188
188
|
"/coreum.asset.ft.v1.MsgUpgradeTokenV1": {
|
|
189
|
-
aminoType: "
|
|
189
|
+
aminoType: "aseestft/MsgUpgradeTokenV1",
|
|
190
190
|
toAmino: ({ sender, denom, ibcEnabled }) => ({
|
|
191
191
|
sender,
|
|
192
192
|
denom,
|
|
@@ -200,7 +200,7 @@ exports.ftAminoConverters = {
|
|
|
200
200
|
},
|
|
201
201
|
// MsgUpdateParams - Update parameters
|
|
202
202
|
"/coreum.asset.ft.v1.MsgUpdateParams": {
|
|
203
|
-
aminoType: "
|
|
203
|
+
aminoType: "aseestft/MsgUpdateParams",
|
|
204
204
|
toAmino: ({ authority, params }) => ({
|
|
205
205
|
authority,
|
|
206
206
|
params,
|
|
@@ -212,7 +212,7 @@ exports.ftAminoConverters = {
|
|
|
212
212
|
},
|
|
213
213
|
// MsgUpdateDEXUnifiedRefAmount - Update DEX unified ref amount
|
|
214
214
|
"/coreum.asset.ft.v1.MsgUpdateDEXUnifiedRefAmount": {
|
|
215
|
-
aminoType: "
|
|
215
|
+
aminoType: "aseestft/MsgUpdateDEXUnifiedRefAmount",
|
|
216
216
|
toAmino: ({ sender, denom, unifiedRefAmount, }) => ({
|
|
217
217
|
sender,
|
|
218
218
|
denom,
|
|
@@ -226,7 +226,7 @@ exports.ftAminoConverters = {
|
|
|
226
226
|
},
|
|
227
227
|
// MsgUpdateDEXWhitelistedDenoms - Update DEX whitelisted denoms
|
|
228
228
|
"/coreum.asset.ft.v1.MsgUpdateDEXWhitelistedDenoms": {
|
|
229
|
-
aminoType: "
|
|
229
|
+
aminoType: "aseestft/MsgUpdateDEXWhitelistedDenoms",
|
|
230
230
|
toAmino: ({ sender, denom, whitelistedDenoms, }) => ({
|
|
231
231
|
sender,
|
|
232
232
|
denom,
|
|
@@ -243,7 +243,7 @@ exports.ftAminoConverters = {
|
|
|
243
243
|
exports.dexAminoConverters = {
|
|
244
244
|
// MsgUpdateParams - Update DEX parameters
|
|
245
245
|
"/coreum.dex.v1.MsgUpdateParams": {
|
|
246
|
-
aminoType: "
|
|
246
|
+
aminoType: "dex/MsgUpdateParams",
|
|
247
247
|
toAmino: ({ authority, params }) => ({
|
|
248
248
|
authority,
|
|
249
249
|
params,
|
|
@@ -255,7 +255,7 @@ exports.dexAminoConverters = {
|
|
|
255
255
|
},
|
|
256
256
|
// MsgPlaceOrder - Place order on DEX
|
|
257
257
|
"/coreum.dex.v1.MsgPlaceOrder": {
|
|
258
|
-
aminoType: "
|
|
258
|
+
aminoType: "dex/MsgPlaceOrder",
|
|
259
259
|
toAmino: ({ sender, type, id, baseDenom, quoteDenom, price, quantity, side, goodTil, timeInForce, }) => ({
|
|
260
260
|
sender,
|
|
261
261
|
type,
|
|
@@ -283,7 +283,7 @@ exports.dexAminoConverters = {
|
|
|
283
283
|
},
|
|
284
284
|
// MsgCancelOrder - Cancel order
|
|
285
285
|
"/coreum.dex.v1.MsgCancelOrder": {
|
|
286
|
-
aminoType: "
|
|
286
|
+
aminoType: "dex/MsgCancelOrder",
|
|
287
287
|
toAmino: ({ sender, id }) => ({
|
|
288
288
|
sender,
|
|
289
289
|
id,
|
|
@@ -295,7 +295,7 @@ exports.dexAminoConverters = {
|
|
|
295
295
|
},
|
|
296
296
|
// MsgCancelOrdersByDenom - Cancel orders by denom
|
|
297
297
|
"/coreum.dex.v1.MsgCancelOrdersByDenom": {
|
|
298
|
-
aminoType: "
|
|
298
|
+
aminoType: "dex/MsgCancelOrdersByDenom",
|
|
299
299
|
toAmino: ({ sender, account, denom }) => ({
|
|
300
300
|
sender,
|
|
301
301
|
account,
|
|
@@ -312,7 +312,7 @@ exports.dexAminoConverters = {
|
|
|
312
312
|
exports.nftAminoConverters = {
|
|
313
313
|
// MsgIssueClass - Issue new NFT class
|
|
314
314
|
"/coreum.asset.nft.v1.MsgIssueClass": {
|
|
315
|
-
aminoType: "
|
|
315
|
+
aminoType: "assetnft/MsgIssueClass",
|
|
316
316
|
toAmino: ({ issuer, symbol, name, description, uri, uriHash, data, features, royaltyRate, }) => ({
|
|
317
317
|
issuer,
|
|
318
318
|
symbol,
|
|
@@ -338,7 +338,7 @@ exports.nftAminoConverters = {
|
|
|
338
338
|
},
|
|
339
339
|
// MsgMint - Mint NFT
|
|
340
340
|
"/coreum.asset.nft.v1.MsgMint": {
|
|
341
|
-
aminoType: "
|
|
341
|
+
aminoType: "assetnft/MsgMint",
|
|
342
342
|
toAmino: ({ sender, classId, id, uri, uriHash, data, recipient, }) => ({
|
|
343
343
|
sender,
|
|
344
344
|
class_id: classId,
|
|
@@ -360,7 +360,7 @@ exports.nftAminoConverters = {
|
|
|
360
360
|
},
|
|
361
361
|
// MsgUpdateData - Update NFT data
|
|
362
362
|
"/coreum.asset.nft.v1.MsgUpdateData": {
|
|
363
|
-
aminoType: "
|
|
363
|
+
aminoType: "assetnft/MsgUpdateData",
|
|
364
364
|
toAmino: ({ sender, classId, id, items }) => ({
|
|
365
365
|
sender,
|
|
366
366
|
class_id: classId,
|
|
@@ -376,7 +376,7 @@ exports.nftAminoConverters = {
|
|
|
376
376
|
},
|
|
377
377
|
// MsgBurn - Burn NFT
|
|
378
378
|
"/coreum.asset.nft.v1.MsgBurn": {
|
|
379
|
-
aminoType: "
|
|
379
|
+
aminoType: "assetnft/MsgBurn",
|
|
380
380
|
toAmino: ({ sender, classId, id }) => ({
|
|
381
381
|
sender,
|
|
382
382
|
class_id: classId,
|
|
@@ -390,7 +390,7 @@ exports.nftAminoConverters = {
|
|
|
390
390
|
},
|
|
391
391
|
// MsgFreeze - Freeze NFT
|
|
392
392
|
"/coreum.asset.nft.v1.MsgFreeze": {
|
|
393
|
-
aminoType: "
|
|
393
|
+
aminoType: "assetnft/MsgFreeze",
|
|
394
394
|
toAmino: ({ sender, classId, id }) => ({
|
|
395
395
|
sender,
|
|
396
396
|
class_id: classId,
|
|
@@ -404,7 +404,7 @@ exports.nftAminoConverters = {
|
|
|
404
404
|
},
|
|
405
405
|
// MsgUnfreeze - Unfreeze NFT
|
|
406
406
|
"/coreum.asset.nft.v1.MsgUnfreeze": {
|
|
407
|
-
aminoType: "
|
|
407
|
+
aminoType: "assetnft/MsgUnfreeze",
|
|
408
408
|
toAmino: ({ sender, classId, id }) => ({
|
|
409
409
|
sender,
|
|
410
410
|
class_id: classId,
|
|
@@ -418,7 +418,7 @@ exports.nftAminoConverters = {
|
|
|
418
418
|
},
|
|
419
419
|
// MsgClassFreeze - Freeze NFT class for account
|
|
420
420
|
"/coreum.asset.nft.v1.MsgClassFreeze": {
|
|
421
|
-
aminoType: "
|
|
421
|
+
aminoType: "assetnft/MsgClassFreeze",
|
|
422
422
|
toAmino: ({ sender, classId, account }) => ({
|
|
423
423
|
sender,
|
|
424
424
|
class_id: classId,
|
|
@@ -432,7 +432,7 @@ exports.nftAminoConverters = {
|
|
|
432
432
|
},
|
|
433
433
|
// MsgClassUnfreeze - Unfreeze NFT class for account
|
|
434
434
|
"/coreum.asset.nft.v1.MsgClassUnfreeze": {
|
|
435
|
-
aminoType: "
|
|
435
|
+
aminoType: "assetnft/MsgClassUnfreeze",
|
|
436
436
|
toAmino: ({ sender, classId, account }) => ({
|
|
437
437
|
sender,
|
|
438
438
|
class_id: classId,
|
|
@@ -446,7 +446,7 @@ exports.nftAminoConverters = {
|
|
|
446
446
|
},
|
|
447
447
|
// MsgAddToWhitelist - Add account to NFT whitelist
|
|
448
448
|
"/coreum.asset.nft.v1.MsgAddToWhitelist": {
|
|
449
|
-
aminoType: "
|
|
449
|
+
aminoType: "assetnft/MsgAddToWhitelist",
|
|
450
450
|
toAmino: ({ sender, classId, id, account }) => ({
|
|
451
451
|
sender,
|
|
452
452
|
class_id: classId,
|
|
@@ -462,7 +462,7 @@ exports.nftAminoConverters = {
|
|
|
462
462
|
},
|
|
463
463
|
// MsgRemoveFromWhitelist - Remove account from NFT whitelist
|
|
464
464
|
"/coreum.asset.nft.v1.MsgRemoveFromWhitelist": {
|
|
465
|
-
aminoType: "
|
|
465
|
+
aminoType: "assetnft/MsgRemoveFromWhitelist",
|
|
466
466
|
toAmino: ({ sender, classId, id, account }) => ({
|
|
467
467
|
sender,
|
|
468
468
|
class_id: classId,
|
|
@@ -478,7 +478,7 @@ exports.nftAminoConverters = {
|
|
|
478
478
|
},
|
|
479
479
|
// MsgAddToClassWhitelist - Add account to NFT class whitelist
|
|
480
480
|
"/coreum.asset.nft.v1.MsgAddToClassWhitelist": {
|
|
481
|
-
aminoType: "
|
|
481
|
+
aminoType: "assetnft/MsgAddToClassWhitelist",
|
|
482
482
|
toAmino: ({ sender, classId, account }) => ({
|
|
483
483
|
sender,
|
|
484
484
|
class_id: classId,
|
|
@@ -492,7 +492,7 @@ exports.nftAminoConverters = {
|
|
|
492
492
|
},
|
|
493
493
|
// MsgRemoveFromClassWhitelist - Remove account from NFT class whitelist
|
|
494
494
|
"/coreum.asset.nft.v1.MsgRemoveFromClassWhitelist": {
|
|
495
|
-
aminoType: "
|
|
495
|
+
aminoType: "assetnft/MsgRemoveFromClassWhitelist",
|
|
496
496
|
toAmino: ({ sender, classId, account }) => ({
|
|
497
497
|
sender,
|
|
498
498
|
class_id: classId,
|
|
@@ -506,7 +506,7 @@ exports.nftAminoConverters = {
|
|
|
506
506
|
},
|
|
507
507
|
// MsgUpdateParams - Update NFT module parameters
|
|
508
508
|
"/coreum.asset.nft.v1.MsgUpdateParams": {
|
|
509
|
-
aminoType: "
|
|
509
|
+
aminoType: "assetnft/MsgUpdateParams",
|
|
510
510
|
toAmino: ({ authority, params }) => ({
|
|
511
511
|
authority,
|
|
512
512
|
params,
|
|
@@ -3,7 +3,7 @@ import { AminoTypes } from "@cosmjs/stargate";
|
|
|
3
3
|
export const ftAminoConverters = {
|
|
4
4
|
// MsgIssue - Issue new fungible token
|
|
5
5
|
"/coreum.asset.ft.v1.MsgIssue": {
|
|
6
|
-
aminoType: "
|
|
6
|
+
aminoType: "aseestft/MsgIssue",
|
|
7
7
|
toAmino: ({ issuer, symbol, subunit, precision, initialAmount, description, features, burnRate, sendCommissionRate, uri, uriHash, extensionSettings, dexSettings, }) => ({
|
|
8
8
|
issuer,
|
|
9
9
|
symbol,
|
|
@@ -37,7 +37,7 @@ export const ftAminoConverters = {
|
|
|
37
37
|
},
|
|
38
38
|
// MsgMint - Mint new fungible tokens
|
|
39
39
|
"/coreum.asset.ft.v1.MsgMint": {
|
|
40
|
-
aminoType: "
|
|
40
|
+
aminoType: "aseestft/MsgMint",
|
|
41
41
|
toAmino: ({ sender, coin, recipient }) => ({
|
|
42
42
|
sender,
|
|
43
43
|
coin,
|
|
@@ -51,7 +51,7 @@ export const ftAminoConverters = {
|
|
|
51
51
|
},
|
|
52
52
|
// MsgBurn - Burn fungible tokens
|
|
53
53
|
"/coreum.asset.ft.v1.MsgBurn": {
|
|
54
|
-
aminoType: "
|
|
54
|
+
aminoType: "aseestft/MsgBurn",
|
|
55
55
|
toAmino: ({ sender, coin }) => ({
|
|
56
56
|
sender,
|
|
57
57
|
coin,
|
|
@@ -63,7 +63,7 @@ export const ftAminoConverters = {
|
|
|
63
63
|
},
|
|
64
64
|
// MsgFreeze - Freeze fungible tokens
|
|
65
65
|
"/coreum.asset.ft.v1.MsgFreeze": {
|
|
66
|
-
aminoType: "
|
|
66
|
+
aminoType: "aseestft/MsgFreeze",
|
|
67
67
|
toAmino: ({ sender, account, coin }) => ({
|
|
68
68
|
sender,
|
|
69
69
|
account,
|
|
@@ -77,7 +77,7 @@ export const ftAminoConverters = {
|
|
|
77
77
|
},
|
|
78
78
|
// MsgUnfreeze - Unfreeze fungible tokens
|
|
79
79
|
"/coreum.asset.ft.v1.MsgUnfreeze": {
|
|
80
|
-
aminoType: "
|
|
80
|
+
aminoType: "aseestft/MsgUnfreeze",
|
|
81
81
|
toAmino: ({ sender, account, coin }) => ({
|
|
82
82
|
sender,
|
|
83
83
|
account,
|
|
@@ -91,7 +91,7 @@ export const ftAminoConverters = {
|
|
|
91
91
|
},
|
|
92
92
|
// MsgSetFrozen - Set frozen amount
|
|
93
93
|
"/coreum.asset.ft.v1.MsgSetFrozen": {
|
|
94
|
-
aminoType: "
|
|
94
|
+
aminoType: "aseestft/MsgSetFrozen",
|
|
95
95
|
toAmino: ({ sender, account, coin }) => ({
|
|
96
96
|
sender,
|
|
97
97
|
account,
|
|
@@ -105,7 +105,7 @@ export const ftAminoConverters = {
|
|
|
105
105
|
},
|
|
106
106
|
// MsgGloballyFreeze - Globally freeze token
|
|
107
107
|
"/coreum.asset.ft.v1.MsgGloballyFreeze": {
|
|
108
|
-
aminoType: "
|
|
108
|
+
aminoType: "aseestft/MsgGloballyFreeze",
|
|
109
109
|
toAmino: ({ sender, denom }) => ({
|
|
110
110
|
sender,
|
|
111
111
|
denom,
|
|
@@ -117,7 +117,7 @@ export const ftAminoConverters = {
|
|
|
117
117
|
},
|
|
118
118
|
// MsgGloballyUnfreeze - Globally unfreeze token
|
|
119
119
|
"/coreum.asset.ft.v1.MsgGloballyUnfreeze": {
|
|
120
|
-
aminoType: "
|
|
120
|
+
aminoType: "aseestft/MsgGloballyUnfreeze",
|
|
121
121
|
toAmino: ({ sender, denom }) => ({
|
|
122
122
|
sender,
|
|
123
123
|
denom,
|
|
@@ -129,7 +129,7 @@ export const ftAminoConverters = {
|
|
|
129
129
|
},
|
|
130
130
|
// MsgClawback - Clawback tokens
|
|
131
131
|
"/coreum.asset.ft.v1.MsgClawback": {
|
|
132
|
-
aminoType: "
|
|
132
|
+
aminoType: "aseestft/MsgClawback",
|
|
133
133
|
toAmino: ({ sender, account, coin }) => ({
|
|
134
134
|
sender,
|
|
135
135
|
account,
|
|
@@ -143,7 +143,7 @@ export const ftAminoConverters = {
|
|
|
143
143
|
},
|
|
144
144
|
// MsgSetWhitelistedLimit - Set whitelisted limit
|
|
145
145
|
"/coreum.asset.ft.v1.MsgSetWhitelistedLimit": {
|
|
146
|
-
aminoType: "
|
|
146
|
+
aminoType: "aseestft/MsgSetWhitelistedLimit",
|
|
147
147
|
toAmino: ({ sender, account, coin }) => ({
|
|
148
148
|
sender,
|
|
149
149
|
account,
|
|
@@ -157,7 +157,7 @@ export const ftAminoConverters = {
|
|
|
157
157
|
},
|
|
158
158
|
// MsgTransferAdmin - Transfer admin
|
|
159
159
|
"/coreum.asset.ft.v1.MsgTransferAdmin": {
|
|
160
|
-
aminoType: "
|
|
160
|
+
aminoType: "aseestft/MsgTransferAdmin",
|
|
161
161
|
toAmino: ({ sender, account, denom }) => ({
|
|
162
162
|
sender,
|
|
163
163
|
account,
|
|
@@ -171,7 +171,7 @@ export const ftAminoConverters = {
|
|
|
171
171
|
},
|
|
172
172
|
// MsgClearAdmin - Clear admin
|
|
173
173
|
"/coreum.asset.ft.v1.MsgClearAdmin": {
|
|
174
|
-
aminoType: "
|
|
174
|
+
aminoType: "aseestft/MsgClearAdmin",
|
|
175
175
|
toAmino: ({ sender, denom }) => ({
|
|
176
176
|
sender,
|
|
177
177
|
denom,
|
|
@@ -183,7 +183,7 @@ export const ftAminoConverters = {
|
|
|
183
183
|
},
|
|
184
184
|
// MsgUpgradeTokenV1 - Upgrade token to V1
|
|
185
185
|
"/coreum.asset.ft.v1.MsgUpgradeTokenV1": {
|
|
186
|
-
aminoType: "
|
|
186
|
+
aminoType: "aseestft/MsgUpgradeTokenV1",
|
|
187
187
|
toAmino: ({ sender, denom, ibcEnabled }) => ({
|
|
188
188
|
sender,
|
|
189
189
|
denom,
|
|
@@ -197,7 +197,7 @@ export const ftAminoConverters = {
|
|
|
197
197
|
},
|
|
198
198
|
// MsgUpdateParams - Update parameters
|
|
199
199
|
"/coreum.asset.ft.v1.MsgUpdateParams": {
|
|
200
|
-
aminoType: "
|
|
200
|
+
aminoType: "aseestft/MsgUpdateParams",
|
|
201
201
|
toAmino: ({ authority, params }) => ({
|
|
202
202
|
authority,
|
|
203
203
|
params,
|
|
@@ -209,7 +209,7 @@ export const ftAminoConverters = {
|
|
|
209
209
|
},
|
|
210
210
|
// MsgUpdateDEXUnifiedRefAmount - Update DEX unified ref amount
|
|
211
211
|
"/coreum.asset.ft.v1.MsgUpdateDEXUnifiedRefAmount": {
|
|
212
|
-
aminoType: "
|
|
212
|
+
aminoType: "aseestft/MsgUpdateDEXUnifiedRefAmount",
|
|
213
213
|
toAmino: ({ sender, denom, unifiedRefAmount, }) => ({
|
|
214
214
|
sender,
|
|
215
215
|
denom,
|
|
@@ -223,7 +223,7 @@ export const ftAminoConverters = {
|
|
|
223
223
|
},
|
|
224
224
|
// MsgUpdateDEXWhitelistedDenoms - Update DEX whitelisted denoms
|
|
225
225
|
"/coreum.asset.ft.v1.MsgUpdateDEXWhitelistedDenoms": {
|
|
226
|
-
aminoType: "
|
|
226
|
+
aminoType: "aseestft/MsgUpdateDEXWhitelistedDenoms",
|
|
227
227
|
toAmino: ({ sender, denom, whitelistedDenoms, }) => ({
|
|
228
228
|
sender,
|
|
229
229
|
denom,
|
|
@@ -240,7 +240,7 @@ export const ftAminoConverters = {
|
|
|
240
240
|
export const dexAminoConverters = {
|
|
241
241
|
// MsgUpdateParams - Update DEX parameters
|
|
242
242
|
"/coreum.dex.v1.MsgUpdateParams": {
|
|
243
|
-
aminoType: "
|
|
243
|
+
aminoType: "dex/MsgUpdateParams",
|
|
244
244
|
toAmino: ({ authority, params }) => ({
|
|
245
245
|
authority,
|
|
246
246
|
params,
|
|
@@ -252,7 +252,7 @@ export const dexAminoConverters = {
|
|
|
252
252
|
},
|
|
253
253
|
// MsgPlaceOrder - Place order on DEX
|
|
254
254
|
"/coreum.dex.v1.MsgPlaceOrder": {
|
|
255
|
-
aminoType: "
|
|
255
|
+
aminoType: "dex/MsgPlaceOrder",
|
|
256
256
|
toAmino: ({ sender, type, id, baseDenom, quoteDenom, price, quantity, side, goodTil, timeInForce, }) => ({
|
|
257
257
|
sender,
|
|
258
258
|
type,
|
|
@@ -280,7 +280,7 @@ export const dexAminoConverters = {
|
|
|
280
280
|
},
|
|
281
281
|
// MsgCancelOrder - Cancel order
|
|
282
282
|
"/coreum.dex.v1.MsgCancelOrder": {
|
|
283
|
-
aminoType: "
|
|
283
|
+
aminoType: "dex/MsgCancelOrder",
|
|
284
284
|
toAmino: ({ sender, id }) => ({
|
|
285
285
|
sender,
|
|
286
286
|
id,
|
|
@@ -292,7 +292,7 @@ export const dexAminoConverters = {
|
|
|
292
292
|
},
|
|
293
293
|
// MsgCancelOrdersByDenom - Cancel orders by denom
|
|
294
294
|
"/coreum.dex.v1.MsgCancelOrdersByDenom": {
|
|
295
|
-
aminoType: "
|
|
295
|
+
aminoType: "dex/MsgCancelOrdersByDenom",
|
|
296
296
|
toAmino: ({ sender, account, denom }) => ({
|
|
297
297
|
sender,
|
|
298
298
|
account,
|
|
@@ -309,7 +309,7 @@ export const dexAminoConverters = {
|
|
|
309
309
|
export const nftAminoConverters = {
|
|
310
310
|
// MsgIssueClass - Issue new NFT class
|
|
311
311
|
"/coreum.asset.nft.v1.MsgIssueClass": {
|
|
312
|
-
aminoType: "
|
|
312
|
+
aminoType: "assetnft/MsgIssueClass",
|
|
313
313
|
toAmino: ({ issuer, symbol, name, description, uri, uriHash, data, features, royaltyRate, }) => ({
|
|
314
314
|
issuer,
|
|
315
315
|
symbol,
|
|
@@ -335,7 +335,7 @@ export const nftAminoConverters = {
|
|
|
335
335
|
},
|
|
336
336
|
// MsgMint - Mint NFT
|
|
337
337
|
"/coreum.asset.nft.v1.MsgMint": {
|
|
338
|
-
aminoType: "
|
|
338
|
+
aminoType: "assetnft/MsgMint",
|
|
339
339
|
toAmino: ({ sender, classId, id, uri, uriHash, data, recipient, }) => ({
|
|
340
340
|
sender,
|
|
341
341
|
class_id: classId,
|
|
@@ -357,7 +357,7 @@ export const nftAminoConverters = {
|
|
|
357
357
|
},
|
|
358
358
|
// MsgUpdateData - Update NFT data
|
|
359
359
|
"/coreum.asset.nft.v1.MsgUpdateData": {
|
|
360
|
-
aminoType: "
|
|
360
|
+
aminoType: "assetnft/MsgUpdateData",
|
|
361
361
|
toAmino: ({ sender, classId, id, items }) => ({
|
|
362
362
|
sender,
|
|
363
363
|
class_id: classId,
|
|
@@ -373,7 +373,7 @@ export const nftAminoConverters = {
|
|
|
373
373
|
},
|
|
374
374
|
// MsgBurn - Burn NFT
|
|
375
375
|
"/coreum.asset.nft.v1.MsgBurn": {
|
|
376
|
-
aminoType: "
|
|
376
|
+
aminoType: "assetnft/MsgBurn",
|
|
377
377
|
toAmino: ({ sender, classId, id }) => ({
|
|
378
378
|
sender,
|
|
379
379
|
class_id: classId,
|
|
@@ -387,7 +387,7 @@ export const nftAminoConverters = {
|
|
|
387
387
|
},
|
|
388
388
|
// MsgFreeze - Freeze NFT
|
|
389
389
|
"/coreum.asset.nft.v1.MsgFreeze": {
|
|
390
|
-
aminoType: "
|
|
390
|
+
aminoType: "assetnft/MsgFreeze",
|
|
391
391
|
toAmino: ({ sender, classId, id }) => ({
|
|
392
392
|
sender,
|
|
393
393
|
class_id: classId,
|
|
@@ -401,7 +401,7 @@ export const nftAminoConverters = {
|
|
|
401
401
|
},
|
|
402
402
|
// MsgUnfreeze - Unfreeze NFT
|
|
403
403
|
"/coreum.asset.nft.v1.MsgUnfreeze": {
|
|
404
|
-
aminoType: "
|
|
404
|
+
aminoType: "assetnft/MsgUnfreeze",
|
|
405
405
|
toAmino: ({ sender, classId, id }) => ({
|
|
406
406
|
sender,
|
|
407
407
|
class_id: classId,
|
|
@@ -415,7 +415,7 @@ export const nftAminoConverters = {
|
|
|
415
415
|
},
|
|
416
416
|
// MsgClassFreeze - Freeze NFT class for account
|
|
417
417
|
"/coreum.asset.nft.v1.MsgClassFreeze": {
|
|
418
|
-
aminoType: "
|
|
418
|
+
aminoType: "assetnft/MsgClassFreeze",
|
|
419
419
|
toAmino: ({ sender, classId, account }) => ({
|
|
420
420
|
sender,
|
|
421
421
|
class_id: classId,
|
|
@@ -429,7 +429,7 @@ export const nftAminoConverters = {
|
|
|
429
429
|
},
|
|
430
430
|
// MsgClassUnfreeze - Unfreeze NFT class for account
|
|
431
431
|
"/coreum.asset.nft.v1.MsgClassUnfreeze": {
|
|
432
|
-
aminoType: "
|
|
432
|
+
aminoType: "assetnft/MsgClassUnfreeze",
|
|
433
433
|
toAmino: ({ sender, classId, account }) => ({
|
|
434
434
|
sender,
|
|
435
435
|
class_id: classId,
|
|
@@ -443,7 +443,7 @@ export const nftAminoConverters = {
|
|
|
443
443
|
},
|
|
444
444
|
// MsgAddToWhitelist - Add account to NFT whitelist
|
|
445
445
|
"/coreum.asset.nft.v1.MsgAddToWhitelist": {
|
|
446
|
-
aminoType: "
|
|
446
|
+
aminoType: "assetnft/MsgAddToWhitelist",
|
|
447
447
|
toAmino: ({ sender, classId, id, account }) => ({
|
|
448
448
|
sender,
|
|
449
449
|
class_id: classId,
|
|
@@ -459,7 +459,7 @@ export const nftAminoConverters = {
|
|
|
459
459
|
},
|
|
460
460
|
// MsgRemoveFromWhitelist - Remove account from NFT whitelist
|
|
461
461
|
"/coreum.asset.nft.v1.MsgRemoveFromWhitelist": {
|
|
462
|
-
aminoType: "
|
|
462
|
+
aminoType: "assetnft/MsgRemoveFromWhitelist",
|
|
463
463
|
toAmino: ({ sender, classId, id, account }) => ({
|
|
464
464
|
sender,
|
|
465
465
|
class_id: classId,
|
|
@@ -475,7 +475,7 @@ export const nftAminoConverters = {
|
|
|
475
475
|
},
|
|
476
476
|
// MsgAddToClassWhitelist - Add account to NFT class whitelist
|
|
477
477
|
"/coreum.asset.nft.v1.MsgAddToClassWhitelist": {
|
|
478
|
-
aminoType: "
|
|
478
|
+
aminoType: "assetnft/MsgAddToClassWhitelist",
|
|
479
479
|
toAmino: ({ sender, classId, account }) => ({
|
|
480
480
|
sender,
|
|
481
481
|
class_id: classId,
|
|
@@ -489,7 +489,7 @@ export const nftAminoConverters = {
|
|
|
489
489
|
},
|
|
490
490
|
// MsgRemoveFromClassWhitelist - Remove account from NFT class whitelist
|
|
491
491
|
"/coreum.asset.nft.v1.MsgRemoveFromClassWhitelist": {
|
|
492
|
-
aminoType: "
|
|
492
|
+
aminoType: "assetnft/MsgRemoveFromClassWhitelist",
|
|
493
493
|
toAmino: ({ sender, classId, account }) => ({
|
|
494
494
|
sender,
|
|
495
495
|
class_id: classId,
|
|
@@ -503,7 +503,7 @@ export const nftAminoConverters = {
|
|
|
503
503
|
},
|
|
504
504
|
// MsgUpdateParams - Update NFT module parameters
|
|
505
505
|
"/coreum.asset.nft.v1.MsgUpdateParams": {
|
|
506
|
-
aminoType: "
|
|
506
|
+
aminoType: "assetnft/MsgUpdateParams",
|
|
507
507
|
toAmino: ({ authority, params }) => ({
|
|
508
508
|
authority,
|
|
509
509
|
params,
|