@sparkdreamnft/sparkdreamjs 0.0.43 → 0.0.45
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/sparkdream/artifact/module/v1/module.js +71 -0
- package/esm/sparkdream/artifact/v1/genesis.js +279 -0
- package/esm/sparkdream/artifact/v1/params.js +645 -0
- package/esm/sparkdream/artifact/v1/query.js +3415 -0
- package/esm/sparkdream/artifact/v1/query.lcd.js +159 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +188 -0
- package/esm/sparkdream/artifact/v1/tx.amino.js +159 -0
- package/esm/sparkdream/artifact/v1/tx.js +5751 -0
- package/esm/sparkdream/artifact/v1/tx.registry.js +573 -0
- package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +199 -0
- package/esm/sparkdream/artifact/v1/types.js +2603 -0
- package/esm/sparkdream/blog/v1/params.js +37 -1
- package/esm/sparkdream/blog/v1/post.js +38 -1
- package/esm/sparkdream/blog/v1/query.js +351 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +12 -0
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/blog/v1/types.js +38 -1
- package/esm/sparkdream/bundle.js +521 -483
- package/esm/sparkdream/client.js +4 -1
- package/esm/sparkdream/collect/v1/params.js +102 -126
- package/esm/sparkdream/collect/v1/types.js +207 -123
- package/esm/sparkdream/common/v1/media_flag.js +63 -0
- package/esm/sparkdream/common/v1/moderation_reason.js +1 -1
- package/esm/sparkdream/commons/v1/query.js +27 -3
- package/esm/sparkdream/federation/v1/packet.js +13 -1
- package/esm/sparkdream/federation/v1/query.js +163 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +7 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/federation/v1/tx.js +13 -1
- package/esm/sparkdream/federation/v1/types.js +37 -1
- package/esm/sparkdream/forum/v1/params.js +37 -1
- package/esm/sparkdream/forum/v1/post.js +38 -1
- package/esm/sparkdream/forum/v1/query.js +176 -0
- package/esm/sparkdream/forum/v1/query.lcd.js +7 -0
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/name/v1/genesis.js +32 -2
- package/esm/sparkdream/rep/v1/accountability.js +22 -0
- package/esm/sparkdream/rep/v1/genesis.js +18 -2
- package/esm/sparkdream/rep/v1/initiative_bounty.js +200 -0
- package/esm/sparkdream/rep/v1/member.js +97 -35
- package/esm/sparkdream/rep/v1/params.js +198 -66
- package/esm/sparkdream/rep/v1/query.js +530 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +23 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +26 -1
- package/esm/sparkdream/rep/v1/tx.js +499 -7
- package/esm/sparkdream/rep/v1/tx.registry.js +56 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +21 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.js +33 -2
- package/esm/sparkdream/service/v1/checkpoint.js +125 -0
- package/esm/sparkdream/service/v1/genesis.js +17 -1
- package/esm/sparkdream/service/v1/operator.js +25 -1
- package/esm/sparkdream/service/v1/query.js +317 -0
- package/esm/sparkdream/service/v1/query.lcd.js +18 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/service/v1/service_type_config.js +37 -1
- package/esm/sparkdream/service/v1/tx.amino.js +11 -1
- package/esm/sparkdream/service/v1/tx.js +332 -0
- package/esm/sparkdream/service/v1/tx.registry.js +38 -2
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +20 -1
- package/esm/sparkdream/session/v1/grant.js +98 -6
- package/esm/sparkdream/session/v1/tx.amino.js +3 -0
- package/esm/sparkdream/session/v1/tx.js +15 -3
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/esm/sparkdream/shield/v1/genesis.js +32 -2
- package/esm/sparkdream/shield/v1/params.js +25 -1
- package/esm/sparkdream/shield/v1/query.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +480 -16
- package/esm/sparkdream/sparkdream/v1/query.js +176 -0
- package/esm/sparkdream/sparkdream/v1/query.lcd.js +9 -0
- package/esm/sparkdream/sparkdream/v1/query.rpc.Query.js +14 -1
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/artifact/module/v1/module.d.ts +54 -0
- package/sparkdream/artifact/module/v1/module.js +74 -0
- package/sparkdream/artifact/v1/genesis.d.ts +88 -0
- package/sparkdream/artifact/v1/genesis.js +282 -0
- package/sparkdream/artifact/v1/params.d.ts +251 -0
- package/sparkdream/artifact/v1/params.js +648 -0
- package/sparkdream/artifact/v1/query.d.ts +1986 -0
- package/sparkdream/artifact/v1/query.js +3418 -0
- package/sparkdream/artifact/v1/query.lcd.d.ts +27 -0
- package/sparkdream/artifact/v1/query.lcd.js +163 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +88 -0
- package/sparkdream/artifact/v1/query.rpc.Query.js +193 -0
- package/sparkdream/artifact/v1/tx.amino.d.ts +158 -0
- package/sparkdream/artifact/v1/tx.amino.js +162 -0
- package/sparkdream/artifact/v1/tx.d.ts +3268 -0
- package/sparkdream/artifact/v1/tx.js +5755 -0
- package/sparkdream/artifact/v1/tx.registry.d.ts +385 -0
- package/sparkdream/artifact/v1/tx.registry.js +577 -0
- package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +109 -0
- package/sparkdream/artifact/v1/tx.rpc.msg.js +204 -0
- package/sparkdream/artifact/v1/types.d.ts +1157 -0
- package/sparkdream/artifact/v1/types.js +2620 -0
- package/sparkdream/blog/v1/params.d.ts +46 -0
- package/sparkdream/blog/v1/params.js +37 -1
- package/sparkdream/blog/v1/post.d.ts +24 -0
- package/sparkdream/blog/v1/post.js +38 -1
- package/sparkdream/blog/v1/query.d.ts +195 -0
- package/sparkdream/blog/v1/query.js +352 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +3 -1
- package/sparkdream/blog/v1/query.lcd.js +12 -0
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +13 -1
- package/sparkdream/blog/v1/query.rpc.Query.js +20 -0
- package/sparkdream/blog/v1/types.d.ts +24 -0
- package/sparkdream/blog/v1/types.js +38 -1
- package/sparkdream/bundle.d.ts +20666 -17863
- package/sparkdream/bundle.js +521 -483
- package/sparkdream/client.d.ts +165 -0
- package/sparkdream/client.js +4 -1
- package/sparkdream/collect/v1/params.d.ts +0 -4
- package/sparkdream/collect/v1/params.js +102 -126
- package/sparkdream/collect/v1/types.d.ts +80 -4
- package/sparkdream/collect/v1/types.js +207 -123
- package/sparkdream/common/v1/media_flag.d.ts +23 -0
- package/sparkdream/common/v1/media_flag.js +68 -0
- package/sparkdream/common/v1/moderation_reason.d.ts +1 -1
- package/sparkdream/common/v1/moderation_reason.js +1 -1
- package/sparkdream/commons/v1/query.d.ts +19 -1
- package/sparkdream/commons/v1/query.js +26 -2
- package/sparkdream/federation/v1/packet.d.ts +14 -0
- package/sparkdream/federation/v1/packet.js +13 -1
- package/sparkdream/federation/v1/query.d.ts +92 -0
- package/sparkdream/federation/v1/query.js +164 -1
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
- package/sparkdream/federation/v1/query.lcd.js +7 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/federation/v1/query.rpc.Query.js +11 -0
- package/sparkdream/federation/v1/tx.d.ts +18 -0
- package/sparkdream/federation/v1/tx.js +13 -1
- package/sparkdream/federation/v1/types.d.ts +34 -0
- package/sparkdream/federation/v1/types.js +37 -1
- package/sparkdream/forum/v1/params.d.ts +46 -0
- package/sparkdream/forum/v1/params.js +37 -1
- package/sparkdream/forum/v1/post.d.ts +30 -0
- package/sparkdream/forum/v1/post.js +38 -1
- package/sparkdream/forum/v1/query.d.ts +98 -0
- package/sparkdream/forum/v1/query.js +177 -1
- package/sparkdream/forum/v1/query.lcd.d.ts +2 -1
- package/sparkdream/forum/v1/query.lcd.js +7 -0
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/forum/v1/query.rpc.Query.js +11 -0
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/name/v1/genesis.d.ts +23 -1
- package/sparkdream/name/v1/genesis.js +31 -1
- package/sparkdream/rep/v1/accountability.d.ts +12 -0
- package/sparkdream/rep/v1/accountability.js +22 -0
- package/sparkdream/rep/v1/genesis.d.ts +18 -7
- package/sparkdream/rep/v1/genesis.js +18 -2
- package/sparkdream/rep/v1/initiative_bounty.d.ts +143 -0
- package/sparkdream/rep/v1/initiative_bounty.js +203 -0
- package/sparkdream/rep/v1/member.d.ts +82 -28
- package/sparkdream/rep/v1/member.js +97 -35
- package/sparkdream/rep/v1/params.d.ts +144 -28
- package/sparkdream/rep/v1/params.js +198 -66
- package/sparkdream/rep/v1/query.d.ts +315 -10
- package/sparkdream/rep/v1/query.js +531 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +3 -1
- package/sparkdream/rep/v1/query.lcd.js +23 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +18 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +25 -0
- package/sparkdream/rep/v1/tx.d.ts +338 -1
- package/sparkdream/rep/v1/tx.js +500 -8
- package/sparkdream/rep/v1/tx.registry.d.ts +37 -1
- package/sparkdream/rep/v1/tx.registry.js +55 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +14 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +20 -0
- package/sparkdream/rpc.query.d.ts +32 -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.d.ts +19 -0
- package/sparkdream/season/v1/tx.js +33 -2
- package/sparkdream/service/v1/checkpoint.d.ts +93 -0
- package/sparkdream/service/v1/checkpoint.js +128 -0
- package/sparkdream/service/v1/genesis.d.ts +15 -0
- package/sparkdream/service/v1/genesis.js +17 -1
- package/sparkdream/service/v1/operator.d.ts +30 -0
- package/sparkdream/service/v1/operator.js +25 -1
- package/sparkdream/service/v1/query.d.ts +186 -0
- package/sparkdream/service/v1/query.js +318 -1
- package/sparkdream/service/v1/query.lcd.d.ts +3 -1
- package/sparkdream/service/v1/query.lcd.js +18 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +13 -1
- package/sparkdream/service/v1/query.rpc.Query.js +20 -0
- package/sparkdream/service/v1/service_type_config.d.ts +48 -0
- package/sparkdream/service/v1/service_type_config.js +37 -1
- package/sparkdream/service/v1/tx.amino.d.ts +11 -1
- package/sparkdream/service/v1/tx.amino.js +10 -0
- package/sparkdream/service/v1/tx.d.ts +216 -0
- package/sparkdream/service/v1/tx.js +333 -1
- package/sparkdream/service/v1/tx.registry.d.ts +25 -1
- package/sparkdream/service/v1/tx.registry.js +37 -1
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +18 -1
- package/sparkdream/service/v1/tx.rpc.msg.js +19 -0
- package/sparkdream/session/v1/grant.d.ts +75 -7
- package/sparkdream/session/v1/grant.js +99 -7
- package/sparkdream/session/v1/tx.amino.js +3 -0
- package/sparkdream/session/v1/tx.d.ts +6 -4
- package/sparkdream/session/v1/tx.js +14 -2
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +2 -2
- package/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/sparkdream/shield/v1/genesis.d.ts +17 -1
- package/sparkdream/shield/v1/genesis.js +31 -1
- package/sparkdream/shield/v1/params.d.ts +32 -4
- package/sparkdream/shield/v1/params.js +25 -1
- package/sparkdream/shield/v1/query.d.ts +8 -0
- package/sparkdream/shield/v1/query.js +13 -1
- package/sparkdream/shield/v1/tx.d.ts +36 -10
- package/sparkdream/shield/v1/types.d.ts +337 -13
- package/sparkdream/shield/v1/types.js +483 -17
- package/sparkdream/sparkdream/v1/query.d.ts +132 -0
- package/sparkdream/sparkdream/v1/query.js +177 -1
- package/sparkdream/sparkdream/v1/query.lcd.d.ts +2 -1
- package/sparkdream/sparkdream/v1/query.lcd.js +9 -0
- package/sparkdream/sparkdream/v1/query.rpc.Query.d.ts +11 -1
- package/sparkdream/sparkdream/v1/query.rpc.Query.js +13 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
|
+
const tx_1 = require("./tx");
|
|
5
|
+
exports.registry = [["/sparkdream.artifact.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.artifact.v1.MsgCreateClass", tx_1.MsgCreateClass], ["/sparkdream.artifact.v1.MsgUpdateClass", tx_1.MsgUpdateClass], ["/sparkdream.artifact.v1.MsgFreezeClassMetadata", tx_1.MsgFreezeClassMetadata], ["/sparkdream.artifact.v1.MsgSetMintPolicy", tx_1.MsgSetMintPolicy], ["/sparkdream.artifact.v1.MsgSetMinters", tx_1.MsgSetMinters], ["/sparkdream.artifact.v1.MsgSetMaxSupply", tx_1.MsgSetMaxSupply], ["/sparkdream.artifact.v1.MsgCloseMinting", tx_1.MsgCloseMinting], ["/sparkdream.artifact.v1.MsgProposeClassOwner", tx_1.MsgProposeClassOwner], ["/sparkdream.artifact.v1.MsgAcceptClassOwner", tx_1.MsgAcceptClassOwner], ["/sparkdream.artifact.v1.MsgCancelClassOwner", tx_1.MsgCancelClassOwner], ["/sparkdream.artifact.v1.MsgDeleteClass", tx_1.MsgDeleteClass], ["/sparkdream.artifact.v1.MsgMint", tx_1.MsgMint], ["/sparkdream.artifact.v1.MsgPublicMint", tx_1.MsgPublicMint], ["/sparkdream.artifact.v1.MsgTransfer", tx_1.MsgTransfer], ["/sparkdream.artifact.v1.MsgAcceptIncoming", tx_1.MsgAcceptIncoming], ["/sparkdream.artifact.v1.MsgRejectIncoming", tx_1.MsgRejectIncoming], ["/sparkdream.artifact.v1.MsgCancelOutgoing", tx_1.MsgCancelOutgoing], ["/sparkdream.artifact.v1.MsgSetReceivePolicy", tx_1.MsgSetReceivePolicy], ["/sparkdream.artifact.v1.MsgBurn", tx_1.MsgBurn], ["/sparkdream.artifact.v1.MsgRevoke", tx_1.MsgRevoke], ["/sparkdream.artifact.v1.MsgUpdateToken", tx_1.MsgUpdateToken], ["/sparkdream.artifact.v1.MsgFreezeTokenMetadata", tx_1.MsgFreezeTokenMetadata], ["/sparkdream.artifact.v1.MsgList", tx_1.MsgList], ["/sparkdream.artifact.v1.MsgUpdateListing", tx_1.MsgUpdateListing], ["/sparkdream.artifact.v1.MsgDelist", tx_1.MsgDelist], ["/sparkdream.artifact.v1.MsgBuy", tx_1.MsgBuy], ["/sparkdream.artifact.v1.MsgHideContent", tx_1.MsgHideContent], ["/sparkdream.artifact.v1.MsgUnhideContent", tx_1.MsgUnhideContent], ["/sparkdream.artifact.v1.MsgAppealHide", tx_1.MsgAppealHide], ["/sparkdream.artifact.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
updateParams(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateParams",
|
|
17
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
createClass(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCreateClass",
|
|
23
|
+
value: tx_1.MsgCreateClass.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
updateClass(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateClass",
|
|
29
|
+
value: tx_1.MsgUpdateClass.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
freezeClassMetadata(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/sparkdream.artifact.v1.MsgFreezeClassMetadata",
|
|
35
|
+
value: tx_1.MsgFreezeClassMetadata.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
setMintPolicy(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMintPolicy",
|
|
41
|
+
value: tx_1.MsgSetMintPolicy.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
setMinters(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMinters",
|
|
47
|
+
value: tx_1.MsgSetMinters.encode(value).finish()
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
setMaxSupply(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMaxSupply",
|
|
53
|
+
value: tx_1.MsgSetMaxSupply.encode(value).finish()
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
closeMinting(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCloseMinting",
|
|
59
|
+
value: tx_1.MsgCloseMinting.encode(value).finish()
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
proposeClassOwner(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/sparkdream.artifact.v1.MsgProposeClassOwner",
|
|
65
|
+
value: tx_1.MsgProposeClassOwner.encode(value).finish()
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
acceptClassOwner(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAcceptClassOwner",
|
|
71
|
+
value: tx_1.MsgAcceptClassOwner.encode(value).finish()
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
cancelClassOwner(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCancelClassOwner",
|
|
77
|
+
value: tx_1.MsgCancelClassOwner.encode(value).finish()
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
deleteClass(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/sparkdream.artifact.v1.MsgDeleteClass",
|
|
83
|
+
value: tx_1.MsgDeleteClass.encode(value).finish()
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
mint(value) {
|
|
87
|
+
return {
|
|
88
|
+
typeUrl: "/sparkdream.artifact.v1.MsgMint",
|
|
89
|
+
value: tx_1.MsgMint.encode(value).finish()
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
publicMint(value) {
|
|
93
|
+
return {
|
|
94
|
+
typeUrl: "/sparkdream.artifact.v1.MsgPublicMint",
|
|
95
|
+
value: tx_1.MsgPublicMint.encode(value).finish()
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
transfer(value) {
|
|
99
|
+
return {
|
|
100
|
+
typeUrl: "/sparkdream.artifact.v1.MsgTransfer",
|
|
101
|
+
value: tx_1.MsgTransfer.encode(value).finish()
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
acceptIncoming(value) {
|
|
105
|
+
return {
|
|
106
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAcceptIncoming",
|
|
107
|
+
value: tx_1.MsgAcceptIncoming.encode(value).finish()
|
|
108
|
+
};
|
|
109
|
+
},
|
|
110
|
+
rejectIncoming(value) {
|
|
111
|
+
return {
|
|
112
|
+
typeUrl: "/sparkdream.artifact.v1.MsgRejectIncoming",
|
|
113
|
+
value: tx_1.MsgRejectIncoming.encode(value).finish()
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
cancelOutgoing(value) {
|
|
117
|
+
return {
|
|
118
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCancelOutgoing",
|
|
119
|
+
value: tx_1.MsgCancelOutgoing.encode(value).finish()
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
setReceivePolicy(value) {
|
|
123
|
+
return {
|
|
124
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetReceivePolicy",
|
|
125
|
+
value: tx_1.MsgSetReceivePolicy.encode(value).finish()
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
burn(value) {
|
|
129
|
+
return {
|
|
130
|
+
typeUrl: "/sparkdream.artifact.v1.MsgBurn",
|
|
131
|
+
value: tx_1.MsgBurn.encode(value).finish()
|
|
132
|
+
};
|
|
133
|
+
},
|
|
134
|
+
revoke(value) {
|
|
135
|
+
return {
|
|
136
|
+
typeUrl: "/sparkdream.artifact.v1.MsgRevoke",
|
|
137
|
+
value: tx_1.MsgRevoke.encode(value).finish()
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
updateToken(value) {
|
|
141
|
+
return {
|
|
142
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateToken",
|
|
143
|
+
value: tx_1.MsgUpdateToken.encode(value).finish()
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
freezeTokenMetadata(value) {
|
|
147
|
+
return {
|
|
148
|
+
typeUrl: "/sparkdream.artifact.v1.MsgFreezeTokenMetadata",
|
|
149
|
+
value: tx_1.MsgFreezeTokenMetadata.encode(value).finish()
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
list(value) {
|
|
153
|
+
return {
|
|
154
|
+
typeUrl: "/sparkdream.artifact.v1.MsgList",
|
|
155
|
+
value: tx_1.MsgList.encode(value).finish()
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
updateListing(value) {
|
|
159
|
+
return {
|
|
160
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateListing",
|
|
161
|
+
value: tx_1.MsgUpdateListing.encode(value).finish()
|
|
162
|
+
};
|
|
163
|
+
},
|
|
164
|
+
delist(value) {
|
|
165
|
+
return {
|
|
166
|
+
typeUrl: "/sparkdream.artifact.v1.MsgDelist",
|
|
167
|
+
value: tx_1.MsgDelist.encode(value).finish()
|
|
168
|
+
};
|
|
169
|
+
},
|
|
170
|
+
buy(value) {
|
|
171
|
+
return {
|
|
172
|
+
typeUrl: "/sparkdream.artifact.v1.MsgBuy",
|
|
173
|
+
value: tx_1.MsgBuy.encode(value).finish()
|
|
174
|
+
};
|
|
175
|
+
},
|
|
176
|
+
hideContent(value) {
|
|
177
|
+
return {
|
|
178
|
+
typeUrl: "/sparkdream.artifact.v1.MsgHideContent",
|
|
179
|
+
value: tx_1.MsgHideContent.encode(value).finish()
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
unhideContent(value) {
|
|
183
|
+
return {
|
|
184
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUnhideContent",
|
|
185
|
+
value: tx_1.MsgUnhideContent.encode(value).finish()
|
|
186
|
+
};
|
|
187
|
+
},
|
|
188
|
+
appealHide(value) {
|
|
189
|
+
return {
|
|
190
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAppealHide",
|
|
191
|
+
value: tx_1.MsgAppealHide.encode(value).finish()
|
|
192
|
+
};
|
|
193
|
+
},
|
|
194
|
+
updateOperationalParams(value) {
|
|
195
|
+
return {
|
|
196
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateOperationalParams",
|
|
197
|
+
value: tx_1.MsgUpdateOperationalParams.encode(value).finish()
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
withTypeUrl: {
|
|
202
|
+
updateParams(value) {
|
|
203
|
+
return {
|
|
204
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateParams",
|
|
205
|
+
value
|
|
206
|
+
};
|
|
207
|
+
},
|
|
208
|
+
createClass(value) {
|
|
209
|
+
return {
|
|
210
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCreateClass",
|
|
211
|
+
value
|
|
212
|
+
};
|
|
213
|
+
},
|
|
214
|
+
updateClass(value) {
|
|
215
|
+
return {
|
|
216
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateClass",
|
|
217
|
+
value
|
|
218
|
+
};
|
|
219
|
+
},
|
|
220
|
+
freezeClassMetadata(value) {
|
|
221
|
+
return {
|
|
222
|
+
typeUrl: "/sparkdream.artifact.v1.MsgFreezeClassMetadata",
|
|
223
|
+
value
|
|
224
|
+
};
|
|
225
|
+
},
|
|
226
|
+
setMintPolicy(value) {
|
|
227
|
+
return {
|
|
228
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMintPolicy",
|
|
229
|
+
value
|
|
230
|
+
};
|
|
231
|
+
},
|
|
232
|
+
setMinters(value) {
|
|
233
|
+
return {
|
|
234
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMinters",
|
|
235
|
+
value
|
|
236
|
+
};
|
|
237
|
+
},
|
|
238
|
+
setMaxSupply(value) {
|
|
239
|
+
return {
|
|
240
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMaxSupply",
|
|
241
|
+
value
|
|
242
|
+
};
|
|
243
|
+
},
|
|
244
|
+
closeMinting(value) {
|
|
245
|
+
return {
|
|
246
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCloseMinting",
|
|
247
|
+
value
|
|
248
|
+
};
|
|
249
|
+
},
|
|
250
|
+
proposeClassOwner(value) {
|
|
251
|
+
return {
|
|
252
|
+
typeUrl: "/sparkdream.artifact.v1.MsgProposeClassOwner",
|
|
253
|
+
value
|
|
254
|
+
};
|
|
255
|
+
},
|
|
256
|
+
acceptClassOwner(value) {
|
|
257
|
+
return {
|
|
258
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAcceptClassOwner",
|
|
259
|
+
value
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
cancelClassOwner(value) {
|
|
263
|
+
return {
|
|
264
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCancelClassOwner",
|
|
265
|
+
value
|
|
266
|
+
};
|
|
267
|
+
},
|
|
268
|
+
deleteClass(value) {
|
|
269
|
+
return {
|
|
270
|
+
typeUrl: "/sparkdream.artifact.v1.MsgDeleteClass",
|
|
271
|
+
value
|
|
272
|
+
};
|
|
273
|
+
},
|
|
274
|
+
mint(value) {
|
|
275
|
+
return {
|
|
276
|
+
typeUrl: "/sparkdream.artifact.v1.MsgMint",
|
|
277
|
+
value
|
|
278
|
+
};
|
|
279
|
+
},
|
|
280
|
+
publicMint(value) {
|
|
281
|
+
return {
|
|
282
|
+
typeUrl: "/sparkdream.artifact.v1.MsgPublicMint",
|
|
283
|
+
value
|
|
284
|
+
};
|
|
285
|
+
},
|
|
286
|
+
transfer(value) {
|
|
287
|
+
return {
|
|
288
|
+
typeUrl: "/sparkdream.artifact.v1.MsgTransfer",
|
|
289
|
+
value
|
|
290
|
+
};
|
|
291
|
+
},
|
|
292
|
+
acceptIncoming(value) {
|
|
293
|
+
return {
|
|
294
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAcceptIncoming",
|
|
295
|
+
value
|
|
296
|
+
};
|
|
297
|
+
},
|
|
298
|
+
rejectIncoming(value) {
|
|
299
|
+
return {
|
|
300
|
+
typeUrl: "/sparkdream.artifact.v1.MsgRejectIncoming",
|
|
301
|
+
value
|
|
302
|
+
};
|
|
303
|
+
},
|
|
304
|
+
cancelOutgoing(value) {
|
|
305
|
+
return {
|
|
306
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCancelOutgoing",
|
|
307
|
+
value
|
|
308
|
+
};
|
|
309
|
+
},
|
|
310
|
+
setReceivePolicy(value) {
|
|
311
|
+
return {
|
|
312
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetReceivePolicy",
|
|
313
|
+
value
|
|
314
|
+
};
|
|
315
|
+
},
|
|
316
|
+
burn(value) {
|
|
317
|
+
return {
|
|
318
|
+
typeUrl: "/sparkdream.artifact.v1.MsgBurn",
|
|
319
|
+
value
|
|
320
|
+
};
|
|
321
|
+
},
|
|
322
|
+
revoke(value) {
|
|
323
|
+
return {
|
|
324
|
+
typeUrl: "/sparkdream.artifact.v1.MsgRevoke",
|
|
325
|
+
value
|
|
326
|
+
};
|
|
327
|
+
},
|
|
328
|
+
updateToken(value) {
|
|
329
|
+
return {
|
|
330
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateToken",
|
|
331
|
+
value
|
|
332
|
+
};
|
|
333
|
+
},
|
|
334
|
+
freezeTokenMetadata(value) {
|
|
335
|
+
return {
|
|
336
|
+
typeUrl: "/sparkdream.artifact.v1.MsgFreezeTokenMetadata",
|
|
337
|
+
value
|
|
338
|
+
};
|
|
339
|
+
},
|
|
340
|
+
list(value) {
|
|
341
|
+
return {
|
|
342
|
+
typeUrl: "/sparkdream.artifact.v1.MsgList",
|
|
343
|
+
value
|
|
344
|
+
};
|
|
345
|
+
},
|
|
346
|
+
updateListing(value) {
|
|
347
|
+
return {
|
|
348
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateListing",
|
|
349
|
+
value
|
|
350
|
+
};
|
|
351
|
+
},
|
|
352
|
+
delist(value) {
|
|
353
|
+
return {
|
|
354
|
+
typeUrl: "/sparkdream.artifact.v1.MsgDelist",
|
|
355
|
+
value
|
|
356
|
+
};
|
|
357
|
+
},
|
|
358
|
+
buy(value) {
|
|
359
|
+
return {
|
|
360
|
+
typeUrl: "/sparkdream.artifact.v1.MsgBuy",
|
|
361
|
+
value
|
|
362
|
+
};
|
|
363
|
+
},
|
|
364
|
+
hideContent(value) {
|
|
365
|
+
return {
|
|
366
|
+
typeUrl: "/sparkdream.artifact.v1.MsgHideContent",
|
|
367
|
+
value
|
|
368
|
+
};
|
|
369
|
+
},
|
|
370
|
+
unhideContent(value) {
|
|
371
|
+
return {
|
|
372
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUnhideContent",
|
|
373
|
+
value
|
|
374
|
+
};
|
|
375
|
+
},
|
|
376
|
+
appealHide(value) {
|
|
377
|
+
return {
|
|
378
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAppealHide",
|
|
379
|
+
value
|
|
380
|
+
};
|
|
381
|
+
},
|
|
382
|
+
updateOperationalParams(value) {
|
|
383
|
+
return {
|
|
384
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateOperationalParams",
|
|
385
|
+
value
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
fromPartial: {
|
|
390
|
+
updateParams(value) {
|
|
391
|
+
return {
|
|
392
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateParams",
|
|
393
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
394
|
+
};
|
|
395
|
+
},
|
|
396
|
+
createClass(value) {
|
|
397
|
+
return {
|
|
398
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCreateClass",
|
|
399
|
+
value: tx_1.MsgCreateClass.fromPartial(value)
|
|
400
|
+
};
|
|
401
|
+
},
|
|
402
|
+
updateClass(value) {
|
|
403
|
+
return {
|
|
404
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateClass",
|
|
405
|
+
value: tx_1.MsgUpdateClass.fromPartial(value)
|
|
406
|
+
};
|
|
407
|
+
},
|
|
408
|
+
freezeClassMetadata(value) {
|
|
409
|
+
return {
|
|
410
|
+
typeUrl: "/sparkdream.artifact.v1.MsgFreezeClassMetadata",
|
|
411
|
+
value: tx_1.MsgFreezeClassMetadata.fromPartial(value)
|
|
412
|
+
};
|
|
413
|
+
},
|
|
414
|
+
setMintPolicy(value) {
|
|
415
|
+
return {
|
|
416
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMintPolicy",
|
|
417
|
+
value: tx_1.MsgSetMintPolicy.fromPartial(value)
|
|
418
|
+
};
|
|
419
|
+
},
|
|
420
|
+
setMinters(value) {
|
|
421
|
+
return {
|
|
422
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMinters",
|
|
423
|
+
value: tx_1.MsgSetMinters.fromPartial(value)
|
|
424
|
+
};
|
|
425
|
+
},
|
|
426
|
+
setMaxSupply(value) {
|
|
427
|
+
return {
|
|
428
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetMaxSupply",
|
|
429
|
+
value: tx_1.MsgSetMaxSupply.fromPartial(value)
|
|
430
|
+
};
|
|
431
|
+
},
|
|
432
|
+
closeMinting(value) {
|
|
433
|
+
return {
|
|
434
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCloseMinting",
|
|
435
|
+
value: tx_1.MsgCloseMinting.fromPartial(value)
|
|
436
|
+
};
|
|
437
|
+
},
|
|
438
|
+
proposeClassOwner(value) {
|
|
439
|
+
return {
|
|
440
|
+
typeUrl: "/sparkdream.artifact.v1.MsgProposeClassOwner",
|
|
441
|
+
value: tx_1.MsgProposeClassOwner.fromPartial(value)
|
|
442
|
+
};
|
|
443
|
+
},
|
|
444
|
+
acceptClassOwner(value) {
|
|
445
|
+
return {
|
|
446
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAcceptClassOwner",
|
|
447
|
+
value: tx_1.MsgAcceptClassOwner.fromPartial(value)
|
|
448
|
+
};
|
|
449
|
+
},
|
|
450
|
+
cancelClassOwner(value) {
|
|
451
|
+
return {
|
|
452
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCancelClassOwner",
|
|
453
|
+
value: tx_1.MsgCancelClassOwner.fromPartial(value)
|
|
454
|
+
};
|
|
455
|
+
},
|
|
456
|
+
deleteClass(value) {
|
|
457
|
+
return {
|
|
458
|
+
typeUrl: "/sparkdream.artifact.v1.MsgDeleteClass",
|
|
459
|
+
value: tx_1.MsgDeleteClass.fromPartial(value)
|
|
460
|
+
};
|
|
461
|
+
},
|
|
462
|
+
mint(value) {
|
|
463
|
+
return {
|
|
464
|
+
typeUrl: "/sparkdream.artifact.v1.MsgMint",
|
|
465
|
+
value: tx_1.MsgMint.fromPartial(value)
|
|
466
|
+
};
|
|
467
|
+
},
|
|
468
|
+
publicMint(value) {
|
|
469
|
+
return {
|
|
470
|
+
typeUrl: "/sparkdream.artifact.v1.MsgPublicMint",
|
|
471
|
+
value: tx_1.MsgPublicMint.fromPartial(value)
|
|
472
|
+
};
|
|
473
|
+
},
|
|
474
|
+
transfer(value) {
|
|
475
|
+
return {
|
|
476
|
+
typeUrl: "/sparkdream.artifact.v1.MsgTransfer",
|
|
477
|
+
value: tx_1.MsgTransfer.fromPartial(value)
|
|
478
|
+
};
|
|
479
|
+
},
|
|
480
|
+
acceptIncoming(value) {
|
|
481
|
+
return {
|
|
482
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAcceptIncoming",
|
|
483
|
+
value: tx_1.MsgAcceptIncoming.fromPartial(value)
|
|
484
|
+
};
|
|
485
|
+
},
|
|
486
|
+
rejectIncoming(value) {
|
|
487
|
+
return {
|
|
488
|
+
typeUrl: "/sparkdream.artifact.v1.MsgRejectIncoming",
|
|
489
|
+
value: tx_1.MsgRejectIncoming.fromPartial(value)
|
|
490
|
+
};
|
|
491
|
+
},
|
|
492
|
+
cancelOutgoing(value) {
|
|
493
|
+
return {
|
|
494
|
+
typeUrl: "/sparkdream.artifact.v1.MsgCancelOutgoing",
|
|
495
|
+
value: tx_1.MsgCancelOutgoing.fromPartial(value)
|
|
496
|
+
};
|
|
497
|
+
},
|
|
498
|
+
setReceivePolicy(value) {
|
|
499
|
+
return {
|
|
500
|
+
typeUrl: "/sparkdream.artifact.v1.MsgSetReceivePolicy",
|
|
501
|
+
value: tx_1.MsgSetReceivePolicy.fromPartial(value)
|
|
502
|
+
};
|
|
503
|
+
},
|
|
504
|
+
burn(value) {
|
|
505
|
+
return {
|
|
506
|
+
typeUrl: "/sparkdream.artifact.v1.MsgBurn",
|
|
507
|
+
value: tx_1.MsgBurn.fromPartial(value)
|
|
508
|
+
};
|
|
509
|
+
},
|
|
510
|
+
revoke(value) {
|
|
511
|
+
return {
|
|
512
|
+
typeUrl: "/sparkdream.artifact.v1.MsgRevoke",
|
|
513
|
+
value: tx_1.MsgRevoke.fromPartial(value)
|
|
514
|
+
};
|
|
515
|
+
},
|
|
516
|
+
updateToken(value) {
|
|
517
|
+
return {
|
|
518
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateToken",
|
|
519
|
+
value: tx_1.MsgUpdateToken.fromPartial(value)
|
|
520
|
+
};
|
|
521
|
+
},
|
|
522
|
+
freezeTokenMetadata(value) {
|
|
523
|
+
return {
|
|
524
|
+
typeUrl: "/sparkdream.artifact.v1.MsgFreezeTokenMetadata",
|
|
525
|
+
value: tx_1.MsgFreezeTokenMetadata.fromPartial(value)
|
|
526
|
+
};
|
|
527
|
+
},
|
|
528
|
+
list(value) {
|
|
529
|
+
return {
|
|
530
|
+
typeUrl: "/sparkdream.artifact.v1.MsgList",
|
|
531
|
+
value: tx_1.MsgList.fromPartial(value)
|
|
532
|
+
};
|
|
533
|
+
},
|
|
534
|
+
updateListing(value) {
|
|
535
|
+
return {
|
|
536
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateListing",
|
|
537
|
+
value: tx_1.MsgUpdateListing.fromPartial(value)
|
|
538
|
+
};
|
|
539
|
+
},
|
|
540
|
+
delist(value) {
|
|
541
|
+
return {
|
|
542
|
+
typeUrl: "/sparkdream.artifact.v1.MsgDelist",
|
|
543
|
+
value: tx_1.MsgDelist.fromPartial(value)
|
|
544
|
+
};
|
|
545
|
+
},
|
|
546
|
+
buy(value) {
|
|
547
|
+
return {
|
|
548
|
+
typeUrl: "/sparkdream.artifact.v1.MsgBuy",
|
|
549
|
+
value: tx_1.MsgBuy.fromPartial(value)
|
|
550
|
+
};
|
|
551
|
+
},
|
|
552
|
+
hideContent(value) {
|
|
553
|
+
return {
|
|
554
|
+
typeUrl: "/sparkdream.artifact.v1.MsgHideContent",
|
|
555
|
+
value: tx_1.MsgHideContent.fromPartial(value)
|
|
556
|
+
};
|
|
557
|
+
},
|
|
558
|
+
unhideContent(value) {
|
|
559
|
+
return {
|
|
560
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUnhideContent",
|
|
561
|
+
value: tx_1.MsgUnhideContent.fromPartial(value)
|
|
562
|
+
};
|
|
563
|
+
},
|
|
564
|
+
appealHide(value) {
|
|
565
|
+
return {
|
|
566
|
+
typeUrl: "/sparkdream.artifact.v1.MsgAppealHide",
|
|
567
|
+
value: tx_1.MsgAppealHide.fromPartial(value)
|
|
568
|
+
};
|
|
569
|
+
},
|
|
570
|
+
updateOperationalParams(value) {
|
|
571
|
+
return {
|
|
572
|
+
typeUrl: "/sparkdream.artifact.v1.MsgUpdateOperationalParams",
|
|
573
|
+
value: tx_1.MsgUpdateOperationalParams.fromPartial(value)
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgCreateClass, MsgCreateClassResponse, MsgUpdateClass, MsgUpdateClassResponse, MsgFreezeClassMetadata, MsgFreezeClassMetadataResponse, MsgSetMintPolicy, MsgSetMintPolicyResponse, MsgSetMinters, MsgSetMintersResponse, MsgSetMaxSupply, MsgSetMaxSupplyResponse, MsgCloseMinting, MsgCloseMintingResponse, MsgProposeClassOwner, MsgProposeClassOwnerResponse, MsgAcceptClassOwner, MsgAcceptClassOwnerResponse, MsgCancelClassOwner, MsgCancelClassOwnerResponse, MsgDeleteClass, MsgDeleteClassResponse, MsgMint, MsgMintResponse, MsgPublicMint, MsgPublicMintResponse, MsgTransfer, MsgTransferResponse, MsgAcceptIncoming, MsgAcceptIncomingResponse, MsgRejectIncoming, MsgRejectIncomingResponse, MsgCancelOutgoing, MsgCancelOutgoingResponse, MsgSetReceivePolicy, MsgSetReceivePolicyResponse, MsgBurn, MsgBurnResponse, MsgRevoke, MsgRevokeResponse, MsgUpdateToken, MsgUpdateTokenResponse, MsgFreezeTokenMetadata, MsgFreezeTokenMetadataResponse, MsgList, MsgListResponse, MsgUpdateListing, MsgUpdateListingResponse, MsgDelist, MsgDelistResponse, MsgBuy, MsgBuyResponse, MsgHideContent, MsgHideContentResponse, MsgUnhideContent, MsgUnhideContentResponse, MsgAppealHide, MsgAppealHideResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse } from "./tx";
|
|
3
|
+
/** Msg defines the Msg service. */
|
|
4
|
+
export interface Msg {
|
|
5
|
+
/**
|
|
6
|
+
* UpdateParams defines a (governance) operation for updating the module
|
|
7
|
+
* parameters. The authority defaults to the x/gov module account.
|
|
8
|
+
*/
|
|
9
|
+
updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
10
|
+
/** CreateClass creates a new class (member- or council-gated, fee burned). */
|
|
11
|
+
createClass(request: MsgCreateClass): Promise<MsgCreateClassResponse>;
|
|
12
|
+
/** UpdateClass edits class metadata and payment routing. */
|
|
13
|
+
updateClass(request: MsgUpdateClass): Promise<MsgUpdateClassResponse>;
|
|
14
|
+
/** FreezeClassMetadata freezes class and token metadata (one-way). */
|
|
15
|
+
freezeClassMetadata(request: MsgFreezeClassMetadata): Promise<MsgFreezeClassMetadataResponse>;
|
|
16
|
+
/** SetMintPolicy replaces the public mint policy. */
|
|
17
|
+
setMintPolicy(request: MsgSetMintPolicy): Promise<MsgSetMintPolicyResponse>;
|
|
18
|
+
/** SetMinters adds and removes class minters. */
|
|
19
|
+
setMinters(request: MsgSetMinters): Promise<MsgSetMintersResponse>;
|
|
20
|
+
/** SetMaxSupply lowers (or first sets) the class supply cap. */
|
|
21
|
+
setMaxSupply(request: MsgSetMaxSupply): Promise<MsgSetMaxSupplyResponse>;
|
|
22
|
+
/** CloseMinting permanently stops minting. */
|
|
23
|
+
closeMinting(request: MsgCloseMinting): Promise<MsgCloseMintingResponse>;
|
|
24
|
+
/** ProposeClassOwner proposes a class ownership handover. */
|
|
25
|
+
proposeClassOwner(request: MsgProposeClassOwner): Promise<MsgProposeClassOwnerResponse>;
|
|
26
|
+
/** AcceptClassOwner accepts a proposed handover. */
|
|
27
|
+
acceptClassOwner(request: MsgAcceptClassOwner): Promise<MsgAcceptClassOwnerResponse>;
|
|
28
|
+
/** CancelClassOwner withdraws a proposed handover. */
|
|
29
|
+
cancelClassOwner(request: MsgCancelClassOwner): Promise<MsgCancelClassOwnerResponse>;
|
|
30
|
+
/** DeleteClass deletes an empty class. */
|
|
31
|
+
deleteClass(request: MsgDeleteClass): Promise<MsgDeleteClassResponse>;
|
|
32
|
+
/** Mint mints tokens as the class owner or a listed minter. */
|
|
33
|
+
mint(request: MsgMint): Promise<MsgMintResponse>;
|
|
34
|
+
/** PublicMint buys tokens under the class's public mint policy. */
|
|
35
|
+
publicMint(request: MsgPublicMint): Promise<MsgPublicMintResponse>;
|
|
36
|
+
/** Transfer moves tokens to recipients (or their inboxes). */
|
|
37
|
+
transfer(request: MsgTransfer): Promise<MsgTransferResponse>;
|
|
38
|
+
/** AcceptIncoming accepts inbox items. */
|
|
39
|
+
acceptIncoming(request: MsgAcceptIncoming): Promise<MsgAcceptIncomingResponse>;
|
|
40
|
+
/** RejectIncoming rejects inbox items. */
|
|
41
|
+
rejectIncoming(request: MsgRejectIncoming): Promise<MsgRejectIncomingResponse>;
|
|
42
|
+
/** CancelOutgoing withdraws pending items the signer sent. */
|
|
43
|
+
cancelOutgoing(request: MsgCancelOutgoing): Promise<MsgCancelOutgoingResponse>;
|
|
44
|
+
/** SetReceivePolicy sets the signer's receive policy. */
|
|
45
|
+
setReceivePolicy(request: MsgSetReceivePolicy): Promise<MsgSetReceivePolicyResponse>;
|
|
46
|
+
/** Burn destroys tokens and refunds their deposits to the burner. */
|
|
47
|
+
burn(request: MsgBurn): Promise<MsgBurnResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Revoke burns tokens as the class owner, when the class's
|
|
50
|
+
* burn_authorization allows the issuer.
|
|
51
|
+
*/
|
|
52
|
+
revoke(request: MsgRevoke): Promise<MsgRevokeResponse>;
|
|
53
|
+
/** UpdateToken replaces a token's metadata (mutable classes only). */
|
|
54
|
+
updateToken(request: MsgUpdateToken): Promise<MsgUpdateTokenResponse>;
|
|
55
|
+
/** FreezeTokenMetadata freezes token metadata (class owner or holder). */
|
|
56
|
+
freezeTokenMetadata(request: MsgFreezeTokenMetadata): Promise<MsgFreezeTokenMetadataResponse>;
|
|
57
|
+
/** List offers a token for sale at a fixed SPARK price. */
|
|
58
|
+
list(request: MsgList): Promise<MsgListResponse>;
|
|
59
|
+
/** UpdateListing changes a listing's price or duration. */
|
|
60
|
+
updateListing(request: MsgUpdateListing): Promise<MsgUpdateListingResponse>;
|
|
61
|
+
/** Delist cancels a listing. */
|
|
62
|
+
delist(request: MsgDelist): Promise<MsgDelistResponse>;
|
|
63
|
+
/** Buy purchases a listed token. */
|
|
64
|
+
buy(request: MsgBuy): Promise<MsgBuyResponse>;
|
|
65
|
+
/** HideContent hides a class or token (sentinel or council). */
|
|
66
|
+
hideContent(request: MsgHideContent): Promise<MsgHideContentResponse>;
|
|
67
|
+
/** UnhideContent reverses a hide before appeal. */
|
|
68
|
+
unhideContent(request: MsgUnhideContent): Promise<MsgUnhideContentResponse>;
|
|
69
|
+
/** AppealHide appeals a hide through the x/rep jury (ARTIFACT_HIDE). */
|
|
70
|
+
appealHide(request: MsgAppealHide): Promise<MsgAppealHideResponse>;
|
|
71
|
+
/** UpdateOperationalParams updates the operational parameter subset. */
|
|
72
|
+
updateOperationalParams(request: MsgUpdateOperationalParams): Promise<MsgUpdateOperationalParamsResponse>;
|
|
73
|
+
}
|
|
74
|
+
export declare class MsgClientImpl implements Msg {
|
|
75
|
+
private readonly rpc;
|
|
76
|
+
constructor(rpc: TxRpc);
|
|
77
|
+
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
78
|
+
createClass: (request: MsgCreateClass) => Promise<MsgCreateClassResponse>;
|
|
79
|
+
updateClass: (request: MsgUpdateClass) => Promise<MsgUpdateClassResponse>;
|
|
80
|
+
freezeClassMetadata: (request: MsgFreezeClassMetadata) => Promise<MsgFreezeClassMetadataResponse>;
|
|
81
|
+
setMintPolicy: (request: MsgSetMintPolicy) => Promise<MsgSetMintPolicyResponse>;
|
|
82
|
+
setMinters: (request: MsgSetMinters) => Promise<MsgSetMintersResponse>;
|
|
83
|
+
setMaxSupply: (request: MsgSetMaxSupply) => Promise<MsgSetMaxSupplyResponse>;
|
|
84
|
+
closeMinting: (request: MsgCloseMinting) => Promise<MsgCloseMintingResponse>;
|
|
85
|
+
proposeClassOwner: (request: MsgProposeClassOwner) => Promise<MsgProposeClassOwnerResponse>;
|
|
86
|
+
acceptClassOwner: (request: MsgAcceptClassOwner) => Promise<MsgAcceptClassOwnerResponse>;
|
|
87
|
+
cancelClassOwner: (request: MsgCancelClassOwner) => Promise<MsgCancelClassOwnerResponse>;
|
|
88
|
+
deleteClass: (request: MsgDeleteClass) => Promise<MsgDeleteClassResponse>;
|
|
89
|
+
mint: (request: MsgMint) => Promise<MsgMintResponse>;
|
|
90
|
+
publicMint: (request: MsgPublicMint) => Promise<MsgPublicMintResponse>;
|
|
91
|
+
transfer: (request: MsgTransfer) => Promise<MsgTransferResponse>;
|
|
92
|
+
acceptIncoming: (request: MsgAcceptIncoming) => Promise<MsgAcceptIncomingResponse>;
|
|
93
|
+
rejectIncoming: (request: MsgRejectIncoming) => Promise<MsgRejectIncomingResponse>;
|
|
94
|
+
cancelOutgoing: (request: MsgCancelOutgoing) => Promise<MsgCancelOutgoingResponse>;
|
|
95
|
+
setReceivePolicy: (request: MsgSetReceivePolicy) => Promise<MsgSetReceivePolicyResponse>;
|
|
96
|
+
burn: (request: MsgBurn) => Promise<MsgBurnResponse>;
|
|
97
|
+
revoke: (request: MsgRevoke) => Promise<MsgRevokeResponse>;
|
|
98
|
+
updateToken: (request: MsgUpdateToken) => Promise<MsgUpdateTokenResponse>;
|
|
99
|
+
freezeTokenMetadata: (request: MsgFreezeTokenMetadata) => Promise<MsgFreezeTokenMetadataResponse>;
|
|
100
|
+
list: (request: MsgList) => Promise<MsgListResponse>;
|
|
101
|
+
updateListing: (request: MsgUpdateListing) => Promise<MsgUpdateListingResponse>;
|
|
102
|
+
delist: (request: MsgDelist) => Promise<MsgDelistResponse>;
|
|
103
|
+
buy: (request: MsgBuy) => Promise<MsgBuyResponse>;
|
|
104
|
+
hideContent: (request: MsgHideContent) => Promise<MsgHideContentResponse>;
|
|
105
|
+
unhideContent: (request: MsgUnhideContent) => Promise<MsgUnhideContentResponse>;
|
|
106
|
+
appealHide: (request: MsgAppealHide) => Promise<MsgAppealHideResponse>;
|
|
107
|
+
updateOperationalParams: (request: MsgUpdateOperationalParams) => Promise<MsgUpdateOperationalParamsResponse>;
|
|
108
|
+
}
|
|
109
|
+
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|