@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/cosmos/bundle.d.ts +160 -160
  2. package/cosmos/bundle.js +182 -182
  3. package/esm/cosmos/bundle.js +182 -182
  4. package/esm/ibc/bundle.js +76 -76
  5. package/esm/sparkdream/blog/v1/params.js +25 -1
  6. package/esm/sparkdream/blog/v1/post.js +16 -1
  7. package/esm/sparkdream/blog/v1/query.js +165 -0
  8. package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
  9. package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
  10. package/esm/sparkdream/blog/v1/tx.js +32 -2
  11. package/esm/sparkdream/bundle.js +367 -327
  12. package/esm/sparkdream/client.js +4 -1
  13. package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
  14. package/esm/sparkdream/collect/v1/genesis.js +12 -11
  15. package/esm/sparkdream/collect/v1/params.js +37 -1
  16. package/esm/sparkdream/collect/v1/query.js +201 -186
  17. package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
  18. package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
  19. package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
  20. package/esm/sparkdream/collect/v1/tx.js +0 -258
  21. package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
  22. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
  23. package/esm/sparkdream/collect/v1/types.js +50 -143
  24. package/esm/sparkdream/{forum → commons}/v1/category.js +7 -5
  25. package/esm/sparkdream/commons/v1/genesis.js +29 -1
  26. package/esm/sparkdream/commons/v1/query.js +292 -0
  27. package/esm/sparkdream/commons/v1/query.lcd.js +18 -0
  28. package/esm/sparkdream/commons/v1/query.rpc.Query.js +21 -1
  29. package/esm/sparkdream/commons/v1/tx.amino.js +6 -1
  30. package/esm/sparkdream/commons/v1/tx.js +193 -0
  31. package/esm/sparkdream/commons/v1/tx.registry.js +20 -2
  32. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +8 -1
  33. package/esm/sparkdream/federation/module/v1/module.js +71 -0
  34. package/esm/sparkdream/federation/v1/genesis.js +245 -0
  35. package/esm/sparkdream/federation/v1/packet.js +810 -0
  36. package/esm/sparkdream/federation/v1/params.js +789 -0
  37. package/esm/sparkdream/federation/v1/query.js +2479 -0
  38. package/esm/sparkdream/federation/v1/query.lcd.js +142 -0
  39. package/esm/sparkdream/federation/v1/query.rpc.Query.js +181 -0
  40. package/esm/sparkdream/federation/v1/tx.amino.js +129 -0
  41. package/esm/sparkdream/federation/v1/tx.js +3929 -0
  42. package/esm/sparkdream/federation/v1/tx.registry.js +465 -0
  43. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +163 -0
  44. package/esm/sparkdream/federation/v1/types.js +2266 -0
  45. package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
  46. package/esm/sparkdream/forum/v1/genesis.js +26 -250
  47. package/esm/sparkdream/forum/v1/params.js +146 -2
  48. package/esm/sparkdream/forum/v1/query.js +2084 -7387
  49. package/esm/sparkdream/forum/v1/query.lcd.js +0 -310
  50. package/esm/sparkdream/forum/v1/query.rpc.Query.js +1 -339
  51. package/esm/sparkdream/forum/v1/sentinel_activity.js +46 -139
  52. package/esm/sparkdream/forum/v1/tx.amino.js +1 -76
  53. package/esm/sparkdream/forum/v1/tx.js +333 -2628
  54. package/esm/sparkdream/forum/v1/tx.registry.js +2 -272
  55. package/esm/sparkdream/forum/v1/tx.rpc.msg.js +1 -91
  56. package/esm/sparkdream/forum/v1/types.js +0 -216
  57. package/esm/sparkdream/futarchy/v1/market.js +13 -1
  58. package/esm/sparkdream/lcd.js +5 -0
  59. package/esm/sparkdream/rep/v1/accountability.js +172 -0
  60. package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
  61. package/esm/sparkdream/rep/v1/genesis.js +224 -1
  62. package/esm/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
  63. package/esm/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
  64. package/esm/sparkdream/rep/v1/member.js +25 -1
  65. package/esm/sparkdream/{forum → rep}/v1/member_report.js +102 -5
  66. package/esm/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
  67. package/esm/sparkdream/rep/v1/params.js +782 -254
  68. package/esm/sparkdream/rep/v1/project.js +13 -1
  69. package/esm/sparkdream/rep/v1/query.js +5251 -0
  70. package/esm/sparkdream/rep/v1/query.lcd.js +293 -0
  71. package/esm/sparkdream/rep/v1/query.rpc.Query.js +334 -1
  72. package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
  73. package/esm/sparkdream/{common → rep}/v1/tag.js +6 -6
  74. package/esm/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
  75. package/esm/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
  76. package/esm/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
  77. package/esm/sparkdream/rep/v1/tx.amino.js +81 -1
  78. package/esm/sparkdream/rep/v1/tx.js +2467 -0
  79. package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
  80. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +104 -1
  81. package/esm/sparkdream/rpc.query.js +3 -0
  82. package/esm/sparkdream/rpc.tx.js +3 -0
  83. package/esm/sparkdream/season/v1/enums.js +10 -0
  84. package/esm/sparkdream/season/v1/params.js +94 -46
  85. package/esm/sparkdream/shield/v1/types.js +47 -5
  86. package/esm/tendermint/bundle.js +20 -20
  87. package/ibc/bundle.d.ts +90 -90
  88. package/ibc/bundle.js +76 -76
  89. package/package.json +1 -1
  90. package/sparkdream/blog/v1/params.d.ts +16 -0
  91. package/sparkdream/blog/v1/params.js +25 -1
  92. package/sparkdream/blog/v1/post.d.ts +8 -0
  93. package/sparkdream/blog/v1/post.js +16 -1
  94. package/sparkdream/blog/v1/query.d.ts +92 -0
  95. package/sparkdream/blog/v1/query.js +166 -1
  96. package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
  97. package/sparkdream/blog/v1/query.lcd.js +11 -0
  98. package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
  99. package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
  100. package/sparkdream/blog/v1/tx.d.ts +16 -0
  101. package/sparkdream/blog/v1/tx.js +32 -2
  102. package/sparkdream/bundle.d.ts +14529 -12577
  103. package/sparkdream/bundle.js +367 -327
  104. package/sparkdream/client.d.ts +192 -67
  105. package/sparkdream/client.js +4 -1
  106. package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
  107. package/sparkdream/collect/v1/curator_activity.js +161 -0
  108. package/sparkdream/collect/v1/genesis.d.ts +4 -3
  109. package/sparkdream/collect/v1/genesis.js +11 -10
  110. package/sparkdream/collect/v1/params.d.ts +32 -0
  111. package/sparkdream/collect/v1/params.js +37 -1
  112. package/sparkdream/collect/v1/query.d.ts +142 -133
  113. package/sparkdream/collect/v1/query.js +201 -186
  114. package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
  115. package/sparkdream/collect/v1/query.lcd.js +16 -16
  116. package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
  117. package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
  118. package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
  119. package/sparkdream/collect/v1/tx.amino.js +0 -10
  120. package/sparkdream/collect/v1/tx.d.ts +0 -162
  121. package/sparkdream/collect/v1/tx.js +2 -260
  122. package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
  123. package/sparkdream/collect/v1/tx.registry.js +1 -37
  124. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
  125. package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
  126. package/sparkdream/collect/v1/types.d.ts +26 -56
  127. package/sparkdream/collect/v1/types.js +51 -144
  128. package/sparkdream/{forum → commons}/v1/category.d.ts +17 -11
  129. package/sparkdream/{forum → commons}/v1/category.js +7 -5
  130. package/sparkdream/commons/v1/genesis.d.ts +17 -0
  131. package/sparkdream/commons/v1/genesis.js +29 -1
  132. package/sparkdream/commons/v1/query.d.ts +179 -0
  133. package/sparkdream/commons/v1/query.js +293 -1
  134. package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
  135. package/sparkdream/commons/v1/query.lcd.js +18 -0
  136. package/sparkdream/commons/v1/query.rpc.Query.d.ts +9 -1
  137. package/sparkdream/commons/v1/query.rpc.Query.js +20 -0
  138. package/sparkdream/commons/v1/tx.amino.d.ts +6 -1
  139. package/sparkdream/commons/v1/tx.amino.js +5 -0
  140. package/sparkdream/commons/v1/tx.d.ts +98 -0
  141. package/sparkdream/commons/v1/tx.js +194 -1
  142. package/sparkdream/commons/v1/tx.registry.d.ts +13 -1
  143. package/sparkdream/commons/v1/tx.registry.js +19 -1
  144. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +7 -1
  145. package/sparkdream/commons/v1/tx.rpc.msg.js +7 -0
  146. package/sparkdream/federation/module/v1/module.d.ts +54 -0
  147. package/sparkdream/federation/module/v1/module.js +74 -0
  148. package/sparkdream/federation/v1/genesis.d.ts +79 -0
  149. package/sparkdream/federation/v1/genesis.js +248 -0
  150. package/sparkdream/federation/v1/packet.d.ts +397 -0
  151. package/sparkdream/federation/v1/packet.js +813 -0
  152. package/sparkdream/federation/v1/params.d.ts +272 -0
  153. package/sparkdream/federation/v1/params.js +792 -0
  154. package/sparkdream/federation/v1/query.d.ts +1458 -0
  155. package/sparkdream/federation/v1/query.js +2482 -0
  156. package/sparkdream/federation/v1/query.lcd.d.ts +25 -0
  157. package/sparkdream/federation/v1/query.lcd.js +146 -0
  158. package/sparkdream/federation/v1/query.rpc.Query.d.ts +69 -0
  159. package/sparkdream/federation/v1/query.rpc.Query.js +186 -0
  160. package/sparkdream/federation/v1/tx.amino.d.ts +128 -0
  161. package/sparkdream/federation/v1/tx.amino.js +132 -0
  162. package/sparkdream/federation/v1/tx.d.ts +2147 -0
  163. package/sparkdream/federation/v1/tx.js +3932 -0
  164. package/sparkdream/federation/v1/tx.registry.d.ts +313 -0
  165. package/sparkdream/federation/v1/tx.registry.js +469 -0
  166. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +65 -0
  167. package/sparkdream/federation/v1/tx.rpc.msg.js +168 -0
  168. package/sparkdream/federation/v1/types.d.ts +810 -0
  169. package/sparkdream/federation/v1/types.js +2281 -0
  170. package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
  171. package/sparkdream/federation/v1/verifier_activity.js +197 -0
  172. package/sparkdream/forum/v1/genesis.d.ts +0 -41
  173. package/sparkdream/forum/v1/genesis.js +26 -250
  174. package/sparkdream/forum/v1/params.d.ts +112 -0
  175. package/sparkdream/forum/v1/params.js +146 -2
  176. package/sparkdream/forum/v1/query.d.ts +65 -3164
  177. package/sparkdream/forum/v1/query.js +2086 -7391
  178. package/sparkdream/forum/v1/query.lcd.d.ts +1 -35
  179. package/sparkdream/forum/v1/query.lcd.js +0 -310
  180. package/sparkdream/forum/v1/query.rpc.Query.d.ts +1 -137
  181. package/sparkdream/forum/v1/query.rpc.Query.js +0 -338
  182. package/sparkdream/forum/v1/sentinel_activity.d.ts +9 -20
  183. package/sparkdream/forum/v1/sentinel_activity.js +46 -139
  184. package/sparkdream/forum/v1/tx.amino.d.ts +1 -76
  185. package/sparkdream/forum/v1/tx.amino.js +0 -75
  186. package/sparkdream/forum/v1/tx.d.ts +85 -1445
  187. package/sparkdream/forum/v1/tx.js +335 -2630
  188. package/sparkdream/forum/v1/tx.registry.d.ts +1 -181
  189. package/sparkdream/forum/v1/tx.registry.js +1 -271
  190. package/sparkdream/forum/v1/tx.rpc.msg.d.ts +1 -46
  191. package/sparkdream/forum/v1/tx.rpc.msg.js +0 -90
  192. package/sparkdream/forum/v1/types.d.ts +0 -50
  193. package/sparkdream/forum/v1/types.js +1 -225
  194. package/sparkdream/futarchy/v1/market.d.ts +14 -0
  195. package/sparkdream/futarchy/v1/market.js +13 -1
  196. package/sparkdream/lcd.d.ts +3 -0
  197. package/sparkdream/lcd.js +5 -0
  198. package/sparkdream/rep/v1/accountability.d.ts +39 -0
  199. package/sparkdream/rep/v1/accountability.js +181 -0
  200. package/sparkdream/rep/v1/bonded_role.d.ts +330 -0
  201. package/sparkdream/rep/v1/bonded_role.js +453 -0
  202. package/sparkdream/rep/v1/genesis.d.ts +70 -0
  203. package/sparkdream/rep/v1/genesis.js +224 -1
  204. package/sparkdream/{forum → rep}/v1/gov_action_appeal.d.ts +9 -9
  205. package/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
  206. package/sparkdream/{forum → rep}/v1/jury_participation.d.ts +8 -8
  207. package/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
  208. package/sparkdream/rep/v1/member.d.ts +16 -0
  209. package/sparkdream/rep/v1/member.js +25 -1
  210. package/sparkdream/rep/v1/member_report.d.ts +128 -0
  211. package/sparkdream/{forum → rep}/v1/member_report.js +103 -6
  212. package/sparkdream/{forum → rep}/v1/member_warning.d.ts +8 -8
  213. package/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
  214. package/sparkdream/rep/v1/params.d.ts +352 -8
  215. package/sparkdream/rep/v1/params.js +782 -254
  216. package/sparkdream/rep/v1/project.d.ts +10 -0
  217. package/sparkdream/rep/v1/project.js +13 -1
  218. package/sparkdream/rep/v1/query.d.ts +4222 -1156
  219. package/sparkdream/rep/v1/query.js +5254 -1
  220. package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
  221. package/sparkdream/rep/v1/query.lcd.js +293 -0
  222. package/sparkdream/rep/v1/query.rpc.Query.d.ts +140 -1
  223. package/sparkdream/rep/v1/query.rpc.Query.js +333 -0
  224. package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
  225. package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
  226. package/sparkdream/{common → rep}/v1/tag.d.ts +14 -14
  227. package/sparkdream/{common → rep}/v1/tag.js +6 -6
  228. package/sparkdream/{forum → rep}/v1/tag_budget.d.ts +8 -8
  229. package/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
  230. package/sparkdream/{forum → rep}/v1/tag_budget_award.d.ts +8 -8
  231. package/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
  232. package/sparkdream/{forum → rep}/v1/tag_report.d.ts +8 -8
  233. package/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
  234. package/sparkdream/rep/v1/tx.amino.d.ts +81 -1
  235. package/sparkdream/rep/v1/tx.amino.js +80 -0
  236. package/sparkdream/rep/v1/tx.d.ts +1484 -0
  237. package/sparkdream/rep/v1/tx.js +2468 -1
  238. package/sparkdream/rep/v1/tx.registry.d.ts +193 -1
  239. package/sparkdream/rep/v1/tx.registry.js +289 -1
  240. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +64 -1
  241. package/sparkdream/rep/v1/tx.rpc.msg.js +103 -0
  242. package/sparkdream/rpc.query.d.ts +60 -36
  243. package/sparkdream/rpc.query.js +3 -0
  244. package/sparkdream/rpc.tx.d.ts +3 -0
  245. package/sparkdream/rpc.tx.js +3 -0
  246. package/sparkdream/season/v1/enums.d.ts +5 -0
  247. package/sparkdream/season/v1/enums.js +10 -0
  248. package/sparkdream/season/v1/params.d.ts +36 -4
  249. package/sparkdream/season/v1/params.js +94 -46
  250. package/sparkdream/shield/v1/types.d.ts +28 -0
  251. package/sparkdream/shield/v1/types.js +47 -5
  252. package/tendermint/bundle.d.ts +844 -844
  253. package/tendermint/bundle.js +20 -20
  254. package/esm/sparkdream/forum/v1/member_salvation_status.js +0 -119
  255. package/sparkdream/forum/v1/member_report.d.ts +0 -67
  256. package/sparkdream/forum/v1/member_salvation_status.d.ts +0 -54
  257. package/sparkdream/forum/v1/member_salvation_status.js +0 -122
@@ -0,0 +1,465 @@
1
+ import { MsgUpdateParams, MsgRegisterPeer, MsgRemovePeer, MsgSuspendPeer, MsgResumePeer, MsgUpdatePeerPolicy, MsgRegisterBridge, MsgRevokeBridge, MsgSlashBridge, MsgUpdateBridge, MsgUnbondBridge, MsgTopUpBridgeStake, MsgSubmitFederatedContent, MsgFederateContent, MsgAttestOutbound, MsgModerateContent, MsgLinkIdentity, MsgUnlinkIdentity, MsgConfirmIdentityLink, MsgRequestReputationAttestation, MsgVerifyContent, MsgChallengeVerification, MsgSubmitArbiterHash, MsgEscalateChallenge, MsgUpdateOperationalParams } from "./tx";
2
+ export const registry = [["/sparkdream.federation.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.federation.v1.MsgRegisterPeer", MsgRegisterPeer], ["/sparkdream.federation.v1.MsgRemovePeer", MsgRemovePeer], ["/sparkdream.federation.v1.MsgSuspendPeer", MsgSuspendPeer], ["/sparkdream.federation.v1.MsgResumePeer", MsgResumePeer], ["/sparkdream.federation.v1.MsgUpdatePeerPolicy", MsgUpdatePeerPolicy], ["/sparkdream.federation.v1.MsgRegisterBridge", MsgRegisterBridge], ["/sparkdream.federation.v1.MsgRevokeBridge", MsgRevokeBridge], ["/sparkdream.federation.v1.MsgSlashBridge", MsgSlashBridge], ["/sparkdream.federation.v1.MsgUpdateBridge", MsgUpdateBridge], ["/sparkdream.federation.v1.MsgUnbondBridge", MsgUnbondBridge], ["/sparkdream.federation.v1.MsgTopUpBridgeStake", MsgTopUpBridgeStake], ["/sparkdream.federation.v1.MsgSubmitFederatedContent", MsgSubmitFederatedContent], ["/sparkdream.federation.v1.MsgFederateContent", MsgFederateContent], ["/sparkdream.federation.v1.MsgAttestOutbound", MsgAttestOutbound], ["/sparkdream.federation.v1.MsgModerateContent", MsgModerateContent], ["/sparkdream.federation.v1.MsgLinkIdentity", MsgLinkIdentity], ["/sparkdream.federation.v1.MsgUnlinkIdentity", MsgUnlinkIdentity], ["/sparkdream.federation.v1.MsgConfirmIdentityLink", MsgConfirmIdentityLink], ["/sparkdream.federation.v1.MsgRequestReputationAttestation", MsgRequestReputationAttestation], ["/sparkdream.federation.v1.MsgVerifyContent", MsgVerifyContent], ["/sparkdream.federation.v1.MsgChallengeVerification", MsgChallengeVerification], ["/sparkdream.federation.v1.MsgSubmitArbiterHash", MsgSubmitArbiterHash], ["/sparkdream.federation.v1.MsgEscalateChallenge", MsgEscalateChallenge], ["/sparkdream.federation.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ updateParams(value) {
11
+ return {
12
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateParams",
13
+ value: MsgUpdateParams.encode(value).finish()
14
+ };
15
+ },
16
+ registerPeer(value) {
17
+ return {
18
+ typeUrl: "/sparkdream.federation.v1.MsgRegisterPeer",
19
+ value: MsgRegisterPeer.encode(value).finish()
20
+ };
21
+ },
22
+ removePeer(value) {
23
+ return {
24
+ typeUrl: "/sparkdream.federation.v1.MsgRemovePeer",
25
+ value: MsgRemovePeer.encode(value).finish()
26
+ };
27
+ },
28
+ suspendPeer(value) {
29
+ return {
30
+ typeUrl: "/sparkdream.federation.v1.MsgSuspendPeer",
31
+ value: MsgSuspendPeer.encode(value).finish()
32
+ };
33
+ },
34
+ resumePeer(value) {
35
+ return {
36
+ typeUrl: "/sparkdream.federation.v1.MsgResumePeer",
37
+ value: MsgResumePeer.encode(value).finish()
38
+ };
39
+ },
40
+ updatePeerPolicy(value) {
41
+ return {
42
+ typeUrl: "/sparkdream.federation.v1.MsgUpdatePeerPolicy",
43
+ value: MsgUpdatePeerPolicy.encode(value).finish()
44
+ };
45
+ },
46
+ registerBridge(value) {
47
+ return {
48
+ typeUrl: "/sparkdream.federation.v1.MsgRegisterBridge",
49
+ value: MsgRegisterBridge.encode(value).finish()
50
+ };
51
+ },
52
+ revokeBridge(value) {
53
+ return {
54
+ typeUrl: "/sparkdream.federation.v1.MsgRevokeBridge",
55
+ value: MsgRevokeBridge.encode(value).finish()
56
+ };
57
+ },
58
+ slashBridge(value) {
59
+ return {
60
+ typeUrl: "/sparkdream.federation.v1.MsgSlashBridge",
61
+ value: MsgSlashBridge.encode(value).finish()
62
+ };
63
+ },
64
+ updateBridge(value) {
65
+ return {
66
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateBridge",
67
+ value: MsgUpdateBridge.encode(value).finish()
68
+ };
69
+ },
70
+ unbondBridge(value) {
71
+ return {
72
+ typeUrl: "/sparkdream.federation.v1.MsgUnbondBridge",
73
+ value: MsgUnbondBridge.encode(value).finish()
74
+ };
75
+ },
76
+ topUpBridgeStake(value) {
77
+ return {
78
+ typeUrl: "/sparkdream.federation.v1.MsgTopUpBridgeStake",
79
+ value: MsgTopUpBridgeStake.encode(value).finish()
80
+ };
81
+ },
82
+ submitFederatedContent(value) {
83
+ return {
84
+ typeUrl: "/sparkdream.federation.v1.MsgSubmitFederatedContent",
85
+ value: MsgSubmitFederatedContent.encode(value).finish()
86
+ };
87
+ },
88
+ federateContent(value) {
89
+ return {
90
+ typeUrl: "/sparkdream.federation.v1.MsgFederateContent",
91
+ value: MsgFederateContent.encode(value).finish()
92
+ };
93
+ },
94
+ attestOutbound(value) {
95
+ return {
96
+ typeUrl: "/sparkdream.federation.v1.MsgAttestOutbound",
97
+ value: MsgAttestOutbound.encode(value).finish()
98
+ };
99
+ },
100
+ moderateContent(value) {
101
+ return {
102
+ typeUrl: "/sparkdream.federation.v1.MsgModerateContent",
103
+ value: MsgModerateContent.encode(value).finish()
104
+ };
105
+ },
106
+ linkIdentity(value) {
107
+ return {
108
+ typeUrl: "/sparkdream.federation.v1.MsgLinkIdentity",
109
+ value: MsgLinkIdentity.encode(value).finish()
110
+ };
111
+ },
112
+ unlinkIdentity(value) {
113
+ return {
114
+ typeUrl: "/sparkdream.federation.v1.MsgUnlinkIdentity",
115
+ value: MsgUnlinkIdentity.encode(value).finish()
116
+ };
117
+ },
118
+ confirmIdentityLink(value) {
119
+ return {
120
+ typeUrl: "/sparkdream.federation.v1.MsgConfirmIdentityLink",
121
+ value: MsgConfirmIdentityLink.encode(value).finish()
122
+ };
123
+ },
124
+ requestReputationAttestation(value) {
125
+ return {
126
+ typeUrl: "/sparkdream.federation.v1.MsgRequestReputationAttestation",
127
+ value: MsgRequestReputationAttestation.encode(value).finish()
128
+ };
129
+ },
130
+ verifyContent(value) {
131
+ return {
132
+ typeUrl: "/sparkdream.federation.v1.MsgVerifyContent",
133
+ value: MsgVerifyContent.encode(value).finish()
134
+ };
135
+ },
136
+ challengeVerification(value) {
137
+ return {
138
+ typeUrl: "/sparkdream.federation.v1.MsgChallengeVerification",
139
+ value: MsgChallengeVerification.encode(value).finish()
140
+ };
141
+ },
142
+ submitArbiterHash(value) {
143
+ return {
144
+ typeUrl: "/sparkdream.federation.v1.MsgSubmitArbiterHash",
145
+ value: MsgSubmitArbiterHash.encode(value).finish()
146
+ };
147
+ },
148
+ escalateChallenge(value) {
149
+ return {
150
+ typeUrl: "/sparkdream.federation.v1.MsgEscalateChallenge",
151
+ value: MsgEscalateChallenge.encode(value).finish()
152
+ };
153
+ },
154
+ updateOperationalParams(value) {
155
+ return {
156
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateOperationalParams",
157
+ value: MsgUpdateOperationalParams.encode(value).finish()
158
+ };
159
+ }
160
+ },
161
+ withTypeUrl: {
162
+ updateParams(value) {
163
+ return {
164
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateParams",
165
+ value
166
+ };
167
+ },
168
+ registerPeer(value) {
169
+ return {
170
+ typeUrl: "/sparkdream.federation.v1.MsgRegisterPeer",
171
+ value
172
+ };
173
+ },
174
+ removePeer(value) {
175
+ return {
176
+ typeUrl: "/sparkdream.federation.v1.MsgRemovePeer",
177
+ value
178
+ };
179
+ },
180
+ suspendPeer(value) {
181
+ return {
182
+ typeUrl: "/sparkdream.federation.v1.MsgSuspendPeer",
183
+ value
184
+ };
185
+ },
186
+ resumePeer(value) {
187
+ return {
188
+ typeUrl: "/sparkdream.federation.v1.MsgResumePeer",
189
+ value
190
+ };
191
+ },
192
+ updatePeerPolicy(value) {
193
+ return {
194
+ typeUrl: "/sparkdream.federation.v1.MsgUpdatePeerPolicy",
195
+ value
196
+ };
197
+ },
198
+ registerBridge(value) {
199
+ return {
200
+ typeUrl: "/sparkdream.federation.v1.MsgRegisterBridge",
201
+ value
202
+ };
203
+ },
204
+ revokeBridge(value) {
205
+ return {
206
+ typeUrl: "/sparkdream.federation.v1.MsgRevokeBridge",
207
+ value
208
+ };
209
+ },
210
+ slashBridge(value) {
211
+ return {
212
+ typeUrl: "/sparkdream.federation.v1.MsgSlashBridge",
213
+ value
214
+ };
215
+ },
216
+ updateBridge(value) {
217
+ return {
218
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateBridge",
219
+ value
220
+ };
221
+ },
222
+ unbondBridge(value) {
223
+ return {
224
+ typeUrl: "/sparkdream.federation.v1.MsgUnbondBridge",
225
+ value
226
+ };
227
+ },
228
+ topUpBridgeStake(value) {
229
+ return {
230
+ typeUrl: "/sparkdream.federation.v1.MsgTopUpBridgeStake",
231
+ value
232
+ };
233
+ },
234
+ submitFederatedContent(value) {
235
+ return {
236
+ typeUrl: "/sparkdream.federation.v1.MsgSubmitFederatedContent",
237
+ value
238
+ };
239
+ },
240
+ federateContent(value) {
241
+ return {
242
+ typeUrl: "/sparkdream.federation.v1.MsgFederateContent",
243
+ value
244
+ };
245
+ },
246
+ attestOutbound(value) {
247
+ return {
248
+ typeUrl: "/sparkdream.federation.v1.MsgAttestOutbound",
249
+ value
250
+ };
251
+ },
252
+ moderateContent(value) {
253
+ return {
254
+ typeUrl: "/sparkdream.federation.v1.MsgModerateContent",
255
+ value
256
+ };
257
+ },
258
+ linkIdentity(value) {
259
+ return {
260
+ typeUrl: "/sparkdream.federation.v1.MsgLinkIdentity",
261
+ value
262
+ };
263
+ },
264
+ unlinkIdentity(value) {
265
+ return {
266
+ typeUrl: "/sparkdream.federation.v1.MsgUnlinkIdentity",
267
+ value
268
+ };
269
+ },
270
+ confirmIdentityLink(value) {
271
+ return {
272
+ typeUrl: "/sparkdream.federation.v1.MsgConfirmIdentityLink",
273
+ value
274
+ };
275
+ },
276
+ requestReputationAttestation(value) {
277
+ return {
278
+ typeUrl: "/sparkdream.federation.v1.MsgRequestReputationAttestation",
279
+ value
280
+ };
281
+ },
282
+ verifyContent(value) {
283
+ return {
284
+ typeUrl: "/sparkdream.federation.v1.MsgVerifyContent",
285
+ value
286
+ };
287
+ },
288
+ challengeVerification(value) {
289
+ return {
290
+ typeUrl: "/sparkdream.federation.v1.MsgChallengeVerification",
291
+ value
292
+ };
293
+ },
294
+ submitArbiterHash(value) {
295
+ return {
296
+ typeUrl: "/sparkdream.federation.v1.MsgSubmitArbiterHash",
297
+ value
298
+ };
299
+ },
300
+ escalateChallenge(value) {
301
+ return {
302
+ typeUrl: "/sparkdream.federation.v1.MsgEscalateChallenge",
303
+ value
304
+ };
305
+ },
306
+ updateOperationalParams(value) {
307
+ return {
308
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateOperationalParams",
309
+ value
310
+ };
311
+ }
312
+ },
313
+ fromPartial: {
314
+ updateParams(value) {
315
+ return {
316
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateParams",
317
+ value: MsgUpdateParams.fromPartial(value)
318
+ };
319
+ },
320
+ registerPeer(value) {
321
+ return {
322
+ typeUrl: "/sparkdream.federation.v1.MsgRegisterPeer",
323
+ value: MsgRegisterPeer.fromPartial(value)
324
+ };
325
+ },
326
+ removePeer(value) {
327
+ return {
328
+ typeUrl: "/sparkdream.federation.v1.MsgRemovePeer",
329
+ value: MsgRemovePeer.fromPartial(value)
330
+ };
331
+ },
332
+ suspendPeer(value) {
333
+ return {
334
+ typeUrl: "/sparkdream.federation.v1.MsgSuspendPeer",
335
+ value: MsgSuspendPeer.fromPartial(value)
336
+ };
337
+ },
338
+ resumePeer(value) {
339
+ return {
340
+ typeUrl: "/sparkdream.federation.v1.MsgResumePeer",
341
+ value: MsgResumePeer.fromPartial(value)
342
+ };
343
+ },
344
+ updatePeerPolicy(value) {
345
+ return {
346
+ typeUrl: "/sparkdream.federation.v1.MsgUpdatePeerPolicy",
347
+ value: MsgUpdatePeerPolicy.fromPartial(value)
348
+ };
349
+ },
350
+ registerBridge(value) {
351
+ return {
352
+ typeUrl: "/sparkdream.federation.v1.MsgRegisterBridge",
353
+ value: MsgRegisterBridge.fromPartial(value)
354
+ };
355
+ },
356
+ revokeBridge(value) {
357
+ return {
358
+ typeUrl: "/sparkdream.federation.v1.MsgRevokeBridge",
359
+ value: MsgRevokeBridge.fromPartial(value)
360
+ };
361
+ },
362
+ slashBridge(value) {
363
+ return {
364
+ typeUrl: "/sparkdream.federation.v1.MsgSlashBridge",
365
+ value: MsgSlashBridge.fromPartial(value)
366
+ };
367
+ },
368
+ updateBridge(value) {
369
+ return {
370
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateBridge",
371
+ value: MsgUpdateBridge.fromPartial(value)
372
+ };
373
+ },
374
+ unbondBridge(value) {
375
+ return {
376
+ typeUrl: "/sparkdream.federation.v1.MsgUnbondBridge",
377
+ value: MsgUnbondBridge.fromPartial(value)
378
+ };
379
+ },
380
+ topUpBridgeStake(value) {
381
+ return {
382
+ typeUrl: "/sparkdream.federation.v1.MsgTopUpBridgeStake",
383
+ value: MsgTopUpBridgeStake.fromPartial(value)
384
+ };
385
+ },
386
+ submitFederatedContent(value) {
387
+ return {
388
+ typeUrl: "/sparkdream.federation.v1.MsgSubmitFederatedContent",
389
+ value: MsgSubmitFederatedContent.fromPartial(value)
390
+ };
391
+ },
392
+ federateContent(value) {
393
+ return {
394
+ typeUrl: "/sparkdream.federation.v1.MsgFederateContent",
395
+ value: MsgFederateContent.fromPartial(value)
396
+ };
397
+ },
398
+ attestOutbound(value) {
399
+ return {
400
+ typeUrl: "/sparkdream.federation.v1.MsgAttestOutbound",
401
+ value: MsgAttestOutbound.fromPartial(value)
402
+ };
403
+ },
404
+ moderateContent(value) {
405
+ return {
406
+ typeUrl: "/sparkdream.federation.v1.MsgModerateContent",
407
+ value: MsgModerateContent.fromPartial(value)
408
+ };
409
+ },
410
+ linkIdentity(value) {
411
+ return {
412
+ typeUrl: "/sparkdream.federation.v1.MsgLinkIdentity",
413
+ value: MsgLinkIdentity.fromPartial(value)
414
+ };
415
+ },
416
+ unlinkIdentity(value) {
417
+ return {
418
+ typeUrl: "/sparkdream.federation.v1.MsgUnlinkIdentity",
419
+ value: MsgUnlinkIdentity.fromPartial(value)
420
+ };
421
+ },
422
+ confirmIdentityLink(value) {
423
+ return {
424
+ typeUrl: "/sparkdream.federation.v1.MsgConfirmIdentityLink",
425
+ value: MsgConfirmIdentityLink.fromPartial(value)
426
+ };
427
+ },
428
+ requestReputationAttestation(value) {
429
+ return {
430
+ typeUrl: "/sparkdream.federation.v1.MsgRequestReputationAttestation",
431
+ value: MsgRequestReputationAttestation.fromPartial(value)
432
+ };
433
+ },
434
+ verifyContent(value) {
435
+ return {
436
+ typeUrl: "/sparkdream.federation.v1.MsgVerifyContent",
437
+ value: MsgVerifyContent.fromPartial(value)
438
+ };
439
+ },
440
+ challengeVerification(value) {
441
+ return {
442
+ typeUrl: "/sparkdream.federation.v1.MsgChallengeVerification",
443
+ value: MsgChallengeVerification.fromPartial(value)
444
+ };
445
+ },
446
+ submitArbiterHash(value) {
447
+ return {
448
+ typeUrl: "/sparkdream.federation.v1.MsgSubmitArbiterHash",
449
+ value: MsgSubmitArbiterHash.fromPartial(value)
450
+ };
451
+ },
452
+ escalateChallenge(value) {
453
+ return {
454
+ typeUrl: "/sparkdream.federation.v1.MsgEscalateChallenge",
455
+ value: MsgEscalateChallenge.fromPartial(value)
456
+ };
457
+ },
458
+ updateOperationalParams(value) {
459
+ return {
460
+ typeUrl: "/sparkdream.federation.v1.MsgUpdateOperationalParams",
461
+ value: MsgUpdateOperationalParams.fromPartial(value)
462
+ };
463
+ }
464
+ }
465
+ };
@@ -0,0 +1,163 @@
1
+ import { BinaryReader } from "../../../binary";
2
+ import { MsgUpdateParams, MsgUpdateParamsResponse, MsgRegisterPeer, MsgRegisterPeerResponse, MsgRemovePeer, MsgRemovePeerResponse, MsgSuspendPeer, MsgSuspendPeerResponse, MsgResumePeer, MsgResumePeerResponse, MsgUpdatePeerPolicy, MsgUpdatePeerPolicyResponse, MsgRegisterBridge, MsgRegisterBridgeResponse, MsgRevokeBridge, MsgRevokeBridgeResponse, MsgSlashBridge, MsgSlashBridgeResponse, MsgUpdateBridge, MsgUpdateBridgeResponse, MsgUnbondBridge, MsgUnbondBridgeResponse, MsgTopUpBridgeStake, MsgTopUpBridgeStakeResponse, MsgSubmitFederatedContent, MsgSubmitFederatedContentResponse, MsgFederateContent, MsgFederateContentResponse, MsgAttestOutbound, MsgAttestOutboundResponse, MsgModerateContent, MsgModerateContentResponse, MsgLinkIdentity, MsgLinkIdentityResponse, MsgUnlinkIdentity, MsgUnlinkIdentityResponse, MsgConfirmIdentityLink, MsgConfirmIdentityLinkResponse, MsgRequestReputationAttestation, MsgRequestReputationAttestationResponse, MsgVerifyContent, MsgVerifyContentResponse, MsgChallengeVerification, MsgChallengeVerificationResponse, MsgSubmitArbiterHash, MsgSubmitArbiterHashResponse, MsgEscalateChallenge, MsgEscalateChallengeResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse } from "./tx";
3
+ export class MsgClientImpl {
4
+ rpc;
5
+ constructor(rpc) {
6
+ this.rpc = rpc;
7
+ }
8
+ /* UpdateParams */
9
+ updateParams = async (request) => {
10
+ const data = MsgUpdateParams.encode(request).finish();
11
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "UpdateParams", data);
12
+ return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
13
+ };
14
+ /* RegisterPeer */
15
+ registerPeer = async (request) => {
16
+ const data = MsgRegisterPeer.encode(request).finish();
17
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "RegisterPeer", data);
18
+ return promise.then(data => MsgRegisterPeerResponse.decode(new BinaryReader(data)));
19
+ };
20
+ /* RemovePeer */
21
+ removePeer = async (request) => {
22
+ const data = MsgRemovePeer.encode(request).finish();
23
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "RemovePeer", data);
24
+ return promise.then(data => MsgRemovePeerResponse.decode(new BinaryReader(data)));
25
+ };
26
+ /* SuspendPeer */
27
+ suspendPeer = async (request) => {
28
+ const data = MsgSuspendPeer.encode(request).finish();
29
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "SuspendPeer", data);
30
+ return promise.then(data => MsgSuspendPeerResponse.decode(new BinaryReader(data)));
31
+ };
32
+ /* ResumePeer */
33
+ resumePeer = async (request) => {
34
+ const data = MsgResumePeer.encode(request).finish();
35
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "ResumePeer", data);
36
+ return promise.then(data => MsgResumePeerResponse.decode(new BinaryReader(data)));
37
+ };
38
+ /* UpdatePeerPolicy */
39
+ updatePeerPolicy = async (request) => {
40
+ const data = MsgUpdatePeerPolicy.encode(request).finish();
41
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "UpdatePeerPolicy", data);
42
+ return promise.then(data => MsgUpdatePeerPolicyResponse.decode(new BinaryReader(data)));
43
+ };
44
+ /* RegisterBridge */
45
+ registerBridge = async (request) => {
46
+ const data = MsgRegisterBridge.encode(request).finish();
47
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "RegisterBridge", data);
48
+ return promise.then(data => MsgRegisterBridgeResponse.decode(new BinaryReader(data)));
49
+ };
50
+ /* RevokeBridge */
51
+ revokeBridge = async (request) => {
52
+ const data = MsgRevokeBridge.encode(request).finish();
53
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "RevokeBridge", data);
54
+ return promise.then(data => MsgRevokeBridgeResponse.decode(new BinaryReader(data)));
55
+ };
56
+ /* SlashBridge */
57
+ slashBridge = async (request) => {
58
+ const data = MsgSlashBridge.encode(request).finish();
59
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "SlashBridge", data);
60
+ return promise.then(data => MsgSlashBridgeResponse.decode(new BinaryReader(data)));
61
+ };
62
+ /* UpdateBridge */
63
+ updateBridge = async (request) => {
64
+ const data = MsgUpdateBridge.encode(request).finish();
65
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "UpdateBridge", data);
66
+ return promise.then(data => MsgUpdateBridgeResponse.decode(new BinaryReader(data)));
67
+ };
68
+ /* UnbondBridge */
69
+ unbondBridge = async (request) => {
70
+ const data = MsgUnbondBridge.encode(request).finish();
71
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "UnbondBridge", data);
72
+ return promise.then(data => MsgUnbondBridgeResponse.decode(new BinaryReader(data)));
73
+ };
74
+ /* TopUpBridgeStake */
75
+ topUpBridgeStake = async (request) => {
76
+ const data = MsgTopUpBridgeStake.encode(request).finish();
77
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "TopUpBridgeStake", data);
78
+ return promise.then(data => MsgTopUpBridgeStakeResponse.decode(new BinaryReader(data)));
79
+ };
80
+ /* SubmitFederatedContent */
81
+ submitFederatedContent = async (request) => {
82
+ const data = MsgSubmitFederatedContent.encode(request).finish();
83
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "SubmitFederatedContent", data);
84
+ return promise.then(data => MsgSubmitFederatedContentResponse.decode(new BinaryReader(data)));
85
+ };
86
+ /* FederateContent */
87
+ federateContent = async (request) => {
88
+ const data = MsgFederateContent.encode(request).finish();
89
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "FederateContent", data);
90
+ return promise.then(data => MsgFederateContentResponse.decode(new BinaryReader(data)));
91
+ };
92
+ /* AttestOutbound */
93
+ attestOutbound = async (request) => {
94
+ const data = MsgAttestOutbound.encode(request).finish();
95
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "AttestOutbound", data);
96
+ return promise.then(data => MsgAttestOutboundResponse.decode(new BinaryReader(data)));
97
+ };
98
+ /* ModerateContent */
99
+ moderateContent = async (request) => {
100
+ const data = MsgModerateContent.encode(request).finish();
101
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "ModerateContent", data);
102
+ return promise.then(data => MsgModerateContentResponse.decode(new BinaryReader(data)));
103
+ };
104
+ /* LinkIdentity */
105
+ linkIdentity = async (request) => {
106
+ const data = MsgLinkIdentity.encode(request).finish();
107
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "LinkIdentity", data);
108
+ return promise.then(data => MsgLinkIdentityResponse.decode(new BinaryReader(data)));
109
+ };
110
+ /* UnlinkIdentity */
111
+ unlinkIdentity = async (request) => {
112
+ const data = MsgUnlinkIdentity.encode(request).finish();
113
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "UnlinkIdentity", data);
114
+ return promise.then(data => MsgUnlinkIdentityResponse.decode(new BinaryReader(data)));
115
+ };
116
+ /* ConfirmIdentityLink */
117
+ confirmIdentityLink = async (request) => {
118
+ const data = MsgConfirmIdentityLink.encode(request).finish();
119
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "ConfirmIdentityLink", data);
120
+ return promise.then(data => MsgConfirmIdentityLinkResponse.decode(new BinaryReader(data)));
121
+ };
122
+ /* RequestReputationAttestation */
123
+ requestReputationAttestation = async (request) => {
124
+ const data = MsgRequestReputationAttestation.encode(request).finish();
125
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "RequestReputationAttestation", data);
126
+ return promise.then(data => MsgRequestReputationAttestationResponse.decode(new BinaryReader(data)));
127
+ };
128
+ /* NOTE: Phase 4 of the bonded-role generalization removed BondVerifier /
129
+ UnbondVerifier RPCs. Verifier bonding now flows through x/rep's generic
130
+ MsgBondRole / MsgUnbondRole with role_type=ROLE_TYPE_FEDERATION_VERIFIER. */
131
+ verifyContent = async (request) => {
132
+ const data = MsgVerifyContent.encode(request).finish();
133
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "VerifyContent", data);
134
+ return promise.then(data => MsgVerifyContentResponse.decode(new BinaryReader(data)));
135
+ };
136
+ /* ChallengeVerification */
137
+ challengeVerification = async (request) => {
138
+ const data = MsgChallengeVerification.encode(request).finish();
139
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "ChallengeVerification", data);
140
+ return promise.then(data => MsgChallengeVerificationResponse.decode(new BinaryReader(data)));
141
+ };
142
+ /* SubmitArbiterHash */
143
+ submitArbiterHash = async (request) => {
144
+ const data = MsgSubmitArbiterHash.encode(request).finish();
145
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "SubmitArbiterHash", data);
146
+ return promise.then(data => MsgSubmitArbiterHashResponse.decode(new BinaryReader(data)));
147
+ };
148
+ /* EscalateChallenge */
149
+ escalateChallenge = async (request) => {
150
+ const data = MsgEscalateChallenge.encode(request).finish();
151
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "EscalateChallenge", data);
152
+ return promise.then(data => MsgEscalateChallengeResponse.decode(new BinaryReader(data)));
153
+ };
154
+ /* UpdateOperationalParams */
155
+ updateOperationalParams = async (request) => {
156
+ const data = MsgUpdateOperationalParams.encode(request).finish();
157
+ const promise = this.rpc.request("sparkdream.federation.v1.Msg", "UpdateOperationalParams", data);
158
+ return promise.then(data => MsgUpdateOperationalParamsResponse.decode(new BinaryReader(data)));
159
+ };
160
+ }
161
+ export const createClientImpl = (rpc) => {
162
+ return new MsgClientImpl(rpc);
163
+ };