coreum-js 2.11.0 → 2.13.0

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 (243) hide show
  1. package/dist/main/client/index.d.ts +2 -1
  2. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +1 -1
  3. package/dist/main/coreum/asset/ft/v1/genesis.js +25 -12
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +1 -1
  5. package/dist/main/coreum/asset/ft/v1/params.js +14 -6
  6. package/dist/main/coreum/asset/ft/v1/query.d.ts +2 -2
  7. package/dist/main/coreum/asset/ft/v1/query.js +116 -54
  8. package/dist/main/coreum/asset/ft/v1/token.d.ts +1 -0
  9. package/dist/main/coreum/asset/ft/v1/token.js +6 -0
  10. package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
  11. package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
  12. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
  13. package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
  14. package/dist/main/coreum/asset/nft/v1/params.js +14 -6
  15. package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
  16. package/dist/main/coreum/asset/nft/v1/query.js +49 -22
  17. package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
  18. package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
  19. package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
  20. package/dist/main/coreum/feemodel/v1/query.js +22 -11
  21. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  22. package/dist/main/coreum/nft/v1beta1/query.js +83 -39
  23. package/dist/main/cosmos/extensions/bank.d.ts +8 -8
  24. package/dist/main/cosmos/extensions/bank.js +2 -2
  25. package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
  26. package/dist/main/cosmos/extensions/distribution.js +1 -1
  27. package/dist/main/cosmos/extensions/gov.d.ts +21 -21
  28. package/dist/main/cosmos/extensions/gov.js +1 -1
  29. package/dist/main/cosmos/index.d.ts +12 -21
  30. package/dist/main/cosmos/index.js +50 -42
  31. package/dist/main/types/msgs.d.ts +4 -4
  32. package/dist/main/wasm/v1/authz.d.ts +1 -1
  33. package/dist/main/wasm/v1/authz.js +1 -1
  34. package/dist/main/wasm/v1/proposal.d.ts +1 -1
  35. package/dist/main/wasm/v1/proposal.js +1 -1
  36. package/dist/main/wasm/v1/tx.d.ts +1 -1
  37. package/dist/main/wasm/v1/tx.js +1 -1
  38. package/dist/module/client/index.d.ts +2 -1
  39. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
  40. package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
  41. package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
  42. package/dist/module/coreum/asset/ft/v1/params.js +14 -6
  43. package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
  44. package/dist/module/coreum/asset/ft/v1/query.js +116 -54
  45. package/dist/module/coreum/asset/ft/v1/token.d.ts +1 -0
  46. package/dist/module/coreum/asset/ft/v1/token.js +6 -0
  47. package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
  48. package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
  49. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
  50. package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
  51. package/dist/module/coreum/asset/nft/v1/params.js +14 -6
  52. package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
  53. package/dist/module/coreum/asset/nft/v1/query.js +49 -22
  54. package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
  55. package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
  56. package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
  57. package/dist/module/coreum/feemodel/v1/query.js +22 -11
  58. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  59. package/dist/module/coreum/nft/v1beta1/query.js +83 -39
  60. package/dist/module/cosmos/extensions/bank.d.ts +8 -8
  61. package/dist/module/cosmos/extensions/bank.js +2 -2
  62. package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
  63. package/dist/module/cosmos/extensions/distribution.js +1 -1
  64. package/dist/module/cosmos/extensions/gov.d.ts +21 -21
  65. package/dist/module/cosmos/extensions/gov.js +1 -1
  66. package/dist/module/cosmos/index.d.ts +12 -21
  67. package/dist/module/cosmos/index.js +29 -19
  68. package/dist/module/types/msgs.d.ts +4 -4
  69. package/dist/module/wasm/v1/authz.d.ts +1 -1
  70. package/dist/module/wasm/v1/authz.js +1 -1
  71. package/dist/module/wasm/v1/proposal.d.ts +1 -1
  72. package/dist/module/wasm/v1/proposal.js +1 -1
  73. package/dist/module/wasm/v1/tx.d.ts +1 -1
  74. package/dist/module/wasm/v1/tx.js +1 -1
  75. package/package.json +1 -1
  76. package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
  77. package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
  78. package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
  79. package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
  80. package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
  81. package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
  82. package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  83. package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
  84. package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  85. package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
  86. package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
  87. package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
  88. package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
  89. package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
  90. package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
  91. package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
  92. package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
  93. package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
  94. package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  95. package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
  96. package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  97. package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
  98. package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
  99. package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
  100. package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
  101. package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
  102. package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  103. package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
  104. package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
  105. package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
  106. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  107. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
  108. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  109. package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
  110. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  111. package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
  112. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  113. package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
  114. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
  115. package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
  116. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  117. package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
  118. package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  119. package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
  120. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  121. package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
  122. package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  123. package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
  124. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  125. package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
  126. package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  127. package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
  128. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  129. package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
  130. package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
  131. package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
  132. package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  133. package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
  134. package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
  135. package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
  136. package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
  137. package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
  138. package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
  139. package/dist/main/cosmos/msg/v1/msg.js +0 -5
  140. package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
  141. package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
  142. package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  143. package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
  144. package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  145. package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
  146. package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
  147. package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
  148. package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  149. package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
  150. package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
  151. package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
  152. package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  153. package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
  154. package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  155. package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
  156. package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  157. package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
  158. package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  159. package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
  160. package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
  161. package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
  162. package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
  163. package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
  164. package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
  165. package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
  166. package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  167. package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
  168. package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  169. package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
  170. package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
  171. package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
  172. package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
  173. package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
  174. package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
  175. package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
  176. package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
  177. package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
  178. package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  179. package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
  180. package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  181. package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
  182. package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
  183. package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
  184. package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
  185. package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
  186. package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  187. package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
  188. package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
  189. package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
  190. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  191. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
  192. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  193. package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
  194. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  195. package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
  196. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  197. package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
  198. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
  199. package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
  200. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  201. package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
  202. package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  203. package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
  204. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  205. package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
  206. package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  207. package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
  208. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  209. package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
  210. package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  211. package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
  212. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  213. package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
  214. package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
  215. package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
  216. package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  217. package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
  218. package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
  219. package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
  220. package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
  221. package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
  222. package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
  223. package/dist/module/cosmos/msg/v1/msg.js +0 -2
  224. package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
  225. package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
  226. package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  227. package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
  228. package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  229. package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
  230. package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
  231. package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
  232. package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  233. package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
  234. package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
  235. package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
  236. package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  237. package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
  238. package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  239. package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
  240. package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  241. package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
  242. package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  243. package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
@@ -1,514 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../base/v1beta1/coin";
3
- import { Input, Output, Params, SendEnabled } from "./bank";
4
- export declare const protobufPackage = "cosmos.bank.v1beta1";
5
- /** MsgSend represents a message to send coins from one account to another. */
6
- export interface MsgSend {
7
- fromAddress: string;
8
- toAddress: string;
9
- amount: Coin[];
10
- }
11
- /** MsgSendResponse defines the Msg/Send response type. */
12
- export interface MsgSendResponse {
13
- }
14
- /** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */
15
- export interface MsgMultiSend {
16
- /**
17
- * Inputs, despite being `repeated`, only allows one sender input. This is
18
- * checked in MsgMultiSend's ValidateBasic.
19
- */
20
- inputs: Input[];
21
- outputs: Output[];
22
- }
23
- /** MsgMultiSendResponse defines the Msg/MultiSend response type. */
24
- export interface MsgMultiSendResponse {
25
- }
26
- /**
27
- * MsgUpdateParams is the Msg/UpdateParams request type.
28
- *
29
- * Since: cosmos-sdk 0.47
30
- */
31
- export interface MsgUpdateParams {
32
- /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
33
- authority: string;
34
- /**
35
- * params defines the x/bank parameters to update.
36
- *
37
- * NOTE: All parameters must be supplied.
38
- */
39
- params: Params | undefined;
40
- }
41
- /**
42
- * MsgUpdateParamsResponse defines the response structure for executing a
43
- * MsgUpdateParams message.
44
- *
45
- * Since: cosmos-sdk 0.47
46
- */
47
- export interface MsgUpdateParamsResponse {
48
- }
49
- /**
50
- * MsgSetSendEnabled is the Msg/SetSendEnabled request type.
51
- *
52
- * Only entries to add/update/delete need to be included.
53
- * Existing SendEnabled entries that are not included in this
54
- * message are left unchanged.
55
- *
56
- * Since: cosmos-sdk 0.47
57
- */
58
- export interface MsgSetSendEnabled {
59
- authority: string;
60
- /** send_enabled is the list of entries to add or update. */
61
- sendEnabled: SendEnabled[];
62
- /**
63
- * use_default_for is a list of denoms that should use the params.default_send_enabled value.
64
- * Denoms listed here will have their SendEnabled entries deleted.
65
- * If a denom is included that doesn't have a SendEnabled entry,
66
- * it will be ignored.
67
- */
68
- useDefaultFor: string[];
69
- }
70
- /**
71
- * MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.
72
- *
73
- * Since: cosmos-sdk 0.47
74
- */
75
- export interface MsgSetSendEnabledResponse {
76
- }
77
- export declare const MsgSend: {
78
- encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer;
79
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend;
80
- fromJSON(object: any): MsgSend;
81
- toJSON(message: MsgSend): unknown;
82
- create<I extends {
83
- fromAddress?: string;
84
- toAddress?: string;
85
- amount?: {
86
- denom?: string;
87
- amount?: string;
88
- }[];
89
- } & {
90
- fromAddress?: string;
91
- toAddress?: string;
92
- amount?: {
93
- denom?: string;
94
- amount?: string;
95
- }[] & ({
96
- denom?: string;
97
- amount?: string;
98
- } & {
99
- denom?: string;
100
- amount?: string;
101
- } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
102
- denom?: string;
103
- amount?: string;
104
- }[]>]: never; };
105
- } & { [K_2 in Exclude<keyof I, keyof MsgSend>]: never; }>(base?: I): MsgSend;
106
- fromPartial<I_1 extends {
107
- fromAddress?: string;
108
- toAddress?: string;
109
- amount?: {
110
- denom?: string;
111
- amount?: string;
112
- }[];
113
- } & {
114
- fromAddress?: string;
115
- toAddress?: string;
116
- amount?: {
117
- denom?: string;
118
- amount?: string;
119
- }[] & ({
120
- denom?: string;
121
- amount?: string;
122
- } & {
123
- denom?: string;
124
- amount?: string;
125
- } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
126
- denom?: string;
127
- amount?: string;
128
- }[]>]: never; };
129
- } & { [K_5 in Exclude<keyof I_1, keyof MsgSend>]: never; }>(object: I_1): MsgSend;
130
- };
131
- export declare const MsgSendResponse: {
132
- encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer;
133
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse;
134
- fromJSON(_: any): MsgSendResponse;
135
- toJSON(_: MsgSendResponse): unknown;
136
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgSendResponse;
137
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgSendResponse;
138
- };
139
- export declare const MsgMultiSend: {
140
- encode(message: MsgMultiSend, writer?: _m0.Writer): _m0.Writer;
141
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend;
142
- fromJSON(object: any): MsgMultiSend;
143
- toJSON(message: MsgMultiSend): unknown;
144
- create<I extends {
145
- inputs?: {
146
- address?: string;
147
- coins?: {
148
- denom?: string;
149
- amount?: string;
150
- }[];
151
- }[];
152
- outputs?: {
153
- address?: string;
154
- coins?: {
155
- denom?: string;
156
- amount?: string;
157
- }[];
158
- }[];
159
- } & {
160
- inputs?: {
161
- address?: string;
162
- coins?: {
163
- denom?: string;
164
- amount?: string;
165
- }[];
166
- }[] & ({
167
- address?: string;
168
- coins?: {
169
- denom?: string;
170
- amount?: string;
171
- }[];
172
- } & {
173
- address?: string;
174
- coins?: {
175
- denom?: string;
176
- amount?: string;
177
- }[] & ({
178
- denom?: string;
179
- amount?: string;
180
- } & {
181
- denom?: string;
182
- amount?: string;
183
- } & { [K in Exclude<keyof I["inputs"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["inputs"][number]["coins"], keyof {
184
- denom?: string;
185
- amount?: string;
186
- }[]>]: never; };
187
- } & { [K_2 in Exclude<keyof I["inputs"][number], keyof Input>]: never; })[] & { [K_3 in Exclude<keyof I["inputs"], keyof {
188
- address?: string;
189
- coins?: {
190
- denom?: string;
191
- amount?: string;
192
- }[];
193
- }[]>]: never; };
194
- outputs?: {
195
- address?: string;
196
- coins?: {
197
- denom?: string;
198
- amount?: string;
199
- }[];
200
- }[] & ({
201
- address?: string;
202
- coins?: {
203
- denom?: string;
204
- amount?: string;
205
- }[];
206
- } & {
207
- address?: string;
208
- coins?: {
209
- denom?: string;
210
- amount?: string;
211
- }[] & ({
212
- denom?: string;
213
- amount?: string;
214
- } & {
215
- denom?: string;
216
- amount?: string;
217
- } & { [K_4 in Exclude<keyof I["outputs"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["outputs"][number]["coins"], keyof {
218
- denom?: string;
219
- amount?: string;
220
- }[]>]: never; };
221
- } & { [K_6 in Exclude<keyof I["outputs"][number], keyof Output>]: never; })[] & { [K_7 in Exclude<keyof I["outputs"], keyof {
222
- address?: string;
223
- coins?: {
224
- denom?: string;
225
- amount?: string;
226
- }[];
227
- }[]>]: never; };
228
- } & { [K_8 in Exclude<keyof I, keyof MsgMultiSend>]: never; }>(base?: I): MsgMultiSend;
229
- fromPartial<I_1 extends {
230
- inputs?: {
231
- address?: string;
232
- coins?: {
233
- denom?: string;
234
- amount?: string;
235
- }[];
236
- }[];
237
- outputs?: {
238
- address?: string;
239
- coins?: {
240
- denom?: string;
241
- amount?: string;
242
- }[];
243
- }[];
244
- } & {
245
- inputs?: {
246
- address?: string;
247
- coins?: {
248
- denom?: string;
249
- amount?: string;
250
- }[];
251
- }[] & ({
252
- address?: string;
253
- coins?: {
254
- denom?: string;
255
- amount?: string;
256
- }[];
257
- } & {
258
- address?: string;
259
- coins?: {
260
- denom?: string;
261
- amount?: string;
262
- }[] & ({
263
- denom?: string;
264
- amount?: string;
265
- } & {
266
- denom?: string;
267
- amount?: string;
268
- } & { [K_9 in Exclude<keyof I_1["inputs"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_10 in Exclude<keyof I_1["inputs"][number]["coins"], keyof {
269
- denom?: string;
270
- amount?: string;
271
- }[]>]: never; };
272
- } & { [K_11 in Exclude<keyof I_1["inputs"][number], keyof Input>]: never; })[] & { [K_12 in Exclude<keyof I_1["inputs"], keyof {
273
- address?: string;
274
- coins?: {
275
- denom?: string;
276
- amount?: string;
277
- }[];
278
- }[]>]: never; };
279
- outputs?: {
280
- address?: string;
281
- coins?: {
282
- denom?: string;
283
- amount?: string;
284
- }[];
285
- }[] & ({
286
- address?: string;
287
- coins?: {
288
- denom?: string;
289
- amount?: string;
290
- }[];
291
- } & {
292
- address?: string;
293
- coins?: {
294
- denom?: string;
295
- amount?: string;
296
- }[] & ({
297
- denom?: string;
298
- amount?: string;
299
- } & {
300
- denom?: string;
301
- amount?: string;
302
- } & { [K_13 in Exclude<keyof I_1["outputs"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_14 in Exclude<keyof I_1["outputs"][number]["coins"], keyof {
303
- denom?: string;
304
- amount?: string;
305
- }[]>]: never; };
306
- } & { [K_15 in Exclude<keyof I_1["outputs"][number], keyof Output>]: never; })[] & { [K_16 in Exclude<keyof I_1["outputs"], keyof {
307
- address?: string;
308
- coins?: {
309
- denom?: string;
310
- amount?: string;
311
- }[];
312
- }[]>]: never; };
313
- } & { [K_17 in Exclude<keyof I_1, keyof MsgMultiSend>]: never; }>(object: I_1): MsgMultiSend;
314
- };
315
- export declare const MsgMultiSendResponse: {
316
- encode(_: MsgMultiSendResponse, writer?: _m0.Writer): _m0.Writer;
317
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse;
318
- fromJSON(_: any): MsgMultiSendResponse;
319
- toJSON(_: MsgMultiSendResponse): unknown;
320
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgMultiSendResponse;
321
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgMultiSendResponse;
322
- };
323
- export declare const MsgUpdateParams: {
324
- encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
325
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
326
- fromJSON(object: any): MsgUpdateParams;
327
- toJSON(message: MsgUpdateParams): unknown;
328
- create<I extends {
329
- authority?: string;
330
- params?: {
331
- sendEnabled?: {
332
- denom?: string;
333
- enabled?: boolean;
334
- }[];
335
- defaultSendEnabled?: boolean;
336
- };
337
- } & {
338
- authority?: string;
339
- params?: {
340
- sendEnabled?: {
341
- denom?: string;
342
- enabled?: boolean;
343
- }[];
344
- defaultSendEnabled?: boolean;
345
- } & {
346
- sendEnabled?: {
347
- denom?: string;
348
- enabled?: boolean;
349
- }[] & ({
350
- denom?: string;
351
- enabled?: boolean;
352
- } & {
353
- denom?: string;
354
- enabled?: boolean;
355
- } & { [K in Exclude<keyof I["params"]["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["params"]["sendEnabled"], keyof {
356
- denom?: string;
357
- enabled?: boolean;
358
- }[]>]: never; };
359
- defaultSendEnabled?: boolean;
360
- } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
361
- } & { [K_3 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(base?: I): MsgUpdateParams;
362
- fromPartial<I_1 extends {
363
- authority?: string;
364
- params?: {
365
- sendEnabled?: {
366
- denom?: string;
367
- enabled?: boolean;
368
- }[];
369
- defaultSendEnabled?: boolean;
370
- };
371
- } & {
372
- authority?: string;
373
- params?: {
374
- sendEnabled?: {
375
- denom?: string;
376
- enabled?: boolean;
377
- }[];
378
- defaultSendEnabled?: boolean;
379
- } & {
380
- sendEnabled?: {
381
- denom?: string;
382
- enabled?: boolean;
383
- }[] & ({
384
- denom?: string;
385
- enabled?: boolean;
386
- } & {
387
- denom?: string;
388
- enabled?: boolean;
389
- } & { [K_4 in Exclude<keyof I_1["params"]["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_5 in Exclude<keyof I_1["params"]["sendEnabled"], keyof {
390
- denom?: string;
391
- enabled?: boolean;
392
- }[]>]: never; };
393
- defaultSendEnabled?: boolean;
394
- } & { [K_6 in Exclude<keyof I_1["params"], keyof Params>]: never; };
395
- } & { [K_7 in Exclude<keyof I_1, keyof MsgUpdateParams>]: never; }>(object: I_1): MsgUpdateParams;
396
- };
397
- export declare const MsgUpdateParamsResponse: {
398
- encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
399
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
400
- fromJSON(_: any): MsgUpdateParamsResponse;
401
- toJSON(_: MsgUpdateParamsResponse): unknown;
402
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateParamsResponse;
403
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateParamsResponse;
404
- };
405
- export declare const MsgSetSendEnabled: {
406
- encode(message: MsgSetSendEnabled, writer?: _m0.Writer): _m0.Writer;
407
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetSendEnabled;
408
- fromJSON(object: any): MsgSetSendEnabled;
409
- toJSON(message: MsgSetSendEnabled): unknown;
410
- create<I extends {
411
- authority?: string;
412
- sendEnabled?: {
413
- denom?: string;
414
- enabled?: boolean;
415
- }[];
416
- useDefaultFor?: string[];
417
- } & {
418
- authority?: string;
419
- sendEnabled?: {
420
- denom?: string;
421
- enabled?: boolean;
422
- }[] & ({
423
- denom?: string;
424
- enabled?: boolean;
425
- } & {
426
- denom?: string;
427
- enabled?: boolean;
428
- } & { [K in Exclude<keyof I["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["sendEnabled"], keyof {
429
- denom?: string;
430
- enabled?: boolean;
431
- }[]>]: never; };
432
- useDefaultFor?: string[] & string[] & { [K_2 in Exclude<keyof I["useDefaultFor"], keyof string[]>]: never; };
433
- } & { [K_3 in Exclude<keyof I, keyof MsgSetSendEnabled>]: never; }>(base?: I): MsgSetSendEnabled;
434
- fromPartial<I_1 extends {
435
- authority?: string;
436
- sendEnabled?: {
437
- denom?: string;
438
- enabled?: boolean;
439
- }[];
440
- useDefaultFor?: string[];
441
- } & {
442
- authority?: string;
443
- sendEnabled?: {
444
- denom?: string;
445
- enabled?: boolean;
446
- }[] & ({
447
- denom?: string;
448
- enabled?: boolean;
449
- } & {
450
- denom?: string;
451
- enabled?: boolean;
452
- } & { [K_4 in Exclude<keyof I_1["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_5 in Exclude<keyof I_1["sendEnabled"], keyof {
453
- denom?: string;
454
- enabled?: boolean;
455
- }[]>]: never; };
456
- useDefaultFor?: string[] & string[] & { [K_6 in Exclude<keyof I_1["useDefaultFor"], keyof string[]>]: never; };
457
- } & { [K_7 in Exclude<keyof I_1, keyof MsgSetSendEnabled>]: never; }>(object: I_1): MsgSetSendEnabled;
458
- };
459
- export declare const MsgSetSendEnabledResponse: {
460
- encode(_: MsgSetSendEnabledResponse, writer?: _m0.Writer): _m0.Writer;
461
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetSendEnabledResponse;
462
- fromJSON(_: any): MsgSetSendEnabledResponse;
463
- toJSON(_: MsgSetSendEnabledResponse): unknown;
464
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgSetSendEnabledResponse;
465
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgSetSendEnabledResponse;
466
- };
467
- /** Msg defines the bank Msg service. */
468
- export interface Msg {
469
- /** Send defines a method for sending coins from one account to another account. */
470
- Send(request: MsgSend): Promise<MsgSendResponse>;
471
- /** MultiSend defines a method for sending coins from some accounts to other accounts. */
472
- MultiSend(request: MsgMultiSend): Promise<MsgMultiSendResponse>;
473
- /**
474
- * UpdateParams defines a governance operation for updating the x/bank module parameters.
475
- * The authority is defined in the keeper.
476
- *
477
- * Since: cosmos-sdk 0.47
478
- */
479
- UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
480
- /**
481
- * SetSendEnabled is a governance operation for setting the SendEnabled flag
482
- * on any number of Denoms. Only the entries to add or update should be
483
- * included. Entries that already exist in the store, but that aren't
484
- * included in this message, will be left unchanged.
485
- *
486
- * Since: cosmos-sdk 0.47
487
- */
488
- SetSendEnabled(request: MsgSetSendEnabled): Promise<MsgSetSendEnabledResponse>;
489
- }
490
- export declare class MsgClientImpl implements Msg {
491
- private readonly rpc;
492
- private readonly service;
493
- constructor(rpc: Rpc, opts?: {
494
- service?: string;
495
- });
496
- Send(request: MsgSend): Promise<MsgSendResponse>;
497
- MultiSend(request: MsgMultiSend): Promise<MsgMultiSendResponse>;
498
- UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
499
- SetSendEnabled(request: MsgSetSendEnabled): Promise<MsgSetSendEnabledResponse>;
500
- }
501
- interface Rpc {
502
- request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
503
- }
504
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
505
- export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
506
- [K in keyof T]?: DeepPartial<T[K]>;
507
- } : Partial<T>;
508
- type KeysOfUnion<T> = T extends T ? keyof T : never;
509
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
510
- [K in keyof P]: Exact<P[K], I[K]>;
511
- } & {
512
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
513
- };
514
- export {};