@sparkdreamnft/sparkdreamjs 0.0.45 → 0.0.46
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/nested-amino.js +6 -4
- package/esm/sparkdream/artifact/v1/genesis.js +217 -3
- package/esm/sparkdream/artifact/v1/params.js +146 -2
- package/esm/sparkdream/artifact/v1/query.js +3767 -5
- package/esm/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +195 -1
- package/esm/sparkdream/artifact/v1/tx.amino.js +324 -5
- package/esm/sparkdream/artifact/v1/tx.js +7498 -5
- package/esm/sparkdream/artifact/v1/tx.registry.js +704 -2
- package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +241 -1
- package/esm/sparkdream/artifact/v1/types.js +4312 -1120
- package/esm/sparkdream/blog/v1/tx.amino.js +21 -1
- package/esm/sparkdream/bundle.js +329 -291
- package/esm/sparkdream/client.js +5 -2
- package/esm/sparkdream/collect/v1/tx.amino.js +16 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +33 -1
- package/esm/sparkdream/commons/v1/tx.js +25 -1
- package/esm/sparkdream/federation/v1/tx.amino.js +51 -1
- package/esm/sparkdream/forum/v1/tx.amino.js +21 -1
- package/esm/sparkdream/guardian/v1/tx.amino.js +33 -3
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/genesis.js +74 -1
- package/esm/sparkdream/rep/v1/member.js +110 -1
- package/esm/sparkdream/rep/v1/migration.js +957 -0
- package/esm/sparkdream/rep/v1/params.js +181 -1
- package/esm/sparkdream/rep/v1/query.js +1060 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +48 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +65 -1
- package/esm/sparkdream/rep/v1/tx.amino.js +71 -1
- package/esm/sparkdream/rep/v1/tx.js +1741 -1
- package/esm/sparkdream/rep/v1/tx.registry.js +200 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +67 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.amino.js +64 -2
- package/esm/sparkdream/session/v1/tx.js +38 -2
- package/esm/sparkdream/vault/module/v1/module.js +71 -0
- package/esm/sparkdream/vault/v1/genesis.js +104 -0
- package/esm/sparkdream/vault/v1/params.js +90 -0
- package/esm/sparkdream/vault/v1/query.js +1535 -0
- package/esm/sparkdream/vault/v1/query.lcd.js +100 -0
- package/esm/sparkdream/vault/v1/query.rpc.Query.js +111 -0
- package/esm/sparkdream/vault/v1/tx.amino.js +111 -0
- package/esm/sparkdream/vault/v1/tx.js +1393 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +159 -0
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +60 -0
- package/esm/sparkdream/vault/v1/vault.js +163 -0
- package/esm/sparkdream/vault/v1/vault_proposal.js +277 -0
- package/esm/sparkdream/vault/v1/vault_signer.js +85 -0
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/nested-amino.d.ts +3 -2
- package/nested-amino.js +6 -4
- package/package.json +1 -13
- package/sparkdream/artifact/v1/genesis.d.ts +37 -4
- package/sparkdream/artifact/v1/genesis.js +216 -2
- package/sparkdream/artifact/v1/params.d.ts +92 -0
- package/sparkdream/artifact/v1/params.js +146 -2
- package/sparkdream/artifact/v1/query.d.ts +2373 -168
- package/sparkdream/artifact/v1/query.js +3768 -5
- package/sparkdream/artifact/v1/query.lcd.d.ts +22 -1
- package/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +98 -1
- package/sparkdream/artifact/v1/query.rpc.Query.js +194 -0
- package/sparkdream/artifact/v1/tx.amino.d.ts +200 -5
- package/sparkdream/artifact/v1/tx.amino.js +324 -5
- package/sparkdream/artifact/v1/tx.d.ts +5188 -930
- package/sparkdream/artifact/v1/tx.js +7499 -5
- package/sparkdream/artifact/v1/tx.registry.d.ts +469 -1
- package/sparkdream/artifact/v1/tx.registry.js +703 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +136 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.js +240 -0
- package/sparkdream/artifact/v1/types.d.ts +1797 -25
- package/sparkdream/artifact/v1/types.js +4322 -1121
- package/sparkdream/blog/v1/tx.amino.d.ts +21 -1
- package/sparkdream/blog/v1/tx.amino.js +20 -0
- package/sparkdream/bundle.d.ts +13605 -9506
- package/sparkdream/bundle.js +329 -291
- package/sparkdream/client.d.ts +389 -9
- package/sparkdream/client.js +5 -2
- package/sparkdream/collect/v1/tx.amino.d.ts +16 -1
- package/sparkdream/collect/v1/tx.amino.js +15 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +21 -1
- package/sparkdream/commons/v1/tx.amino.js +32 -0
- package/sparkdream/commons/v1/tx.d.ts +18 -0
- package/sparkdream/commons/v1/tx.js +25 -1
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -1
- package/sparkdream/federation/v1/tx.amino.js +52 -2
- package/sparkdream/forum/v1/tx.amino.d.ts +21 -1
- package/sparkdream/forum/v1/tx.amino.js +20 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +3 -3
- package/sparkdream/guardian/v1/tx.amino.js +36 -5
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/rep/v1/genesis.d.ts +19 -0
- package/sparkdream/rep/v1/genesis.js +74 -1
- package/sparkdream/rep/v1/member.d.ts +92 -0
- package/sparkdream/rep/v1/member.js +110 -1
- package/sparkdream/rep/v1/migration.d.ts +587 -0
- package/sparkdream/rep/v1/migration.js +964 -0
- package/sparkdream/rep/v1/params.d.ts +174 -0
- package/sparkdream/rep/v1/params.js +181 -1
- package/sparkdream/rep/v1/query.d.ts +679 -0
- package/sparkdream/rep/v1/query.js +1061 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +8 -1
- package/sparkdream/rep/v1/query.lcd.js +48 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +32 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +64 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +71 -1
- package/sparkdream/rep/v1/tx.amino.js +70 -0
- package/sparkdream/rep/v1/tx.d.ts +1185 -0
- package/sparkdream/rep/v1/tx.js +1742 -2
- package/sparkdream/rep/v1/tx.registry.d.ts +133 -1
- package/sparkdream/rep/v1/tx.registry.js +199 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +34 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +66 -0
- package/sparkdream/rpc.query.d.ts +42 -0
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/tx.amino.d.ts +2 -2
- package/sparkdream/season/v1/tx.amino.js +65 -3
- package/sparkdream/session/v1/tx.d.ts +30 -0
- package/sparkdream/session/v1/tx.js +38 -2
- package/sparkdream/vault/module/v1/module.d.ts +54 -0
- package/sparkdream/vault/module/v1/module.js +74 -0
- package/sparkdream/vault/v1/genesis.d.ts +59 -0
- package/sparkdream/vault/v1/genesis.js +107 -0
- package/sparkdream/vault/v1/params.d.ts +68 -0
- package/sparkdream/vault/v1/params.js +93 -0
- package/sparkdream/vault/v1/query.d.ts +935 -0
- package/sparkdream/vault/v1/query.js +1538 -0
- package/sparkdream/vault/v1/query.lcd.d.ts +18 -0
- package/sparkdream/vault/v1/query.lcd.js +104 -0
- package/sparkdream/vault/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/vault/v1/query.rpc.Query.js +116 -0
- package/sparkdream/vault/v1/tx.amino.d.ts +44 -0
- package/sparkdream/vault/v1/tx.amino.js +115 -0
- package/sparkdream/vault/v1/tx.d.ts +826 -0
- package/sparkdream/vault/v1/tx.js +1399 -0
- package/sparkdream/vault/v1/tx.registry.d.ts +109 -0
- package/sparkdream/vault/v1/tx.registry.js +163 -0
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/vault/v1/tx.rpc.msg.js +65 -0
- package/sparkdream/vault/v1/vault.d.ts +117 -0
- package/sparkdream/vault/v1/vault.js +166 -0
- package/sparkdream/vault/v1/vault_proposal.d.ts +158 -0
- package/sparkdream/vault/v1/vault_proposal.js +285 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +54 -0
- package/sparkdream/vault/v1/vault_signer.js +88 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgUpdateParams, MsgCreateClass, MsgUpdateClass, MsgFreezeClassMetadata, MsgSetMintPolicy, MsgSetMinters, MsgSetMaxSupply, MsgCloseMinting, MsgProposeClassOwner, MsgAcceptClassOwner, MsgCancelClassOwner, MsgDeleteClass, MsgMint, MsgPublicMint, MsgTransfer, MsgAcceptIncoming, MsgRejectIncoming, MsgCancelOutgoing, MsgSetReceivePolicy, MsgBurn, MsgRevoke, MsgUpdateToken, MsgFreezeTokenMetadata, MsgList, MsgUpdateListing, MsgDelist, MsgBuy, MsgHideContent, MsgUnhideContent, MsgAppealHide, MsgUpdateOperationalParams } from "./tx";
|
|
1
|
+
import { MsgUpdateParams, MsgCreateClass, MsgUpdateClass, MsgFreezeClassMetadata, MsgSetMintPolicy, MsgSetMinters, MsgSetMaxSupply, MsgCloseMinting, MsgProposeClassOwner, MsgAcceptClassOwner, MsgCancelClassOwner, MsgDeleteClass, MsgMint, MsgPublicMint, MsgTransfer, MsgAcceptIncoming, MsgRejectIncoming, MsgCancelOutgoing, MsgSetReceivePolicy, MsgBurn, MsgRevoke, MsgUpdateToken, MsgFreezeTokenMetadata, MsgList, MsgUpdateListing, MsgDelist, MsgBuy, MsgHideContent, MsgUnhideContent, MsgAppealHide, MsgUpdateOperationalParams, MsgIssue, MsgRenew, MsgRedeem, MsgLockRoyalty, MsgReveal, MsgRevealSeed, MsgProposeMedia, MsgAcceptMedia, MsgRejectMedia, MsgSetDisplayedMedia, MsgCreateEdition, MsgMintUnits, MsgTransferUnits, MsgBurnUnits, MsgRevokeUnits, MsgListUnits, MsgDelistUnits, MsgBuyUnits, MsgFundEdition, MsgClaimEditionRewards, MsgAddCraftRecipe, MsgRemoveCraftRecipe, MsgCraft, MsgOfferRental, MsgCancelRentalOffer, MsgAcceptRental, MsgEndRental, MsgNest, MsgDetach, MsgSetHarbergerPrice, MsgForceBuy, MsgUpdateUnitListing, MsgMakeOffer, MsgCancelOffer, MsgAcceptOffer, MsgStartAuction, MsgBid, MsgSettleAuction, MsgCancelAuction } from "./tx";
|
|
2
2
|
export declare const AminoConverter: {
|
|
3
3
|
"/sparkdream.artifact.v1.MsgUpdateParams": {
|
|
4
4
|
aminoType: string;
|
|
@@ -7,12 +7,12 @@ export declare const AminoConverter: {
|
|
|
7
7
|
};
|
|
8
8
|
"/sparkdream.artifact.v1.MsgCreateClass": {
|
|
9
9
|
aminoType: string;
|
|
10
|
-
toAmino
|
|
10
|
+
toAmino(message: any): any;
|
|
11
11
|
fromAmino: (object: import("./tx").MsgCreateClassAmino) => MsgCreateClass;
|
|
12
12
|
};
|
|
13
13
|
"/sparkdream.artifact.v1.MsgUpdateClass": {
|
|
14
14
|
aminoType: string;
|
|
15
|
-
toAmino
|
|
15
|
+
toAmino(message: any): any;
|
|
16
16
|
fromAmino: (object: import("./tx").MsgUpdateClassAmino) => MsgUpdateClass;
|
|
17
17
|
};
|
|
18
18
|
"/sparkdream.artifact.v1.MsgFreezeClassMetadata": {
|
|
@@ -27,7 +27,7 @@ export declare const AminoConverter: {
|
|
|
27
27
|
};
|
|
28
28
|
"/sparkdream.artifact.v1.MsgSetMinters": {
|
|
29
29
|
aminoType: string;
|
|
30
|
-
toAmino
|
|
30
|
+
toAmino(message: any): any;
|
|
31
31
|
fromAmino: (object: import("./tx").MsgSetMintersAmino) => MsgSetMinters;
|
|
32
32
|
};
|
|
33
33
|
"/sparkdream.artifact.v1.MsgSetMaxSupply": {
|
|
@@ -102,7 +102,7 @@ export declare const AminoConverter: {
|
|
|
102
102
|
};
|
|
103
103
|
"/sparkdream.artifact.v1.MsgRevoke": {
|
|
104
104
|
aminoType: string;
|
|
105
|
-
toAmino
|
|
105
|
+
toAmino(message: any): any;
|
|
106
106
|
fromAmino: (object: import("./tx").MsgRevokeAmino) => MsgRevoke;
|
|
107
107
|
};
|
|
108
108
|
"/sparkdream.artifact.v1.MsgUpdateToken": {
|
|
@@ -155,4 +155,199 @@ export declare const AminoConverter: {
|
|
|
155
155
|
toAmino: (message: MsgUpdateOperationalParams) => import("./tx").MsgUpdateOperationalParamsAmino;
|
|
156
156
|
fromAmino: (object: import("./tx").MsgUpdateOperationalParamsAmino) => MsgUpdateOperationalParams;
|
|
157
157
|
};
|
|
158
|
+
"/sparkdream.artifact.v1.MsgIssue": {
|
|
159
|
+
aminoType: string;
|
|
160
|
+
toAmino(message: any): any;
|
|
161
|
+
fromAmino: (object: import("./tx").MsgIssueAmino) => MsgIssue;
|
|
162
|
+
};
|
|
163
|
+
"/sparkdream.artifact.v1.MsgRenew": {
|
|
164
|
+
aminoType: string;
|
|
165
|
+
toAmino: (message: MsgRenew) => import("./tx").MsgRenewAmino;
|
|
166
|
+
fromAmino: (object: import("./tx").MsgRenewAmino) => MsgRenew;
|
|
167
|
+
};
|
|
168
|
+
"/sparkdream.artifact.v1.MsgRedeem": {
|
|
169
|
+
aminoType: string;
|
|
170
|
+
toAmino(message: any): any;
|
|
171
|
+
fromAmino: (object: import("./tx").MsgRedeemAmino) => MsgRedeem;
|
|
172
|
+
};
|
|
173
|
+
"/sparkdream.artifact.v1.MsgLockRoyalty": {
|
|
174
|
+
aminoType: string;
|
|
175
|
+
toAmino: (message: MsgLockRoyalty) => import("./tx").MsgLockRoyaltyAmino;
|
|
176
|
+
fromAmino: (object: import("./tx").MsgLockRoyaltyAmino) => MsgLockRoyalty;
|
|
177
|
+
};
|
|
178
|
+
"/sparkdream.artifact.v1.MsgReveal": {
|
|
179
|
+
aminoType: string;
|
|
180
|
+
toAmino(message: any): any;
|
|
181
|
+
fromAmino: (object: import("./tx").MsgRevealAmino) => MsgReveal;
|
|
182
|
+
};
|
|
183
|
+
"/sparkdream.artifact.v1.MsgRevealSeed": {
|
|
184
|
+
aminoType: string;
|
|
185
|
+
toAmino: (message: MsgRevealSeed) => import("./tx").MsgRevealSeedAmino;
|
|
186
|
+
fromAmino: (object: import("./tx").MsgRevealSeedAmino) => MsgRevealSeed;
|
|
187
|
+
};
|
|
188
|
+
"/sparkdream.artifact.v1.MsgProposeMedia": {
|
|
189
|
+
aminoType: string;
|
|
190
|
+
toAmino: (message: MsgProposeMedia) => import("./tx").MsgProposeMediaAmino;
|
|
191
|
+
fromAmino: (object: import("./tx").MsgProposeMediaAmino) => MsgProposeMedia;
|
|
192
|
+
};
|
|
193
|
+
"/sparkdream.artifact.v1.MsgAcceptMedia": {
|
|
194
|
+
aminoType: string;
|
|
195
|
+
toAmino: (message: MsgAcceptMedia) => import("./tx").MsgAcceptMediaAmino;
|
|
196
|
+
fromAmino: (object: import("./tx").MsgAcceptMediaAmino) => MsgAcceptMedia;
|
|
197
|
+
};
|
|
198
|
+
"/sparkdream.artifact.v1.MsgRejectMedia": {
|
|
199
|
+
aminoType: string;
|
|
200
|
+
toAmino: (message: MsgRejectMedia) => import("./tx").MsgRejectMediaAmino;
|
|
201
|
+
fromAmino: (object: import("./tx").MsgRejectMediaAmino) => MsgRejectMedia;
|
|
202
|
+
};
|
|
203
|
+
"/sparkdream.artifact.v1.MsgSetDisplayedMedia": {
|
|
204
|
+
aminoType: string;
|
|
205
|
+
toAmino: (message: MsgSetDisplayedMedia) => import("./tx").MsgSetDisplayedMediaAmino;
|
|
206
|
+
fromAmino: (object: import("./tx").MsgSetDisplayedMediaAmino) => MsgSetDisplayedMedia;
|
|
207
|
+
};
|
|
208
|
+
"/sparkdream.artifact.v1.MsgCreateEdition": {
|
|
209
|
+
aminoType: string;
|
|
210
|
+
toAmino: (message: MsgCreateEdition) => import("./tx").MsgCreateEditionAmino;
|
|
211
|
+
fromAmino: (object: import("./tx").MsgCreateEditionAmino) => MsgCreateEdition;
|
|
212
|
+
};
|
|
213
|
+
"/sparkdream.artifact.v1.MsgMintUnits": {
|
|
214
|
+
aminoType: string;
|
|
215
|
+
toAmino: (message: MsgMintUnits) => import("./tx").MsgMintUnitsAmino;
|
|
216
|
+
fromAmino: (object: import("./tx").MsgMintUnitsAmino) => MsgMintUnits;
|
|
217
|
+
};
|
|
218
|
+
"/sparkdream.artifact.v1.MsgTransferUnits": {
|
|
219
|
+
aminoType: string;
|
|
220
|
+
toAmino: (message: MsgTransferUnits) => import("./tx").MsgTransferUnitsAmino;
|
|
221
|
+
fromAmino: (object: import("./tx").MsgTransferUnitsAmino) => MsgTransferUnits;
|
|
222
|
+
};
|
|
223
|
+
"/sparkdream.artifact.v1.MsgBurnUnits": {
|
|
224
|
+
aminoType: string;
|
|
225
|
+
toAmino: (message: MsgBurnUnits) => import("./tx").MsgBurnUnitsAmino;
|
|
226
|
+
fromAmino: (object: import("./tx").MsgBurnUnitsAmino) => MsgBurnUnits;
|
|
227
|
+
};
|
|
228
|
+
"/sparkdream.artifact.v1.MsgRevokeUnits": {
|
|
229
|
+
aminoType: string;
|
|
230
|
+
toAmino: (message: MsgRevokeUnits) => import("./tx").MsgRevokeUnitsAmino;
|
|
231
|
+
fromAmino: (object: import("./tx").MsgRevokeUnitsAmino) => MsgRevokeUnits;
|
|
232
|
+
};
|
|
233
|
+
"/sparkdream.artifact.v1.MsgListUnits": {
|
|
234
|
+
aminoType: string;
|
|
235
|
+
toAmino: (message: MsgListUnits) => import("./tx").MsgListUnitsAmino;
|
|
236
|
+
fromAmino: (object: import("./tx").MsgListUnitsAmino) => MsgListUnits;
|
|
237
|
+
};
|
|
238
|
+
"/sparkdream.artifact.v1.MsgDelistUnits": {
|
|
239
|
+
aminoType: string;
|
|
240
|
+
toAmino: (message: MsgDelistUnits) => import("./tx").MsgDelistUnitsAmino;
|
|
241
|
+
fromAmino: (object: import("./tx").MsgDelistUnitsAmino) => MsgDelistUnits;
|
|
242
|
+
};
|
|
243
|
+
"/sparkdream.artifact.v1.MsgBuyUnits": {
|
|
244
|
+
aminoType: string;
|
|
245
|
+
toAmino: (message: MsgBuyUnits) => import("./tx").MsgBuyUnitsAmino;
|
|
246
|
+
fromAmino: (object: import("./tx").MsgBuyUnitsAmino) => MsgBuyUnits;
|
|
247
|
+
};
|
|
248
|
+
"/sparkdream.artifact.v1.MsgFundEdition": {
|
|
249
|
+
aminoType: string;
|
|
250
|
+
toAmino: (message: MsgFundEdition) => import("./tx").MsgFundEditionAmino;
|
|
251
|
+
fromAmino: (object: import("./tx").MsgFundEditionAmino) => MsgFundEdition;
|
|
252
|
+
};
|
|
253
|
+
"/sparkdream.artifact.v1.MsgClaimEditionRewards": {
|
|
254
|
+
aminoType: string;
|
|
255
|
+
toAmino: (message: MsgClaimEditionRewards) => import("./tx").MsgClaimEditionRewardsAmino;
|
|
256
|
+
fromAmino: (object: import("./tx").MsgClaimEditionRewardsAmino) => MsgClaimEditionRewards;
|
|
257
|
+
};
|
|
258
|
+
"/sparkdream.artifact.v1.MsgAddCraftRecipe": {
|
|
259
|
+
aminoType: string;
|
|
260
|
+
toAmino: (message: MsgAddCraftRecipe) => import("./tx").MsgAddCraftRecipeAmino;
|
|
261
|
+
fromAmino: (object: import("./tx").MsgAddCraftRecipeAmino) => MsgAddCraftRecipe;
|
|
262
|
+
};
|
|
263
|
+
"/sparkdream.artifact.v1.MsgRemoveCraftRecipe": {
|
|
264
|
+
aminoType: string;
|
|
265
|
+
toAmino: (message: MsgRemoveCraftRecipe) => import("./tx").MsgRemoveCraftRecipeAmino;
|
|
266
|
+
fromAmino: (object: import("./tx").MsgRemoveCraftRecipeAmino) => MsgRemoveCraftRecipe;
|
|
267
|
+
};
|
|
268
|
+
"/sparkdream.artifact.v1.MsgCraft": {
|
|
269
|
+
aminoType: string;
|
|
270
|
+
toAmino(message: any): any;
|
|
271
|
+
fromAmino: (object: import("./tx").MsgCraftAmino) => MsgCraft;
|
|
272
|
+
};
|
|
273
|
+
"/sparkdream.artifact.v1.MsgOfferRental": {
|
|
274
|
+
aminoType: string;
|
|
275
|
+
toAmino: (message: MsgOfferRental) => import("./tx").MsgOfferRentalAmino;
|
|
276
|
+
fromAmino: (object: import("./tx").MsgOfferRentalAmino) => MsgOfferRental;
|
|
277
|
+
};
|
|
278
|
+
"/sparkdream.artifact.v1.MsgCancelRentalOffer": {
|
|
279
|
+
aminoType: string;
|
|
280
|
+
toAmino: (message: MsgCancelRentalOffer) => import("./tx").MsgCancelRentalOfferAmino;
|
|
281
|
+
fromAmino: (object: import("./tx").MsgCancelRentalOfferAmino) => MsgCancelRentalOffer;
|
|
282
|
+
};
|
|
283
|
+
"/sparkdream.artifact.v1.MsgAcceptRental": {
|
|
284
|
+
aminoType: string;
|
|
285
|
+
toAmino: (message: MsgAcceptRental) => import("./tx").MsgAcceptRentalAmino;
|
|
286
|
+
fromAmino: (object: import("./tx").MsgAcceptRentalAmino) => MsgAcceptRental;
|
|
287
|
+
};
|
|
288
|
+
"/sparkdream.artifact.v1.MsgEndRental": {
|
|
289
|
+
aminoType: string;
|
|
290
|
+
toAmino: (message: MsgEndRental) => import("./tx").MsgEndRentalAmino;
|
|
291
|
+
fromAmino: (object: import("./tx").MsgEndRentalAmino) => MsgEndRental;
|
|
292
|
+
};
|
|
293
|
+
"/sparkdream.artifact.v1.MsgNest": {
|
|
294
|
+
aminoType: string;
|
|
295
|
+
toAmino: (message: MsgNest) => import("./tx").MsgNestAmino;
|
|
296
|
+
fromAmino: (object: import("./tx").MsgNestAmino) => MsgNest;
|
|
297
|
+
};
|
|
298
|
+
"/sparkdream.artifact.v1.MsgDetach": {
|
|
299
|
+
aminoType: string;
|
|
300
|
+
toAmino: (message: MsgDetach) => import("./tx").MsgDetachAmino;
|
|
301
|
+
fromAmino: (object: import("./tx").MsgDetachAmino) => MsgDetach;
|
|
302
|
+
};
|
|
303
|
+
"/sparkdream.artifact.v1.MsgSetHarbergerPrice": {
|
|
304
|
+
aminoType: string;
|
|
305
|
+
toAmino: (message: MsgSetHarbergerPrice) => import("./tx").MsgSetHarbergerPriceAmino;
|
|
306
|
+
fromAmino: (object: import("./tx").MsgSetHarbergerPriceAmino) => MsgSetHarbergerPrice;
|
|
307
|
+
};
|
|
308
|
+
"/sparkdream.artifact.v1.MsgForceBuy": {
|
|
309
|
+
aminoType: string;
|
|
310
|
+
toAmino: (message: MsgForceBuy) => import("./tx").MsgForceBuyAmino;
|
|
311
|
+
fromAmino: (object: import("./tx").MsgForceBuyAmino) => MsgForceBuy;
|
|
312
|
+
};
|
|
313
|
+
"/sparkdream.artifact.v1.MsgUpdateUnitListing": {
|
|
314
|
+
aminoType: string;
|
|
315
|
+
toAmino: (message: MsgUpdateUnitListing) => import("./tx").MsgUpdateUnitListingAmino;
|
|
316
|
+
fromAmino: (object: import("./tx").MsgUpdateUnitListingAmino) => MsgUpdateUnitListing;
|
|
317
|
+
};
|
|
318
|
+
"/sparkdream.artifact.v1.MsgMakeOffer": {
|
|
319
|
+
aminoType: string;
|
|
320
|
+
toAmino: (message: MsgMakeOffer) => import("./tx").MsgMakeOfferAmino;
|
|
321
|
+
fromAmino: (object: import("./tx").MsgMakeOfferAmino) => MsgMakeOffer;
|
|
322
|
+
};
|
|
323
|
+
"/sparkdream.artifact.v1.MsgCancelOffer": {
|
|
324
|
+
aminoType: string;
|
|
325
|
+
toAmino: (message: MsgCancelOffer) => import("./tx").MsgCancelOfferAmino;
|
|
326
|
+
fromAmino: (object: import("./tx").MsgCancelOfferAmino) => MsgCancelOffer;
|
|
327
|
+
};
|
|
328
|
+
"/sparkdream.artifact.v1.MsgAcceptOffer": {
|
|
329
|
+
aminoType: string;
|
|
330
|
+
toAmino: (message: MsgAcceptOffer) => import("./tx").MsgAcceptOfferAmino;
|
|
331
|
+
fromAmino: (object: import("./tx").MsgAcceptOfferAmino) => MsgAcceptOffer;
|
|
332
|
+
};
|
|
333
|
+
"/sparkdream.artifact.v1.MsgStartAuction": {
|
|
334
|
+
aminoType: string;
|
|
335
|
+
toAmino: (message: MsgStartAuction) => import("./tx").MsgStartAuctionAmino;
|
|
336
|
+
fromAmino: (object: import("./tx").MsgStartAuctionAmino) => MsgStartAuction;
|
|
337
|
+
};
|
|
338
|
+
"/sparkdream.artifact.v1.MsgBid": {
|
|
339
|
+
aminoType: string;
|
|
340
|
+
toAmino: (message: MsgBid) => import("./tx").MsgBidAmino;
|
|
341
|
+
fromAmino: (object: import("./tx").MsgBidAmino) => MsgBid;
|
|
342
|
+
};
|
|
343
|
+
"/sparkdream.artifact.v1.MsgSettleAuction": {
|
|
344
|
+
aminoType: string;
|
|
345
|
+
toAmino: (message: MsgSettleAuction) => import("./tx").MsgSettleAuctionAmino;
|
|
346
|
+
fromAmino: (object: import("./tx").MsgSettleAuctionAmino) => MsgSettleAuction;
|
|
347
|
+
};
|
|
348
|
+
"/sparkdream.artifact.v1.MsgCancelAuction": {
|
|
349
|
+
aminoType: string;
|
|
350
|
+
toAmino: (message: MsgCancelAuction) => import("./tx").MsgCancelAuctionAmino;
|
|
351
|
+
fromAmino: (object: import("./tx").MsgCancelAuctionAmino) => MsgCancelAuction;
|
|
352
|
+
};
|
|
158
353
|
};
|
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
//@ts-nocheck
|
|
3
|
+
// HAND-WRITTEN OVERRIDE — overlaid on top of the Telescope-generated tx.amino.ts
|
|
4
|
+
// by scripts/codegen.ts after each codegen run. Do not let codegen wipe this.
|
|
5
|
+
//
|
|
6
|
+
// Why: Telescope's auto-generated toAmino emits `[]` for empty repeated fields
|
|
7
|
+
// (the `if (message.field)` check is truthy for `[]` in JS), but
|
|
8
|
+
// cosmossdk.io/x/tx/signing/aminojson on the chain side omits them per
|
|
9
|
+
// `omitempty`. Whenever a repeated field happens to be empty, the JS side signs
|
|
10
|
+
// `"field":[]` and the chain reconstructs without the key — sign bytes differ,
|
|
11
|
+
// surfacing as "signature verification failed" / "unauthorized".
|
|
12
|
+
//
|
|
13
|
+
// Every artifact message with a repeated field not marked
|
|
14
|
+
// `(amino.dont_omitempty) = true` is patched here to mirror aminojson's
|
|
15
|
+
// omitempty (return `undefined` when empty). The rest of the converters pass
|
|
16
|
+
// straight through to the auto-generated toAmino/fromAmino.
|
|
17
|
+
//
|
|
18
|
+
// MAINTENANCE: this map REPLACES the generated one wholesale, so it must list
|
|
19
|
+
// every message in tx.proto. A message added to the proto but not added here
|
|
20
|
+
// ends up with no amino converter at all, and amino (Ledger) signing for it
|
|
21
|
+
// fails at runtime. When syncing protos, diff the message list in
|
|
22
|
+
// protos/sparkdream/artifact/v1/tx.proto against the keys below.
|
|
2
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
24
|
exports.AminoConverter = void 0;
|
|
4
|
-
//@ts-nocheck
|
|
5
25
|
const tx_1 = require("./tx");
|
|
26
|
+
const types_1 = require("./types");
|
|
6
27
|
exports.AminoConverter = {
|
|
7
28
|
"/sparkdream.artifact.v1.MsgUpdateParams": {
|
|
8
29
|
aminoType: "sparkdream/x/artifact/MsgUpdateParams",
|
|
@@ -11,12 +32,57 @@ exports.AminoConverter = {
|
|
|
11
32
|
},
|
|
12
33
|
"/sparkdream.artifact.v1.MsgCreateClass": {
|
|
13
34
|
aminoType: "sparkdream/x/artifact/MsgCreateClass",
|
|
14
|
-
toAmino
|
|
35
|
+
toAmino(message) {
|
|
36
|
+
const obj = {};
|
|
37
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
38
|
+
obj.name = message.name === "" ? undefined : message.name;
|
|
39
|
+
obj.symbol = message.symbol === "" ? undefined : message.symbol;
|
|
40
|
+
obj.description = message.description === "" ? undefined : message.description;
|
|
41
|
+
obj.uri = message.uri === "" ? undefined : message.uri;
|
|
42
|
+
obj.uri_hash = message.uriHash === "" ? undefined : message.uriHash;
|
|
43
|
+
obj.token_uri_base = message.tokenUriBase === "" ? undefined : message.tokenUriBase;
|
|
44
|
+
obj.flags = message.flags ? types_1.ClassFlags.toAmino(message.flags) : types_1.ClassFlags.toAmino(types_1.ClassFlags.fromPartial({}));
|
|
45
|
+
obj.max_supply = message.maxSupply !== BigInt(0) ? message.maxSupply?.toString() : undefined;
|
|
46
|
+
obj.mint_policy = message.mintPolicy ? types_1.MintPolicy.toAmino(message.mintPolicy) : types_1.MintPolicy.toAmino(types_1.MintPolicy.fromPartial({}));
|
|
47
|
+
obj.payout_address = message.payoutAddress === "" ? undefined : message.payoutAddress;
|
|
48
|
+
obj.royalty_bps = message.royaltyBps === 0 ? undefined : message.royaltyBps;
|
|
49
|
+
obj.royalty_recipients = (message.royaltyRecipients?.length ?? 0) > 0
|
|
50
|
+
? message.royaltyRecipients.map((e) => e ? types_1.RoyaltyShare.toAmino(e) : undefined)
|
|
51
|
+
: undefined;
|
|
52
|
+
obj.minters = (message.minters?.length ?? 0) > 0
|
|
53
|
+
? message.minters.map((e) => e)
|
|
54
|
+
: undefined;
|
|
55
|
+
obj.accepted_content_license = message.acceptedContentLicense === "" ? undefined : message.acceptedContentLicense;
|
|
56
|
+
obj.expiry = message.expiry ? types_1.ExpiryPolicy.toAmino(message.expiry) : types_1.ExpiryPolicy.toAmino(types_1.ExpiryPolicy.fromPartial({}));
|
|
57
|
+
obj.reveal = message.reveal ? types_1.RevealPolicy.toAmino(message.reveal) : types_1.RevealPolicy.toAmino(types_1.RevealPolicy.fromPartial({}));
|
|
58
|
+
obj.renderer = message.renderer ? types_1.Renderer.toAmino(message.renderer) : types_1.Renderer.toAmino(types_1.Renderer.fromPartial({}));
|
|
59
|
+
obj.token_model = message.tokenModel === 0 ? undefined : message.tokenModel;
|
|
60
|
+
obj.harberger = message.harberger ? types_1.HarbergerPolicy.toAmino(message.harberger) : types_1.HarbergerPolicy.toAmino(types_1.HarbergerPolicy.fromPartial({}));
|
|
61
|
+
return obj;
|
|
62
|
+
},
|
|
15
63
|
fromAmino: tx_1.MsgCreateClass.fromAmino
|
|
16
64
|
},
|
|
17
65
|
"/sparkdream.artifact.v1.MsgUpdateClass": {
|
|
18
66
|
aminoType: "sparkdream/x/artifact/MsgUpdateClass",
|
|
19
|
-
toAmino
|
|
67
|
+
toAmino(message) {
|
|
68
|
+
const obj = {};
|
|
69
|
+
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
70
|
+
obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
|
|
71
|
+
obj.name = message.name === "" ? undefined : message.name;
|
|
72
|
+
obj.description = message.description === "" ? undefined : message.description;
|
|
73
|
+
obj.uri = message.uri === "" ? undefined : message.uri;
|
|
74
|
+
obj.uri_hash = message.uriHash === "" ? undefined : message.uriHash;
|
|
75
|
+
obj.token_uri_base = message.tokenUriBase === "" ? undefined : message.tokenUriBase;
|
|
76
|
+
obj.payout_address = message.payoutAddress === "" ? undefined : message.payoutAddress;
|
|
77
|
+
obj.royalty_recipients = (message.royaltyRecipients?.length ?? 0) > 0
|
|
78
|
+
? message.royaltyRecipients.map((e) => e ? types_1.RoyaltyShare.toAmino(e) : undefined)
|
|
79
|
+
: undefined;
|
|
80
|
+
obj.royalty_bps = message.royaltyBps === 0 ? undefined : message.royaltyBps;
|
|
81
|
+
obj.update_mask = (message.updateMask?.length ?? 0) > 0
|
|
82
|
+
? message.updateMask.map((e) => e)
|
|
83
|
+
: undefined;
|
|
84
|
+
return obj;
|
|
85
|
+
},
|
|
20
86
|
fromAmino: tx_1.MsgUpdateClass.fromAmino
|
|
21
87
|
},
|
|
22
88
|
"/sparkdream.artifact.v1.MsgFreezeClassMetadata": {
|
|
@@ -31,7 +97,18 @@ exports.AminoConverter = {
|
|
|
31
97
|
},
|
|
32
98
|
"/sparkdream.artifact.v1.MsgSetMinters": {
|
|
33
99
|
aminoType: "sparkdream/x/artifact/MsgSetMinters",
|
|
34
|
-
toAmino
|
|
100
|
+
toAmino(message) {
|
|
101
|
+
const obj = {};
|
|
102
|
+
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
103
|
+
obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
|
|
104
|
+
obj.add = (message.add?.length ?? 0) > 0
|
|
105
|
+
? message.add.map((e) => e)
|
|
106
|
+
: undefined;
|
|
107
|
+
obj.remove = (message.remove?.length ?? 0) > 0
|
|
108
|
+
? message.remove.map((e) => e)
|
|
109
|
+
: undefined;
|
|
110
|
+
return obj;
|
|
111
|
+
},
|
|
35
112
|
fromAmino: tx_1.MsgSetMinters.fromAmino
|
|
36
113
|
},
|
|
37
114
|
"/sparkdream.artifact.v1.MsgSetMaxSupply": {
|
|
@@ -106,7 +183,16 @@ exports.AminoConverter = {
|
|
|
106
183
|
},
|
|
107
184
|
"/sparkdream.artifact.v1.MsgRevoke": {
|
|
108
185
|
aminoType: "sparkdream/x/artifact/MsgRevoke",
|
|
109
|
-
toAmino
|
|
186
|
+
toAmino(message) {
|
|
187
|
+
const obj = {};
|
|
188
|
+
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
189
|
+
obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
|
|
190
|
+
obj.token_ids = (message.tokenIds?.length ?? 0) > 0
|
|
191
|
+
? message.tokenIds.map((e) => e.toString())
|
|
192
|
+
: undefined;
|
|
193
|
+
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
194
|
+
return obj;
|
|
195
|
+
},
|
|
110
196
|
fromAmino: tx_1.MsgRevoke.fromAmino
|
|
111
197
|
},
|
|
112
198
|
"/sparkdream.artifact.v1.MsgUpdateToken": {
|
|
@@ -158,5 +244,238 @@ exports.AminoConverter = {
|
|
|
158
244
|
aminoType: "sparkdream/x/artifact/MsgUpdateOperationalParams",
|
|
159
245
|
toAmino: tx_1.MsgUpdateOperationalParams.toAmino,
|
|
160
246
|
fromAmino: tx_1.MsgUpdateOperationalParams.fromAmino
|
|
247
|
+
},
|
|
248
|
+
"/sparkdream.artifact.v1.MsgIssue": {
|
|
249
|
+
aminoType: "sparkdream/x/artifact/MsgIssue",
|
|
250
|
+
toAmino(message) {
|
|
251
|
+
const obj = {};
|
|
252
|
+
obj.minter = message.minter === "" ? undefined : message.minter;
|
|
253
|
+
obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
|
|
254
|
+
obj.recipients = (message.recipients?.length ?? 0) > 0
|
|
255
|
+
? message.recipients.map((e) => e)
|
|
256
|
+
: undefined;
|
|
257
|
+
obj.metadata = message.metadata ? types_1.TokenMetadata.toAmino(message.metadata) : types_1.TokenMetadata.toAmino(types_1.TokenMetadata.fromPartial({}));
|
|
258
|
+
obj.accepted_content_license = message.acceptedContentLicense === "" ? undefined : message.acceptedContentLicense;
|
|
259
|
+
return obj;
|
|
260
|
+
},
|
|
261
|
+
fromAmino: tx_1.MsgIssue.fromAmino
|
|
262
|
+
},
|
|
263
|
+
"/sparkdream.artifact.v1.MsgRenew": {
|
|
264
|
+
aminoType: "sparkdream/x/artifact/MsgRenew",
|
|
265
|
+
toAmino: tx_1.MsgRenew.toAmino,
|
|
266
|
+
fromAmino: tx_1.MsgRenew.fromAmino
|
|
267
|
+
},
|
|
268
|
+
"/sparkdream.artifact.v1.MsgRedeem": {
|
|
269
|
+
aminoType: "sparkdream/x/artifact/MsgRedeem",
|
|
270
|
+
toAmino(message) {
|
|
271
|
+
const obj = {};
|
|
272
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
273
|
+
obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
|
|
274
|
+
obj.token_ids = (message.tokenIds?.length ?? 0) > 0
|
|
275
|
+
? message.tokenIds.map((e) => e.toString())
|
|
276
|
+
: undefined;
|
|
277
|
+
return obj;
|
|
278
|
+
},
|
|
279
|
+
fromAmino: tx_1.MsgRedeem.fromAmino
|
|
280
|
+
},
|
|
281
|
+
"/sparkdream.artifact.v1.MsgLockRoyalty": {
|
|
282
|
+
aminoType: "sparkdream/x/artifact/MsgLockRoyalty",
|
|
283
|
+
toAmino: tx_1.MsgLockRoyalty.toAmino,
|
|
284
|
+
fromAmino: tx_1.MsgLockRoyalty.fromAmino
|
|
285
|
+
},
|
|
286
|
+
"/sparkdream.artifact.v1.MsgReveal": {
|
|
287
|
+
aminoType: "sparkdream/x/artifact/MsgReveal",
|
|
288
|
+
toAmino(message) {
|
|
289
|
+
const obj = {};
|
|
290
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
291
|
+
obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
|
|
292
|
+
obj.token_id = message.tokenId !== BigInt(0) ? message.tokenId?.toString() : undefined;
|
|
293
|
+
obj.metadata = message.metadata ? types_1.TokenMetadata.toAmino(message.metadata) : types_1.TokenMetadata.toAmino(types_1.TokenMetadata.fromPartial({}));
|
|
294
|
+
obj.salt = message.salt === "" ? undefined : message.salt;
|
|
295
|
+
obj.proof = (message.proof?.length ?? 0) > 0
|
|
296
|
+
? message.proof.map((e) => e)
|
|
297
|
+
: undefined;
|
|
298
|
+
return obj;
|
|
299
|
+
},
|
|
300
|
+
fromAmino: tx_1.MsgReveal.fromAmino
|
|
301
|
+
},
|
|
302
|
+
"/sparkdream.artifact.v1.MsgRevealSeed": {
|
|
303
|
+
aminoType: "sparkdream/x/artifact/MsgRevealSeed",
|
|
304
|
+
toAmino: tx_1.MsgRevealSeed.toAmino,
|
|
305
|
+
fromAmino: tx_1.MsgRevealSeed.fromAmino
|
|
306
|
+
},
|
|
307
|
+
"/sparkdream.artifact.v1.MsgProposeMedia": {
|
|
308
|
+
aminoType: "sparkdream/x/artifact/MsgProposeMedia",
|
|
309
|
+
toAmino: tx_1.MsgProposeMedia.toAmino,
|
|
310
|
+
fromAmino: tx_1.MsgProposeMedia.fromAmino
|
|
311
|
+
},
|
|
312
|
+
"/sparkdream.artifact.v1.MsgAcceptMedia": {
|
|
313
|
+
aminoType: "sparkdream/x/artifact/MsgAcceptMedia",
|
|
314
|
+
toAmino: tx_1.MsgAcceptMedia.toAmino,
|
|
315
|
+
fromAmino: tx_1.MsgAcceptMedia.fromAmino
|
|
316
|
+
},
|
|
317
|
+
"/sparkdream.artifact.v1.MsgRejectMedia": {
|
|
318
|
+
aminoType: "sparkdream/x/artifact/MsgRejectMedia",
|
|
319
|
+
toAmino: tx_1.MsgRejectMedia.toAmino,
|
|
320
|
+
fromAmino: tx_1.MsgRejectMedia.fromAmino
|
|
321
|
+
},
|
|
322
|
+
"/sparkdream.artifact.v1.MsgSetDisplayedMedia": {
|
|
323
|
+
aminoType: "sparkdream/x/artifact/MsgSetDisplayedMedia",
|
|
324
|
+
toAmino: tx_1.MsgSetDisplayedMedia.toAmino,
|
|
325
|
+
fromAmino: tx_1.MsgSetDisplayedMedia.fromAmino
|
|
326
|
+
},
|
|
327
|
+
"/sparkdream.artifact.v1.MsgCreateEdition": {
|
|
328
|
+
aminoType: "sparkdream/x/artifact/MsgCreateEdition",
|
|
329
|
+
toAmino: tx_1.MsgCreateEdition.toAmino,
|
|
330
|
+
fromAmino: tx_1.MsgCreateEdition.fromAmino
|
|
331
|
+
},
|
|
332
|
+
"/sparkdream.artifact.v1.MsgMintUnits": {
|
|
333
|
+
aminoType: "sparkdream/x/artifact/MsgMintUnits",
|
|
334
|
+
toAmino: tx_1.MsgMintUnits.toAmino,
|
|
335
|
+
fromAmino: tx_1.MsgMintUnits.fromAmino
|
|
336
|
+
},
|
|
337
|
+
"/sparkdream.artifact.v1.MsgTransferUnits": {
|
|
338
|
+
aminoType: "sparkdream/x/artifact/MsgTransferUnits",
|
|
339
|
+
toAmino: tx_1.MsgTransferUnits.toAmino,
|
|
340
|
+
fromAmino: tx_1.MsgTransferUnits.fromAmino
|
|
341
|
+
},
|
|
342
|
+
"/sparkdream.artifact.v1.MsgBurnUnits": {
|
|
343
|
+
aminoType: "sparkdream/x/artifact/MsgBurnUnits",
|
|
344
|
+
toAmino: tx_1.MsgBurnUnits.toAmino,
|
|
345
|
+
fromAmino: tx_1.MsgBurnUnits.fromAmino
|
|
346
|
+
},
|
|
347
|
+
"/sparkdream.artifact.v1.MsgRevokeUnits": {
|
|
348
|
+
aminoType: "sparkdream/x/artifact/MsgRevokeUnits",
|
|
349
|
+
toAmino: tx_1.MsgRevokeUnits.toAmino,
|
|
350
|
+
fromAmino: tx_1.MsgRevokeUnits.fromAmino
|
|
351
|
+
},
|
|
352
|
+
"/sparkdream.artifact.v1.MsgListUnits": {
|
|
353
|
+
aminoType: "sparkdream/x/artifact/MsgListUnits",
|
|
354
|
+
toAmino: tx_1.MsgListUnits.toAmino,
|
|
355
|
+
fromAmino: tx_1.MsgListUnits.fromAmino
|
|
356
|
+
},
|
|
357
|
+
"/sparkdream.artifact.v1.MsgDelistUnits": {
|
|
358
|
+
aminoType: "sparkdream/x/artifact/MsgDelistUnits",
|
|
359
|
+
toAmino: tx_1.MsgDelistUnits.toAmino,
|
|
360
|
+
fromAmino: tx_1.MsgDelistUnits.fromAmino
|
|
361
|
+
},
|
|
362
|
+
"/sparkdream.artifact.v1.MsgBuyUnits": {
|
|
363
|
+
aminoType: "sparkdream/x/artifact/MsgBuyUnits",
|
|
364
|
+
toAmino: tx_1.MsgBuyUnits.toAmino,
|
|
365
|
+
fromAmino: tx_1.MsgBuyUnits.fromAmino
|
|
366
|
+
},
|
|
367
|
+
"/sparkdream.artifact.v1.MsgFundEdition": {
|
|
368
|
+
aminoType: "sparkdream/x/artifact/MsgFundEdition",
|
|
369
|
+
toAmino: tx_1.MsgFundEdition.toAmino,
|
|
370
|
+
fromAmino: tx_1.MsgFundEdition.fromAmino
|
|
371
|
+
},
|
|
372
|
+
"/sparkdream.artifact.v1.MsgClaimEditionRewards": {
|
|
373
|
+
aminoType: "sparkdream/x/artifact/MsgClaimEditionRewards",
|
|
374
|
+
toAmino: tx_1.MsgClaimEditionRewards.toAmino,
|
|
375
|
+
fromAmino: tx_1.MsgClaimEditionRewards.fromAmino
|
|
376
|
+
},
|
|
377
|
+
"/sparkdream.artifact.v1.MsgAddCraftRecipe": {
|
|
378
|
+
aminoType: "sparkdream/x/artifact/MsgAddCraftRecipe",
|
|
379
|
+
toAmino: tx_1.MsgAddCraftRecipe.toAmino,
|
|
380
|
+
fromAmino: tx_1.MsgAddCraftRecipe.fromAmino
|
|
381
|
+
},
|
|
382
|
+
"/sparkdream.artifact.v1.MsgRemoveCraftRecipe": {
|
|
383
|
+
aminoType: "sparkdream/x/artifact/MsgRemoveCraftRecipe",
|
|
384
|
+
toAmino: tx_1.MsgRemoveCraftRecipe.toAmino,
|
|
385
|
+
fromAmino: tx_1.MsgRemoveCraftRecipe.fromAmino
|
|
386
|
+
},
|
|
387
|
+
"/sparkdream.artifact.v1.MsgCraft": {
|
|
388
|
+
aminoType: "sparkdream/x/artifact/MsgCraft",
|
|
389
|
+
toAmino(message) {
|
|
390
|
+
const obj = {};
|
|
391
|
+
obj.crafter = message.crafter === "" ? undefined : message.crafter;
|
|
392
|
+
obj.class_id = message.classId !== BigInt(0) ? message.classId?.toString() : undefined;
|
|
393
|
+
obj.recipe_id = message.recipeId !== BigInt(0) ? message.recipeId?.toString() : undefined;
|
|
394
|
+
obj.input_tokens = (message.inputTokens?.length ?? 0) > 0
|
|
395
|
+
? message.inputTokens.map((e) => e ? types_1.TokenRef.toAmino(e) : undefined)
|
|
396
|
+
: undefined;
|
|
397
|
+
return obj;
|
|
398
|
+
},
|
|
399
|
+
fromAmino: tx_1.MsgCraft.fromAmino
|
|
400
|
+
},
|
|
401
|
+
"/sparkdream.artifact.v1.MsgOfferRental": {
|
|
402
|
+
aminoType: "sparkdream/x/artifact/MsgOfferRental",
|
|
403
|
+
toAmino: tx_1.MsgOfferRental.toAmino,
|
|
404
|
+
fromAmino: tx_1.MsgOfferRental.fromAmino
|
|
405
|
+
},
|
|
406
|
+
"/sparkdream.artifact.v1.MsgCancelRentalOffer": {
|
|
407
|
+
aminoType: "sparkdream/x/artifact/MsgCancelRentalOffer",
|
|
408
|
+
toAmino: tx_1.MsgCancelRentalOffer.toAmino,
|
|
409
|
+
fromAmino: tx_1.MsgCancelRentalOffer.fromAmino
|
|
410
|
+
},
|
|
411
|
+
"/sparkdream.artifact.v1.MsgAcceptRental": {
|
|
412
|
+
aminoType: "sparkdream/x/artifact/MsgAcceptRental",
|
|
413
|
+
toAmino: tx_1.MsgAcceptRental.toAmino,
|
|
414
|
+
fromAmino: tx_1.MsgAcceptRental.fromAmino
|
|
415
|
+
},
|
|
416
|
+
"/sparkdream.artifact.v1.MsgEndRental": {
|
|
417
|
+
aminoType: "sparkdream/x/artifact/MsgEndRental",
|
|
418
|
+
toAmino: tx_1.MsgEndRental.toAmino,
|
|
419
|
+
fromAmino: tx_1.MsgEndRental.fromAmino
|
|
420
|
+
},
|
|
421
|
+
"/sparkdream.artifact.v1.MsgNest": {
|
|
422
|
+
aminoType: "sparkdream/x/artifact/MsgNest",
|
|
423
|
+
toAmino: tx_1.MsgNest.toAmino,
|
|
424
|
+
fromAmino: tx_1.MsgNest.fromAmino
|
|
425
|
+
},
|
|
426
|
+
"/sparkdream.artifact.v1.MsgDetach": {
|
|
427
|
+
aminoType: "sparkdream/x/artifact/MsgDetach",
|
|
428
|
+
toAmino: tx_1.MsgDetach.toAmino,
|
|
429
|
+
fromAmino: tx_1.MsgDetach.fromAmino
|
|
430
|
+
},
|
|
431
|
+
"/sparkdream.artifact.v1.MsgSetHarbergerPrice": {
|
|
432
|
+
aminoType: "sparkdream/x/artifact/MsgSetHarbergerPrice",
|
|
433
|
+
toAmino: tx_1.MsgSetHarbergerPrice.toAmino,
|
|
434
|
+
fromAmino: tx_1.MsgSetHarbergerPrice.fromAmino
|
|
435
|
+
},
|
|
436
|
+
"/sparkdream.artifact.v1.MsgForceBuy": {
|
|
437
|
+
aminoType: "sparkdream/x/artifact/MsgForceBuy",
|
|
438
|
+
toAmino: tx_1.MsgForceBuy.toAmino,
|
|
439
|
+
fromAmino: tx_1.MsgForceBuy.fromAmino
|
|
440
|
+
},
|
|
441
|
+
"/sparkdream.artifact.v1.MsgUpdateUnitListing": {
|
|
442
|
+
aminoType: "sparkdream/x/artifact/MsgUpdateUnitListing",
|
|
443
|
+
toAmino: tx_1.MsgUpdateUnitListing.toAmino,
|
|
444
|
+
fromAmino: tx_1.MsgUpdateUnitListing.fromAmino
|
|
445
|
+
},
|
|
446
|
+
"/sparkdream.artifact.v1.MsgMakeOffer": {
|
|
447
|
+
aminoType: "sparkdream/x/artifact/MsgMakeOffer",
|
|
448
|
+
toAmino: tx_1.MsgMakeOffer.toAmino,
|
|
449
|
+
fromAmino: tx_1.MsgMakeOffer.fromAmino
|
|
450
|
+
},
|
|
451
|
+
"/sparkdream.artifact.v1.MsgCancelOffer": {
|
|
452
|
+
aminoType: "sparkdream/x/artifact/MsgCancelOffer",
|
|
453
|
+
toAmino: tx_1.MsgCancelOffer.toAmino,
|
|
454
|
+
fromAmino: tx_1.MsgCancelOffer.fromAmino
|
|
455
|
+
},
|
|
456
|
+
"/sparkdream.artifact.v1.MsgAcceptOffer": {
|
|
457
|
+
aminoType: "sparkdream/x/artifact/MsgAcceptOffer",
|
|
458
|
+
toAmino: tx_1.MsgAcceptOffer.toAmino,
|
|
459
|
+
fromAmino: tx_1.MsgAcceptOffer.fromAmino
|
|
460
|
+
},
|
|
461
|
+
"/sparkdream.artifact.v1.MsgStartAuction": {
|
|
462
|
+
aminoType: "sparkdream/x/artifact/MsgStartAuction",
|
|
463
|
+
toAmino: tx_1.MsgStartAuction.toAmino,
|
|
464
|
+
fromAmino: tx_1.MsgStartAuction.fromAmino
|
|
465
|
+
},
|
|
466
|
+
"/sparkdream.artifact.v1.MsgBid": {
|
|
467
|
+
aminoType: "sparkdream/x/artifact/MsgBid",
|
|
468
|
+
toAmino: tx_1.MsgBid.toAmino,
|
|
469
|
+
fromAmino: tx_1.MsgBid.fromAmino
|
|
470
|
+
},
|
|
471
|
+
"/sparkdream.artifact.v1.MsgSettleAuction": {
|
|
472
|
+
aminoType: "sparkdream/x/artifact/MsgSettleAuction",
|
|
473
|
+
toAmino: tx_1.MsgSettleAuction.toAmino,
|
|
474
|
+
fromAmino: tx_1.MsgSettleAuction.fromAmino
|
|
475
|
+
},
|
|
476
|
+
"/sparkdream.artifact.v1.MsgCancelAuction": {
|
|
477
|
+
aminoType: "sparkdream/x/artifact/MsgCancelAuction",
|
|
478
|
+
toAmino: tx_1.MsgCancelAuction.toAmino,
|
|
479
|
+
fromAmino: tx_1.MsgCancelAuction.fromAmino
|
|
161
480
|
}
|
|
162
481
|
};
|