@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19

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 (275) 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 +106 -106
  5. package/esm/sparkdream/blog/v1/params.js +113 -52
  6. package/esm/sparkdream/blog/v1/tx.js +583 -2
  7. package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
  8. package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
  9. package/esm/sparkdream/bundle.js +448 -346
  10. package/esm/sparkdream/client.js +7 -1
  11. package/esm/sparkdream/collect/v1/params.js +121 -1
  12. package/esm/sparkdream/collect/v1/tx.js +293 -1
  13. package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
  14. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
  15. package/esm/sparkdream/collect/v1/types.js +147 -3
  16. package/esm/sparkdream/commons/v1/genesis.js +29 -1
  17. package/esm/sparkdream/commons/v1/query.js +317 -0
  18. package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
  19. package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
  20. package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
  21. package/esm/sparkdream/commons/v1/tx.js +693 -0
  22. package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
  23. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
  24. package/esm/sparkdream/federation/v1/genesis.js +10 -10
  25. package/esm/sparkdream/federation/v1/params.js +29 -54
  26. package/esm/sparkdream/federation/v1/query.js +216 -71
  27. package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
  28. package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
  29. package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
  30. package/esm/sparkdream/federation/v1/tx.js +1146 -1105
  31. package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
  32. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
  33. package/esm/sparkdream/federation/v1/types.js +355 -99
  34. package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
  35. package/esm/sparkdream/forum/v1/params.js +389 -148
  36. package/esm/sparkdream/forum/v1/post.js +25 -1
  37. package/esm/sparkdream/forum/v1/tx.js +460 -0
  38. package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
  39. package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
  40. package/esm/sparkdream/forum/v1/types.js +355 -0
  41. package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
  42. package/esm/sparkdream/guardian/module/v1/module.js +68 -0
  43. package/esm/sparkdream/guardian/v1/query.js +128 -0
  44. package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
  45. package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
  46. package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
  47. package/esm/sparkdream/guardian/v1/tx.js +175 -0
  48. package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
  49. package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
  50. package/esm/sparkdream/identity/module/v1/module.js +71 -0
  51. package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
  52. package/esm/sparkdream/identity/v1/genesis.js +84 -0
  53. package/esm/sparkdream/identity/v1/query.js +372 -0
  54. package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
  55. package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
  56. package/esm/sparkdream/lcd.js +15 -0
  57. package/esm/sparkdream/name/v1/params.js +19 -18
  58. package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
  59. package/esm/sparkdream/rep/v1/member.js +209 -1
  60. package/esm/sparkdream/rep/v1/tag.js +6 -13
  61. package/esm/sparkdream/rpc.query.js +9 -0
  62. package/esm/sparkdream/rpc.tx.js +6 -0
  63. package/esm/sparkdream/service/module/v1/module.js +71 -0
  64. package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
  65. package/esm/sparkdream/service/v1/genesis.js +240 -0
  66. package/esm/sparkdream/service/v1/operator.js +250 -0
  67. package/esm/sparkdream/service/v1/params.js +355 -0
  68. package/esm/sparkdream/service/v1/query.js +1582 -0
  69. package/esm/sparkdream/service/v1/query.lcd.js +107 -0
  70. package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
  71. package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
  72. package/esm/sparkdream/service/v1/report.js +212 -0
  73. package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
  74. package/esm/sparkdream/service/v1/service_type_config.js +264 -0
  75. package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
  76. package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
  77. package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
  78. package/esm/sparkdream/service/v1/tx.amino.js +69 -0
  79. package/esm/sparkdream/service/v1/tx.js +2124 -0
  80. package/esm/sparkdream/service/v1/tx.registry.js +249 -0
  81. package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
  82. package/esm/sparkdream/service/v1/types.js +353 -0
  83. package/esm/sparkdream/session/v1/genesis.js +136 -10
  84. package/esm/sparkdream/session/v1/grant.js +1020 -0
  85. package/esm/sparkdream/session/v1/params.js +543 -19
  86. package/esm/sparkdream/session/v1/query.js +487 -0
  87. package/esm/sparkdream/session/v1/query.lcd.js +41 -3
  88. package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
  89. package/esm/sparkdream/session/v1/session.js +6 -0
  90. package/esm/sparkdream/session/v1/tx.js +1066 -0
  91. package/esm/sparkdream/session/v1/tx.registry.js +110 -2
  92. package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
  93. package/esm/tendermint/bundle.js +20 -20
  94. package/ibc/bundle.d.ts +90 -90
  95. package/ibc/bundle.js +106 -106
  96. package/package.json +1 -1
  97. package/sparkdream/blog/v1/params.d.ts +89 -28
  98. package/sparkdream/blog/v1/params.js +113 -52
  99. package/sparkdream/blog/v1/post.d.ts +2 -2
  100. package/sparkdream/blog/v1/tx.d.ts +385 -10
  101. package/sparkdream/blog/v1/tx.js +584 -3
  102. package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
  103. package/sparkdream/blog/v1/tx.registry.js +73 -1
  104. package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
  105. package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
  106. package/sparkdream/bundle.d.ts +15308 -12896
  107. package/sparkdream/bundle.js +448 -346
  108. package/sparkdream/client.d.ts +90 -20
  109. package/sparkdream/client.js +7 -1
  110. package/sparkdream/collect/v1/params.d.ts +140 -0
  111. package/sparkdream/collect/v1/params.js +121 -1
  112. package/sparkdream/collect/v1/tx.d.ts +195 -3
  113. package/sparkdream/collect/v1/tx.js +294 -2
  114. package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
  115. package/sparkdream/collect/v1/tx.registry.js +37 -1
  116. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
  117. package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
  118. package/sparkdream/collect/v1/types.d.ts +114 -0
  119. package/sparkdream/collect/v1/types.js +147 -3
  120. package/sparkdream/commons/v1/genesis.d.ts +17 -0
  121. package/sparkdream/commons/v1/genesis.js +29 -1
  122. package/sparkdream/commons/v1/query.d.ts +186 -0
  123. package/sparkdream/commons/v1/query.js +318 -1
  124. package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
  125. package/sparkdream/commons/v1/query.lcd.js +23 -0
  126. package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
  127. package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
  128. package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
  129. package/sparkdream/commons/v1/recurring_spend.js +301 -0
  130. package/sparkdream/commons/v1/tx.d.ts +472 -0
  131. package/sparkdream/commons/v1/tx.js +694 -1
  132. package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
  133. package/sparkdream/commons/v1/tx.registry.js +73 -1
  134. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +29 -1
  135. package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
  136. package/sparkdream/federation/v1/genesis.d.ts +3 -3
  137. package/sparkdream/federation/v1/genesis.js +9 -9
  138. package/sparkdream/federation/v1/params.d.ts +64 -13
  139. package/sparkdream/federation/v1/params.js +29 -54
  140. package/sparkdream/federation/v1/query.d.ts +209 -100
  141. package/sparkdream/federation/v1/query.js +216 -71
  142. package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
  143. package/sparkdream/federation/v1/query.lcd.js +11 -6
  144. package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
  145. package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
  146. package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
  147. package/sparkdream/federation/v1/tx.amino.js +20 -20
  148. package/sparkdream/federation/v1/tx.d.ts +479 -352
  149. package/sparkdream/federation/v1/tx.js +1147 -1106
  150. package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
  151. package/sparkdream/federation/v1/tx.registry.js +73 -73
  152. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
  153. package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
  154. package/sparkdream/federation/v1/types.d.ts +307 -41
  155. package/sparkdream/federation/v1/types.js +360 -100
  156. package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
  157. package/sparkdream/federation/v1/verifier_activity.js +13 -1
  158. package/sparkdream/forum/v1/params.d.ts +309 -62
  159. package/sparkdream/forum/v1/params.js +389 -148
  160. package/sparkdream/forum/v1/post.d.ts +28 -0
  161. package/sparkdream/forum/v1/post.js +25 -1
  162. package/sparkdream/forum/v1/tx.d.ts +291 -0
  163. package/sparkdream/forum/v1/tx.js +462 -2
  164. package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
  165. package/sparkdream/forum/v1/tx.registry.js +55 -1
  166. package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
  167. package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
  168. package/sparkdream/forum/v1/types.d.ts +247 -0
  169. package/sparkdream/forum/v1/types.js +356 -1
  170. package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
  171. package/sparkdream/forum/v1/user_rate_limit.js +41 -2
  172. package/sparkdream/guardian/module/v1/module.d.ts +74 -0
  173. package/sparkdream/guardian/module/v1/module.js +71 -0
  174. package/sparkdream/guardian/v1/query.d.ts +88 -0
  175. package/sparkdream/guardian/v1/query.js +131 -0
  176. package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
  177. package/sparkdream/guardian/v1/query.lcd.js +17 -0
  178. package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
  179. package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
  180. package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
  181. package/sparkdream/guardian/v1/tx.amino.js +12 -0
  182. package/sparkdream/guardian/v1/tx.d.ts +138 -0
  183. package/sparkdream/guardian/v1/tx.js +181 -0
  184. package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
  185. package/sparkdream/guardian/v1/tx.registry.js +37 -0
  186. package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
  187. package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
  188. package/sparkdream/identity/module/v1/module.d.ts +54 -0
  189. package/sparkdream/identity/module/v1/module.js +74 -0
  190. package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
  191. package/sparkdream/identity/v1/chain_identity.js +202 -0
  192. package/sparkdream/identity/v1/genesis.d.ts +65 -0
  193. package/sparkdream/identity/v1/genesis.js +87 -0
  194. package/sparkdream/identity/v1/query.d.ts +243 -0
  195. package/sparkdream/identity/v1/query.js +375 -0
  196. package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
  197. package/sparkdream/identity/v1/query.lcd.js +25 -0
  198. package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
  199. package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
  200. package/sparkdream/lcd.d.ts +9 -0
  201. package/sparkdream/lcd.js +15 -0
  202. package/sparkdream/name/v1/params.d.ts +25 -8
  203. package/sparkdream/name/v1/params.js +19 -18
  204. package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
  205. package/sparkdream/rep/v1/bonded_role.js +48 -2
  206. package/sparkdream/rep/v1/member.d.ts +134 -0
  207. package/sparkdream/rep/v1/member.js +210 -2
  208. package/sparkdream/rep/v1/tag.d.ts +15 -2
  209. package/sparkdream/rep/v1/tag.js +6 -13
  210. package/sparkdream/rpc.query.d.ts +34 -2
  211. package/sparkdream/rpc.query.js +9 -0
  212. package/sparkdream/rpc.tx.d.ts +6 -0
  213. package/sparkdream/rpc.tx.js +6 -0
  214. package/sparkdream/service/module/v1/module.d.ts +54 -0
  215. package/sparkdream/service/module/v1/module.js +74 -0
  216. package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
  217. package/sparkdream/service/v1/controller_transfer_case.js +158 -0
  218. package/sparkdream/service/v1/genesis.d.ts +172 -0
  219. package/sparkdream/service/v1/genesis.js +243 -0
  220. package/sparkdream/service/v1/operator.d.ts +215 -0
  221. package/sparkdream/service/v1/operator.js +253 -0
  222. package/sparkdream/service/v1/params.d.ts +346 -0
  223. package/sparkdream/service/v1/params.js +358 -0
  224. package/sparkdream/service/v1/query.d.ts +964 -0
  225. package/sparkdream/service/v1/query.js +1585 -0
  226. package/sparkdream/service/v1/query.lcd.d.ts +18 -0
  227. package/sparkdream/service/v1/query.lcd.js +111 -0
  228. package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
  229. package/sparkdream/service/v1/query.rpc.Query.js +114 -0
  230. package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
  231. package/sparkdream/service/v1/refile_cooldown.js +124 -0
  232. package/sparkdream/service/v1/report.d.ts +174 -0
  233. package/sparkdream/service/v1/report.js +215 -0
  234. package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
  235. package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
  236. package/sparkdream/service/v1/service_type_config.d.ts +222 -0
  237. package/sparkdream/service/v1/service_type_config.js +269 -0
  238. package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
  239. package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
  240. package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
  241. package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
  242. package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
  243. package/sparkdream/service/v1/tier1_last_slash.js +124 -0
  244. package/sparkdream/service/v1/tx.amino.d.ts +68 -0
  245. package/sparkdream/service/v1/tx.amino.js +72 -0
  246. package/sparkdream/service/v1/tx.d.ts +1264 -0
  247. package/sparkdream/service/v1/tx.js +2127 -0
  248. package/sparkdream/service/v1/tx.registry.d.ts +169 -0
  249. package/sparkdream/service/v1/tx.registry.js +253 -0
  250. package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
  251. package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
  252. package/sparkdream/service/v1/types.d.ts +94 -0
  253. package/sparkdream/service/v1/types.js +370 -0
  254. package/sparkdream/session/v1/genesis.d.ts +93 -9
  255. package/sparkdream/session/v1/genesis.js +137 -11
  256. package/sparkdream/session/v1/grant.d.ts +517 -0
  257. package/sparkdream/session/v1/grant.js +1027 -0
  258. package/sparkdream/session/v1/params.d.ts +338 -7
  259. package/sparkdream/session/v1/params.js +543 -19
  260. package/sparkdream/session/v1/query.d.ts +265 -0
  261. package/sparkdream/session/v1/query.js +488 -1
  262. package/sparkdream/session/v1/query.lcd.d.ts +4 -1
  263. package/sparkdream/session/v1/query.lcd.js +41 -3
  264. package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
  265. package/sparkdream/session/v1/query.rpc.Query.js +35 -3
  266. package/sparkdream/session/v1/session.d.ts +18 -0
  267. package/sparkdream/session/v1/session.js +6 -0
  268. package/sparkdream/session/v1/tx.d.ts +660 -0
  269. package/sparkdream/session/v1/tx.js +1067 -1
  270. package/sparkdream/session/v1/tx.registry.d.ts +73 -1
  271. package/sparkdream/session/v1/tx.registry.js +109 -1
  272. package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
  273. package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
  274. package/tendermint/bundle.d.ts +844 -844
  275. package/tendermint/bundle.js +20 -20
@@ -1,6 +1,7 @@
1
1
  import { Params, ParamsAmino, SessionOperationalParams, SessionOperationalParamsAmino } from "./params";
2
2
  import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
3
3
  import { Any, AnyAmino } from "../../../google/protobuf/any";
4
+ import { SessionKeyPayload, SessionKeyPayloadAmino, RecurringPullPayload, RecurringPullPayloadAmino, SpendingAllowancePayload, SpendingAllowancePayloadAmino, ScheduledOneshotPayload, ScheduledOneshotPayloadAmino } from "./grant";
4
5
  import { BinaryReader, BinaryWriter } from "../../../binary";
5
6
  import { DeepPartial } from "../../../helpers";
6
7
  /**
@@ -299,6 +300,434 @@ export interface MsgExecSessionResponseAminoMsg {
299
300
  type: "/sparkdream.session.v1.MsgExecSessionResponse";
300
301
  value: MsgExecSessionResponseAmino;
301
302
  }
303
+ /**
304
+ * MsgCreateGrant is the unified entrypoint for creating any of the four
305
+ * typed grants. The grant type is inferred from the payload oneof; the
306
+ * handler dispatches to type-specific validation. Signed by the granter.
307
+ * @name MsgCreateGrant
308
+ * @package sparkdream.session.v1
309
+ * @see proto type: sparkdream.session.v1.MsgCreateGrant
310
+ */
311
+ export interface MsgCreateGrant {
312
+ granter: string;
313
+ grantee: string;
314
+ expiresAt: Date;
315
+ /**
316
+ * Optional human-readable purpose (256-char cap).
317
+ */
318
+ note: string;
319
+ sessionKey?: SessionKeyPayload;
320
+ recurringPull?: RecurringPullPayload;
321
+ spendingAllowance?: SpendingAllowancePayload;
322
+ scheduledOneshot?: ScheduledOneshotPayload;
323
+ }
324
+ export interface MsgCreateGrantProtoMsg {
325
+ typeUrl: "/sparkdream.session.v1.MsgCreateGrant";
326
+ value: Uint8Array;
327
+ }
328
+ /**
329
+ * MsgCreateGrant is the unified entrypoint for creating any of the four
330
+ * typed grants. The grant type is inferred from the payload oneof; the
331
+ * handler dispatches to type-specific validation. Signed by the granter.
332
+ * @name MsgCreateGrantAmino
333
+ * @package sparkdream.session.v1
334
+ * @see proto type: sparkdream.session.v1.MsgCreateGrant
335
+ */
336
+ export interface MsgCreateGrantAmino {
337
+ granter?: string;
338
+ grantee?: string;
339
+ expires_at?: string;
340
+ /**
341
+ * Optional human-readable purpose (256-char cap).
342
+ */
343
+ note?: string;
344
+ session_key?: SessionKeyPayloadAmino;
345
+ recurring_pull?: RecurringPullPayloadAmino;
346
+ spending_allowance?: SpendingAllowancePayloadAmino;
347
+ scheduled_oneshot?: ScheduledOneshotPayloadAmino;
348
+ }
349
+ export interface MsgCreateGrantAminoMsg {
350
+ type: "sparkdream/x/session/MsgCreateGrant";
351
+ value: MsgCreateGrantAmino;
352
+ }
353
+ /**
354
+ * @name MsgCreateGrantResponse
355
+ * @package sparkdream.session.v1
356
+ * @see proto type: sparkdream.session.v1.MsgCreateGrantResponse
357
+ */
358
+ export interface MsgCreateGrantResponse {
359
+ /**
360
+ * Allocated grant id.
361
+ */
362
+ grantId: bigint;
363
+ }
364
+ export interface MsgCreateGrantResponseProtoMsg {
365
+ typeUrl: "/sparkdream.session.v1.MsgCreateGrantResponse";
366
+ value: Uint8Array;
367
+ }
368
+ /**
369
+ * @name MsgCreateGrantResponseAmino
370
+ * @package sparkdream.session.v1
371
+ * @see proto type: sparkdream.session.v1.MsgCreateGrantResponse
372
+ */
373
+ export interface MsgCreateGrantResponseAmino {
374
+ /**
375
+ * Allocated grant id.
376
+ */
377
+ grant_id?: string;
378
+ }
379
+ export interface MsgCreateGrantResponseAminoMsg {
380
+ type: "/sparkdream.session.v1.MsgCreateGrantResponse";
381
+ value: MsgCreateGrantResponseAmino;
382
+ }
383
+ /**
384
+ * MsgClaimRecurringPull disburses one period of a RECURRING_PULL grant.
385
+ * Signed by the grantee on file.
386
+ * @name MsgClaimRecurringPull
387
+ * @package sparkdream.session.v1
388
+ * @see proto type: sparkdream.session.v1.MsgClaimRecurringPull
389
+ */
390
+ export interface MsgClaimRecurringPull {
391
+ grantee: string;
392
+ grantId: bigint;
393
+ }
394
+ export interface MsgClaimRecurringPullProtoMsg {
395
+ typeUrl: "/sparkdream.session.v1.MsgClaimRecurringPull";
396
+ value: Uint8Array;
397
+ }
398
+ /**
399
+ * MsgClaimRecurringPull disburses one period of a RECURRING_PULL grant.
400
+ * Signed by the grantee on file.
401
+ * @name MsgClaimRecurringPullAmino
402
+ * @package sparkdream.session.v1
403
+ * @see proto type: sparkdream.session.v1.MsgClaimRecurringPull
404
+ */
405
+ export interface MsgClaimRecurringPullAmino {
406
+ grantee?: string;
407
+ grant_id?: string;
408
+ }
409
+ export interface MsgClaimRecurringPullAminoMsg {
410
+ type: "sparkdream/x/session/MsgClaimRecurringPull";
411
+ value: MsgClaimRecurringPullAmino;
412
+ }
413
+ /**
414
+ * @name MsgClaimRecurringPullResponse
415
+ * @package sparkdream.session.v1
416
+ * @see proto type: sparkdream.session.v1.MsgClaimRecurringPullResponse
417
+ */
418
+ export interface MsgClaimRecurringPullResponse {
419
+ /**
420
+ * Sequence number of this claim (1-indexed).
421
+ */
422
+ claimNumber: bigint;
423
+ /**
424
+ * Unix timestamp at which the next claim becomes eligible.
425
+ */
426
+ nextClaimTime: bigint;
427
+ }
428
+ export interface MsgClaimRecurringPullResponseProtoMsg {
429
+ typeUrl: "/sparkdream.session.v1.MsgClaimRecurringPullResponse";
430
+ value: Uint8Array;
431
+ }
432
+ /**
433
+ * @name MsgClaimRecurringPullResponseAmino
434
+ * @package sparkdream.session.v1
435
+ * @see proto type: sparkdream.session.v1.MsgClaimRecurringPullResponse
436
+ */
437
+ export interface MsgClaimRecurringPullResponseAmino {
438
+ /**
439
+ * Sequence number of this claim (1-indexed).
440
+ */
441
+ claim_number?: string;
442
+ /**
443
+ * Unix timestamp at which the next claim becomes eligible.
444
+ */
445
+ next_claim_time?: string;
446
+ }
447
+ export interface MsgClaimRecurringPullResponseAminoMsg {
448
+ type: "/sparkdream.session.v1.MsgClaimRecurringPullResponse";
449
+ value: MsgClaimRecurringPullResponseAmino;
450
+ }
451
+ /**
452
+ * MsgPullAllowance withdraws `amount` from a SPENDING_ALLOWANCE grant
453
+ * budget to `recipient`. Signed by the grantee on file.
454
+ * @name MsgPullAllowance
455
+ * @package sparkdream.session.v1
456
+ * @see proto type: sparkdream.session.v1.MsgPullAllowance
457
+ */
458
+ export interface MsgPullAllowance {
459
+ grantee: string;
460
+ grantId: bigint;
461
+ recipient: string;
462
+ amount: Coin;
463
+ }
464
+ export interface MsgPullAllowanceProtoMsg {
465
+ typeUrl: "/sparkdream.session.v1.MsgPullAllowance";
466
+ value: Uint8Array;
467
+ }
468
+ /**
469
+ * MsgPullAllowance withdraws `amount` from a SPENDING_ALLOWANCE grant
470
+ * budget to `recipient`. Signed by the grantee on file.
471
+ * @name MsgPullAllowanceAmino
472
+ * @package sparkdream.session.v1
473
+ * @see proto type: sparkdream.session.v1.MsgPullAllowance
474
+ */
475
+ export interface MsgPullAllowanceAmino {
476
+ grantee?: string;
477
+ grant_id?: string;
478
+ recipient?: string;
479
+ amount?: CoinAmino;
480
+ }
481
+ export interface MsgPullAllowanceAminoMsg {
482
+ type: "sparkdream/x/session/MsgPullAllowance";
483
+ value: MsgPullAllowanceAmino;
484
+ }
485
+ /**
486
+ * @name MsgPullAllowanceResponse
487
+ * @package sparkdream.session.v1
488
+ * @see proto type: sparkdream.session.v1.MsgPullAllowanceResponse
489
+ */
490
+ export interface MsgPullAllowanceResponse {
491
+ /**
492
+ * Amount actually transferred (= request amount, for now). Exposed
493
+ * separately so future variants (e.g., partial fills) keep the wire
494
+ * shape stable.
495
+ */
496
+ transferred: Coin;
497
+ /**
498
+ * Total spent in the current rolling-window period after this pull.
499
+ */
500
+ spentInPeriod: Coin;
501
+ }
502
+ export interface MsgPullAllowanceResponseProtoMsg {
503
+ typeUrl: "/sparkdream.session.v1.MsgPullAllowanceResponse";
504
+ value: Uint8Array;
505
+ }
506
+ /**
507
+ * @name MsgPullAllowanceResponseAmino
508
+ * @package sparkdream.session.v1
509
+ * @see proto type: sparkdream.session.v1.MsgPullAllowanceResponse
510
+ */
511
+ export interface MsgPullAllowanceResponseAmino {
512
+ /**
513
+ * Amount actually transferred (= request amount, for now). Exposed
514
+ * separately so future variants (e.g., partial fills) keep the wire
515
+ * shape stable.
516
+ */
517
+ transferred?: CoinAmino;
518
+ /**
519
+ * Total spent in the current rolling-window period after this pull.
520
+ */
521
+ spent_in_period?: CoinAmino;
522
+ }
523
+ export interface MsgPullAllowanceResponseAminoMsg {
524
+ type: "/sparkdream.session.v1.MsgPullAllowanceResponse";
525
+ value: MsgPullAllowanceResponseAmino;
526
+ }
527
+ /**
528
+ * MsgRetryScheduledOneshot flips a PAUSED_INSUFFICIENT_FUNDS oneshot
529
+ * back to ACTIVE with fire_at = block_time. Caller must be either the
530
+ * granter or the grantee on file.
531
+ * @name MsgRetryScheduledOneshot
532
+ * @package sparkdream.session.v1
533
+ * @see proto type: sparkdream.session.v1.MsgRetryScheduledOneshot
534
+ */
535
+ export interface MsgRetryScheduledOneshot {
536
+ /**
537
+ * caller is the address re-enqueueing the oneshot. Must match either
538
+ * the grant's granter or its grantee.
539
+ */
540
+ caller: string;
541
+ grantId: bigint;
542
+ }
543
+ export interface MsgRetryScheduledOneshotProtoMsg {
544
+ typeUrl: "/sparkdream.session.v1.MsgRetryScheduledOneshot";
545
+ value: Uint8Array;
546
+ }
547
+ /**
548
+ * MsgRetryScheduledOneshot flips a PAUSED_INSUFFICIENT_FUNDS oneshot
549
+ * back to ACTIVE with fire_at = block_time. Caller must be either the
550
+ * granter or the grantee on file.
551
+ * @name MsgRetryScheduledOneshotAmino
552
+ * @package sparkdream.session.v1
553
+ * @see proto type: sparkdream.session.v1.MsgRetryScheduledOneshot
554
+ */
555
+ export interface MsgRetryScheduledOneshotAmino {
556
+ /**
557
+ * caller is the address re-enqueueing the oneshot. Must match either
558
+ * the grant's granter or its grantee.
559
+ */
560
+ caller?: string;
561
+ grant_id?: string;
562
+ }
563
+ export interface MsgRetryScheduledOneshotAminoMsg {
564
+ type: "sparkdream/x/session/MsgRetryScheduledOneshot";
565
+ value: MsgRetryScheduledOneshotAmino;
566
+ }
567
+ /**
568
+ * @name MsgRetryScheduledOneshotResponse
569
+ * @package sparkdream.session.v1
570
+ * @see proto type: sparkdream.session.v1.MsgRetryScheduledOneshotResponse
571
+ */
572
+ export interface MsgRetryScheduledOneshotResponse {
573
+ /**
574
+ * New fire_at unix timestamp (= block_time).
575
+ */
576
+ newFireAt: bigint;
577
+ }
578
+ export interface MsgRetryScheduledOneshotResponseProtoMsg {
579
+ typeUrl: "/sparkdream.session.v1.MsgRetryScheduledOneshotResponse";
580
+ value: Uint8Array;
581
+ }
582
+ /**
583
+ * @name MsgRetryScheduledOneshotResponseAmino
584
+ * @package sparkdream.session.v1
585
+ * @see proto type: sparkdream.session.v1.MsgRetryScheduledOneshotResponse
586
+ */
587
+ export interface MsgRetryScheduledOneshotResponseAmino {
588
+ /**
589
+ * New fire_at unix timestamp (= block_time).
590
+ */
591
+ new_fire_at?: string;
592
+ }
593
+ export interface MsgRetryScheduledOneshotResponseAminoMsg {
594
+ type: "/sparkdream.session.v1.MsgRetryScheduledOneshotResponse";
595
+ value: MsgRetryScheduledOneshotResponseAmino;
596
+ }
597
+ /**
598
+ * MsgRevokeGrant cancels any active grant by id. Signed by the granter
599
+ * (or a session key with allow_self_revoke = true and same-granter
600
+ * scope).
601
+ * @name MsgRevokeGrant
602
+ * @package sparkdream.session.v1
603
+ * @see proto type: sparkdream.session.v1.MsgRevokeGrant
604
+ */
605
+ export interface MsgRevokeGrant {
606
+ /**
607
+ * granter is the address invoking the revocation. Must match the
608
+ * grant's granter field (no cross-granter revocation).
609
+ */
610
+ granter: string;
611
+ grantId: bigint;
612
+ }
613
+ export interface MsgRevokeGrantProtoMsg {
614
+ typeUrl: "/sparkdream.session.v1.MsgRevokeGrant";
615
+ value: Uint8Array;
616
+ }
617
+ /**
618
+ * MsgRevokeGrant cancels any active grant by id. Signed by the granter
619
+ * (or a session key with allow_self_revoke = true and same-granter
620
+ * scope).
621
+ * @name MsgRevokeGrantAmino
622
+ * @package sparkdream.session.v1
623
+ * @see proto type: sparkdream.session.v1.MsgRevokeGrant
624
+ */
625
+ export interface MsgRevokeGrantAmino {
626
+ /**
627
+ * granter is the address invoking the revocation. Must match the
628
+ * grant's granter field (no cross-granter revocation).
629
+ */
630
+ granter?: string;
631
+ grant_id?: string;
632
+ }
633
+ export interface MsgRevokeGrantAminoMsg {
634
+ type: "sparkdream/x/session/MsgRevokeGrant";
635
+ value: MsgRevokeGrantAmino;
636
+ }
637
+ /**
638
+ * @name MsgRevokeGrantResponse
639
+ * @package sparkdream.session.v1
640
+ * @see proto type: sparkdream.session.v1.MsgRevokeGrantResponse
641
+ */
642
+ export interface MsgRevokeGrantResponse {
643
+ /**
644
+ * refund_amount is the OneshotGasDeposit returned to the granter
645
+ * (empty/zero for non-oneshot grants).
646
+ */
647
+ refundAmount: Coin;
648
+ }
649
+ export interface MsgRevokeGrantResponseProtoMsg {
650
+ typeUrl: "/sparkdream.session.v1.MsgRevokeGrantResponse";
651
+ value: Uint8Array;
652
+ }
653
+ /**
654
+ * @name MsgRevokeGrantResponseAmino
655
+ * @package sparkdream.session.v1
656
+ * @see proto type: sparkdream.session.v1.MsgRevokeGrantResponse
657
+ */
658
+ export interface MsgRevokeGrantResponseAmino {
659
+ /**
660
+ * refund_amount is the OneshotGasDeposit returned to the granter
661
+ * (empty/zero for non-oneshot grants).
662
+ */
663
+ refund_amount?: CoinAmino;
664
+ }
665
+ export interface MsgRevokeGrantResponseAminoMsg {
666
+ type: "/sparkdream.session.v1.MsgRevokeGrantResponse";
667
+ value: MsgRevokeGrantResponseAmino;
668
+ }
669
+ /**
670
+ * MsgDeclineGrant lets the grantee opt out of an active grant by id.
671
+ * One-way; the granter must Revoke + CreateGrant to retry.
672
+ * @name MsgDeclineGrant
673
+ * @package sparkdream.session.v1
674
+ * @see proto type: sparkdream.session.v1.MsgDeclineGrant
675
+ */
676
+ export interface MsgDeclineGrant {
677
+ grantee: string;
678
+ grantId: bigint;
679
+ }
680
+ export interface MsgDeclineGrantProtoMsg {
681
+ typeUrl: "/sparkdream.session.v1.MsgDeclineGrant";
682
+ value: Uint8Array;
683
+ }
684
+ /**
685
+ * MsgDeclineGrant lets the grantee opt out of an active grant by id.
686
+ * One-way; the granter must Revoke + CreateGrant to retry.
687
+ * @name MsgDeclineGrantAmino
688
+ * @package sparkdream.session.v1
689
+ * @see proto type: sparkdream.session.v1.MsgDeclineGrant
690
+ */
691
+ export interface MsgDeclineGrantAmino {
692
+ grantee?: string;
693
+ grant_id?: string;
694
+ }
695
+ export interface MsgDeclineGrantAminoMsg {
696
+ type: "sparkdream/x/session/MsgDeclineGrant";
697
+ value: MsgDeclineGrantAmino;
698
+ }
699
+ /**
700
+ * @name MsgDeclineGrantResponse
701
+ * @package sparkdream.session.v1
702
+ * @see proto type: sparkdream.session.v1.MsgDeclineGrantResponse
703
+ */
704
+ export interface MsgDeclineGrantResponse {
705
+ /**
706
+ * refund_amount is the OneshotGasDeposit returned to the granter
707
+ * (empty/zero for non-oneshot grants).
708
+ */
709
+ refundAmount: Coin;
710
+ }
711
+ export interface MsgDeclineGrantResponseProtoMsg {
712
+ typeUrl: "/sparkdream.session.v1.MsgDeclineGrantResponse";
713
+ value: Uint8Array;
714
+ }
715
+ /**
716
+ * @name MsgDeclineGrantResponseAmino
717
+ * @package sparkdream.session.v1
718
+ * @see proto type: sparkdream.session.v1.MsgDeclineGrantResponse
719
+ */
720
+ export interface MsgDeclineGrantResponseAmino {
721
+ /**
722
+ * refund_amount is the OneshotGasDeposit returned to the granter
723
+ * (empty/zero for non-oneshot grants).
724
+ */
725
+ refund_amount?: CoinAmino;
726
+ }
727
+ export interface MsgDeclineGrantResponseAminoMsg {
728
+ type: "/sparkdream.session.v1.MsgDeclineGrantResponse";
729
+ value: MsgDeclineGrantResponseAmino;
730
+ }
302
731
  /**
303
732
  * MsgUpdateParams is the Msg/UpdateParams request type.
304
733
  * @name MsgUpdateParams
@@ -485,3 +914,234 @@ export declare const MsgExecSessionResponse: {
485
914
  toProto(message: MsgExecSessionResponse): Uint8Array;
486
915
  toProtoMsg(message: MsgExecSessionResponse): MsgExecSessionResponseProtoMsg;
487
916
  };
917
+ /**
918
+ * MsgCreateGrant is the unified entrypoint for creating any of the four
919
+ * typed grants. The grant type is inferred from the payload oneof; the
920
+ * handler dispatches to type-specific validation. Signed by the granter.
921
+ * @name MsgCreateGrant
922
+ * @package sparkdream.session.v1
923
+ * @see proto type: sparkdream.session.v1.MsgCreateGrant
924
+ */
925
+ export declare const MsgCreateGrant: {
926
+ typeUrl: string;
927
+ aminoType: string;
928
+ encode(message: MsgCreateGrant, writer?: BinaryWriter): BinaryWriter;
929
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGrant;
930
+ fromPartial(object: DeepPartial<MsgCreateGrant>): MsgCreateGrant;
931
+ fromAmino(object: MsgCreateGrantAmino): MsgCreateGrant;
932
+ toAmino(message: MsgCreateGrant): MsgCreateGrantAmino;
933
+ fromAminoMsg(object: MsgCreateGrantAminoMsg): MsgCreateGrant;
934
+ toAminoMsg(message: MsgCreateGrant): MsgCreateGrantAminoMsg;
935
+ fromProtoMsg(message: MsgCreateGrantProtoMsg): MsgCreateGrant;
936
+ toProto(message: MsgCreateGrant): Uint8Array;
937
+ toProtoMsg(message: MsgCreateGrant): MsgCreateGrantProtoMsg;
938
+ };
939
+ /**
940
+ * @name MsgCreateGrantResponse
941
+ * @package sparkdream.session.v1
942
+ * @see proto type: sparkdream.session.v1.MsgCreateGrantResponse
943
+ */
944
+ export declare const MsgCreateGrantResponse: {
945
+ typeUrl: string;
946
+ encode(message: MsgCreateGrantResponse, writer?: BinaryWriter): BinaryWriter;
947
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGrantResponse;
948
+ fromPartial(object: DeepPartial<MsgCreateGrantResponse>): MsgCreateGrantResponse;
949
+ fromAmino(object: MsgCreateGrantResponseAmino): MsgCreateGrantResponse;
950
+ toAmino(message: MsgCreateGrantResponse): MsgCreateGrantResponseAmino;
951
+ fromAminoMsg(object: MsgCreateGrantResponseAminoMsg): MsgCreateGrantResponse;
952
+ fromProtoMsg(message: MsgCreateGrantResponseProtoMsg): MsgCreateGrantResponse;
953
+ toProto(message: MsgCreateGrantResponse): Uint8Array;
954
+ toProtoMsg(message: MsgCreateGrantResponse): MsgCreateGrantResponseProtoMsg;
955
+ };
956
+ /**
957
+ * MsgClaimRecurringPull disburses one period of a RECURRING_PULL grant.
958
+ * Signed by the grantee on file.
959
+ * @name MsgClaimRecurringPull
960
+ * @package sparkdream.session.v1
961
+ * @see proto type: sparkdream.session.v1.MsgClaimRecurringPull
962
+ */
963
+ export declare const MsgClaimRecurringPull: {
964
+ typeUrl: string;
965
+ aminoType: string;
966
+ encode(message: MsgClaimRecurringPull, writer?: BinaryWriter): BinaryWriter;
967
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgClaimRecurringPull;
968
+ fromPartial(object: DeepPartial<MsgClaimRecurringPull>): MsgClaimRecurringPull;
969
+ fromAmino(object: MsgClaimRecurringPullAmino): MsgClaimRecurringPull;
970
+ toAmino(message: MsgClaimRecurringPull): MsgClaimRecurringPullAmino;
971
+ fromAminoMsg(object: MsgClaimRecurringPullAminoMsg): MsgClaimRecurringPull;
972
+ toAminoMsg(message: MsgClaimRecurringPull): MsgClaimRecurringPullAminoMsg;
973
+ fromProtoMsg(message: MsgClaimRecurringPullProtoMsg): MsgClaimRecurringPull;
974
+ toProto(message: MsgClaimRecurringPull): Uint8Array;
975
+ toProtoMsg(message: MsgClaimRecurringPull): MsgClaimRecurringPullProtoMsg;
976
+ };
977
+ /**
978
+ * @name MsgClaimRecurringPullResponse
979
+ * @package sparkdream.session.v1
980
+ * @see proto type: sparkdream.session.v1.MsgClaimRecurringPullResponse
981
+ */
982
+ export declare const MsgClaimRecurringPullResponse: {
983
+ typeUrl: string;
984
+ encode(message: MsgClaimRecurringPullResponse, writer?: BinaryWriter): BinaryWriter;
985
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgClaimRecurringPullResponse;
986
+ fromPartial(object: DeepPartial<MsgClaimRecurringPullResponse>): MsgClaimRecurringPullResponse;
987
+ fromAmino(object: MsgClaimRecurringPullResponseAmino): MsgClaimRecurringPullResponse;
988
+ toAmino(message: MsgClaimRecurringPullResponse): MsgClaimRecurringPullResponseAmino;
989
+ fromAminoMsg(object: MsgClaimRecurringPullResponseAminoMsg): MsgClaimRecurringPullResponse;
990
+ fromProtoMsg(message: MsgClaimRecurringPullResponseProtoMsg): MsgClaimRecurringPullResponse;
991
+ toProto(message: MsgClaimRecurringPullResponse): Uint8Array;
992
+ toProtoMsg(message: MsgClaimRecurringPullResponse): MsgClaimRecurringPullResponseProtoMsg;
993
+ };
994
+ /**
995
+ * MsgPullAllowance withdraws `amount` from a SPENDING_ALLOWANCE grant
996
+ * budget to `recipient`. Signed by the grantee on file.
997
+ * @name MsgPullAllowance
998
+ * @package sparkdream.session.v1
999
+ * @see proto type: sparkdream.session.v1.MsgPullAllowance
1000
+ */
1001
+ export declare const MsgPullAllowance: {
1002
+ typeUrl: string;
1003
+ aminoType: string;
1004
+ encode(message: MsgPullAllowance, writer?: BinaryWriter): BinaryWriter;
1005
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgPullAllowance;
1006
+ fromPartial(object: DeepPartial<MsgPullAllowance>): MsgPullAllowance;
1007
+ fromAmino(object: MsgPullAllowanceAmino): MsgPullAllowance;
1008
+ toAmino(message: MsgPullAllowance): MsgPullAllowanceAmino;
1009
+ fromAminoMsg(object: MsgPullAllowanceAminoMsg): MsgPullAllowance;
1010
+ toAminoMsg(message: MsgPullAllowance): MsgPullAllowanceAminoMsg;
1011
+ fromProtoMsg(message: MsgPullAllowanceProtoMsg): MsgPullAllowance;
1012
+ toProto(message: MsgPullAllowance): Uint8Array;
1013
+ toProtoMsg(message: MsgPullAllowance): MsgPullAllowanceProtoMsg;
1014
+ };
1015
+ /**
1016
+ * @name MsgPullAllowanceResponse
1017
+ * @package sparkdream.session.v1
1018
+ * @see proto type: sparkdream.session.v1.MsgPullAllowanceResponse
1019
+ */
1020
+ export declare const MsgPullAllowanceResponse: {
1021
+ typeUrl: string;
1022
+ encode(message: MsgPullAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
1023
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgPullAllowanceResponse;
1024
+ fromPartial(object: DeepPartial<MsgPullAllowanceResponse>): MsgPullAllowanceResponse;
1025
+ fromAmino(object: MsgPullAllowanceResponseAmino): MsgPullAllowanceResponse;
1026
+ toAmino(message: MsgPullAllowanceResponse): MsgPullAllowanceResponseAmino;
1027
+ fromAminoMsg(object: MsgPullAllowanceResponseAminoMsg): MsgPullAllowanceResponse;
1028
+ fromProtoMsg(message: MsgPullAllowanceResponseProtoMsg): MsgPullAllowanceResponse;
1029
+ toProto(message: MsgPullAllowanceResponse): Uint8Array;
1030
+ toProtoMsg(message: MsgPullAllowanceResponse): MsgPullAllowanceResponseProtoMsg;
1031
+ };
1032
+ /**
1033
+ * MsgRetryScheduledOneshot flips a PAUSED_INSUFFICIENT_FUNDS oneshot
1034
+ * back to ACTIVE with fire_at = block_time. Caller must be either the
1035
+ * granter or the grantee on file.
1036
+ * @name MsgRetryScheduledOneshot
1037
+ * @package sparkdream.session.v1
1038
+ * @see proto type: sparkdream.session.v1.MsgRetryScheduledOneshot
1039
+ */
1040
+ export declare const MsgRetryScheduledOneshot: {
1041
+ typeUrl: string;
1042
+ aminoType: string;
1043
+ encode(message: MsgRetryScheduledOneshot, writer?: BinaryWriter): BinaryWriter;
1044
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgRetryScheduledOneshot;
1045
+ fromPartial(object: DeepPartial<MsgRetryScheduledOneshot>): MsgRetryScheduledOneshot;
1046
+ fromAmino(object: MsgRetryScheduledOneshotAmino): MsgRetryScheduledOneshot;
1047
+ toAmino(message: MsgRetryScheduledOneshot): MsgRetryScheduledOneshotAmino;
1048
+ fromAminoMsg(object: MsgRetryScheduledOneshotAminoMsg): MsgRetryScheduledOneshot;
1049
+ toAminoMsg(message: MsgRetryScheduledOneshot): MsgRetryScheduledOneshotAminoMsg;
1050
+ fromProtoMsg(message: MsgRetryScheduledOneshotProtoMsg): MsgRetryScheduledOneshot;
1051
+ toProto(message: MsgRetryScheduledOneshot): Uint8Array;
1052
+ toProtoMsg(message: MsgRetryScheduledOneshot): MsgRetryScheduledOneshotProtoMsg;
1053
+ };
1054
+ /**
1055
+ * @name MsgRetryScheduledOneshotResponse
1056
+ * @package sparkdream.session.v1
1057
+ * @see proto type: sparkdream.session.v1.MsgRetryScheduledOneshotResponse
1058
+ */
1059
+ export declare const MsgRetryScheduledOneshotResponse: {
1060
+ typeUrl: string;
1061
+ encode(message: MsgRetryScheduledOneshotResponse, writer?: BinaryWriter): BinaryWriter;
1062
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgRetryScheduledOneshotResponse;
1063
+ fromPartial(object: DeepPartial<MsgRetryScheduledOneshotResponse>): MsgRetryScheduledOneshotResponse;
1064
+ fromAmino(object: MsgRetryScheduledOneshotResponseAmino): MsgRetryScheduledOneshotResponse;
1065
+ toAmino(message: MsgRetryScheduledOneshotResponse): MsgRetryScheduledOneshotResponseAmino;
1066
+ fromAminoMsg(object: MsgRetryScheduledOneshotResponseAminoMsg): MsgRetryScheduledOneshotResponse;
1067
+ fromProtoMsg(message: MsgRetryScheduledOneshotResponseProtoMsg): MsgRetryScheduledOneshotResponse;
1068
+ toProto(message: MsgRetryScheduledOneshotResponse): Uint8Array;
1069
+ toProtoMsg(message: MsgRetryScheduledOneshotResponse): MsgRetryScheduledOneshotResponseProtoMsg;
1070
+ };
1071
+ /**
1072
+ * MsgRevokeGrant cancels any active grant by id. Signed by the granter
1073
+ * (or a session key with allow_self_revoke = true and same-granter
1074
+ * scope).
1075
+ * @name MsgRevokeGrant
1076
+ * @package sparkdream.session.v1
1077
+ * @see proto type: sparkdream.session.v1.MsgRevokeGrant
1078
+ */
1079
+ export declare const MsgRevokeGrant: {
1080
+ typeUrl: string;
1081
+ aminoType: string;
1082
+ encode(message: MsgRevokeGrant, writer?: BinaryWriter): BinaryWriter;
1083
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeGrant;
1084
+ fromPartial(object: DeepPartial<MsgRevokeGrant>): MsgRevokeGrant;
1085
+ fromAmino(object: MsgRevokeGrantAmino): MsgRevokeGrant;
1086
+ toAmino(message: MsgRevokeGrant): MsgRevokeGrantAmino;
1087
+ fromAminoMsg(object: MsgRevokeGrantAminoMsg): MsgRevokeGrant;
1088
+ toAminoMsg(message: MsgRevokeGrant): MsgRevokeGrantAminoMsg;
1089
+ fromProtoMsg(message: MsgRevokeGrantProtoMsg): MsgRevokeGrant;
1090
+ toProto(message: MsgRevokeGrant): Uint8Array;
1091
+ toProtoMsg(message: MsgRevokeGrant): MsgRevokeGrantProtoMsg;
1092
+ };
1093
+ /**
1094
+ * @name MsgRevokeGrantResponse
1095
+ * @package sparkdream.session.v1
1096
+ * @see proto type: sparkdream.session.v1.MsgRevokeGrantResponse
1097
+ */
1098
+ export declare const MsgRevokeGrantResponse: {
1099
+ typeUrl: string;
1100
+ encode(message: MsgRevokeGrantResponse, writer?: BinaryWriter): BinaryWriter;
1101
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeGrantResponse;
1102
+ fromPartial(object: DeepPartial<MsgRevokeGrantResponse>): MsgRevokeGrantResponse;
1103
+ fromAmino(object: MsgRevokeGrantResponseAmino): MsgRevokeGrantResponse;
1104
+ toAmino(message: MsgRevokeGrantResponse): MsgRevokeGrantResponseAmino;
1105
+ fromAminoMsg(object: MsgRevokeGrantResponseAminoMsg): MsgRevokeGrantResponse;
1106
+ fromProtoMsg(message: MsgRevokeGrantResponseProtoMsg): MsgRevokeGrantResponse;
1107
+ toProto(message: MsgRevokeGrantResponse): Uint8Array;
1108
+ toProtoMsg(message: MsgRevokeGrantResponse): MsgRevokeGrantResponseProtoMsg;
1109
+ };
1110
+ /**
1111
+ * MsgDeclineGrant lets the grantee opt out of an active grant by id.
1112
+ * One-way; the granter must Revoke + CreateGrant to retry.
1113
+ * @name MsgDeclineGrant
1114
+ * @package sparkdream.session.v1
1115
+ * @see proto type: sparkdream.session.v1.MsgDeclineGrant
1116
+ */
1117
+ export declare const MsgDeclineGrant: {
1118
+ typeUrl: string;
1119
+ aminoType: string;
1120
+ encode(message: MsgDeclineGrant, writer?: BinaryWriter): BinaryWriter;
1121
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgDeclineGrant;
1122
+ fromPartial(object: DeepPartial<MsgDeclineGrant>): MsgDeclineGrant;
1123
+ fromAmino(object: MsgDeclineGrantAmino): MsgDeclineGrant;
1124
+ toAmino(message: MsgDeclineGrant): MsgDeclineGrantAmino;
1125
+ fromAminoMsg(object: MsgDeclineGrantAminoMsg): MsgDeclineGrant;
1126
+ toAminoMsg(message: MsgDeclineGrant): MsgDeclineGrantAminoMsg;
1127
+ fromProtoMsg(message: MsgDeclineGrantProtoMsg): MsgDeclineGrant;
1128
+ toProto(message: MsgDeclineGrant): Uint8Array;
1129
+ toProtoMsg(message: MsgDeclineGrant): MsgDeclineGrantProtoMsg;
1130
+ };
1131
+ /**
1132
+ * @name MsgDeclineGrantResponse
1133
+ * @package sparkdream.session.v1
1134
+ * @see proto type: sparkdream.session.v1.MsgDeclineGrantResponse
1135
+ */
1136
+ export declare const MsgDeclineGrantResponse: {
1137
+ typeUrl: string;
1138
+ encode(message: MsgDeclineGrantResponse, writer?: BinaryWriter): BinaryWriter;
1139
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgDeclineGrantResponse;
1140
+ fromPartial(object: DeepPartial<MsgDeclineGrantResponse>): MsgDeclineGrantResponse;
1141
+ fromAmino(object: MsgDeclineGrantResponseAmino): MsgDeclineGrantResponse;
1142
+ toAmino(message: MsgDeclineGrantResponse): MsgDeclineGrantResponseAmino;
1143
+ fromAminoMsg(object: MsgDeclineGrantResponseAminoMsg): MsgDeclineGrantResponse;
1144
+ fromProtoMsg(message: MsgDeclineGrantResponseProtoMsg): MsgDeclineGrantResponse;
1145
+ toProto(message: MsgDeclineGrantResponse): Uint8Array;
1146
+ toProtoMsg(message: MsgDeclineGrantResponse): MsgDeclineGrantResponseProtoMsg;
1147
+ };