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,593 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../base/v1beta1/coin";
3
- import { Params } from "./distribution";
4
- export declare const protobufPackage = "cosmos.distribution.v1beta1";
5
- /**
6
- * MsgSetWithdrawAddress sets the withdraw address for
7
- * a delegator (or validator self-delegation).
8
- */
9
- export interface MsgSetWithdrawAddress {
10
- delegatorAddress: string;
11
- withdrawAddress: string;
12
- }
13
- /**
14
- * MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response
15
- * type.
16
- */
17
- export interface MsgSetWithdrawAddressResponse {
18
- }
19
- /**
20
- * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
21
- * from a single validator.
22
- */
23
- export interface MsgWithdrawDelegatorReward {
24
- delegatorAddress: string;
25
- validatorAddress: string;
26
- }
27
- /**
28
- * MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward
29
- * response type.
30
- */
31
- export interface MsgWithdrawDelegatorRewardResponse {
32
- /** Since: cosmos-sdk 0.46 */
33
- amount: Coin[];
34
- }
35
- /**
36
- * MsgWithdrawValidatorCommission withdraws the full commission to the validator
37
- * address.
38
- */
39
- export interface MsgWithdrawValidatorCommission {
40
- validatorAddress: string;
41
- }
42
- /**
43
- * MsgWithdrawValidatorCommissionResponse defines the
44
- * Msg/WithdrawValidatorCommission response type.
45
- */
46
- export interface MsgWithdrawValidatorCommissionResponse {
47
- /** Since: cosmos-sdk 0.46 */
48
- amount: Coin[];
49
- }
50
- /**
51
- * MsgFundCommunityPool allows an account to directly
52
- * fund the community pool.
53
- */
54
- export interface MsgFundCommunityPool {
55
- amount: Coin[];
56
- depositor: string;
57
- }
58
- /** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */
59
- export interface MsgFundCommunityPoolResponse {
60
- }
61
- /**
62
- * MsgUpdateParams is the Msg/UpdateParams request type.
63
- *
64
- * Since: cosmos-sdk 0.47
65
- */
66
- export interface MsgUpdateParams {
67
- /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
68
- authority: string;
69
- /**
70
- * params defines the x/distribution parameters to update.
71
- *
72
- * NOTE: All parameters must be supplied.
73
- */
74
- params: Params | undefined;
75
- }
76
- /**
77
- * MsgUpdateParamsResponse defines the response structure for executing a
78
- * MsgUpdateParams message.
79
- *
80
- * Since: cosmos-sdk 0.47
81
- */
82
- export interface MsgUpdateParamsResponse {
83
- }
84
- /**
85
- * MsgCommunityPoolSpend defines a message for sending tokens from the community
86
- * pool to another account. This message is typically executed via a governance
87
- * proposal with the governance module being the executing authority.
88
- *
89
- * Since: cosmos-sdk 0.47
90
- */
91
- export interface MsgCommunityPoolSpend {
92
- /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
93
- authority: string;
94
- recipient: string;
95
- amount: Coin[];
96
- }
97
- /**
98
- * MsgCommunityPoolSpendResponse defines the response to executing a
99
- * MsgCommunityPoolSpend message.
100
- *
101
- * Since: cosmos-sdk 0.47
102
- */
103
- export interface MsgCommunityPoolSpendResponse {
104
- }
105
- /**
106
- * DepositValidatorRewardsPool defines the request structure to provide
107
- * additional rewards to delegators from a specific validator.
108
- *
109
- * Since: cosmos-sdk 0.48
110
- */
111
- export interface MsgDepositValidatorRewardsPool {
112
- depositor: string;
113
- validatorAddress: string;
114
- amount: Coin[];
115
- }
116
- /**
117
- * MsgDepositValidatorRewardsPoolResponse defines the response to executing a
118
- * MsgDepositValidatorRewardsPool message.
119
- *
120
- * Since: cosmos-sdk 0.48
121
- */
122
- export interface MsgDepositValidatorRewardsPoolResponse {
123
- }
124
- export declare const MsgSetWithdrawAddress: {
125
- encode(message: MsgSetWithdrawAddress, writer?: _m0.Writer): _m0.Writer;
126
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress;
127
- fromJSON(object: any): MsgSetWithdrawAddress;
128
- toJSON(message: MsgSetWithdrawAddress): unknown;
129
- create<I extends {
130
- delegatorAddress?: string;
131
- withdrawAddress?: string;
132
- } & {
133
- delegatorAddress?: string;
134
- withdrawAddress?: string;
135
- } & { [K in Exclude<keyof I, keyof MsgSetWithdrawAddress>]: never; }>(base?: I): MsgSetWithdrawAddress;
136
- fromPartial<I_1 extends {
137
- delegatorAddress?: string;
138
- withdrawAddress?: string;
139
- } & {
140
- delegatorAddress?: string;
141
- withdrawAddress?: string;
142
- } & { [K_1 in Exclude<keyof I_1, keyof MsgSetWithdrawAddress>]: never; }>(object: I_1): MsgSetWithdrawAddress;
143
- };
144
- export declare const MsgSetWithdrawAddressResponse: {
145
- encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer;
146
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse;
147
- fromJSON(_: any): MsgSetWithdrawAddressResponse;
148
- toJSON(_: MsgSetWithdrawAddressResponse): unknown;
149
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgSetWithdrawAddressResponse;
150
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgSetWithdrawAddressResponse;
151
- };
152
- export declare const MsgWithdrawDelegatorReward: {
153
- encode(message: MsgWithdrawDelegatorReward, writer?: _m0.Writer): _m0.Writer;
154
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward;
155
- fromJSON(object: any): MsgWithdrawDelegatorReward;
156
- toJSON(message: MsgWithdrawDelegatorReward): unknown;
157
- create<I extends {
158
- delegatorAddress?: string;
159
- validatorAddress?: string;
160
- } & {
161
- delegatorAddress?: string;
162
- validatorAddress?: string;
163
- } & { [K in Exclude<keyof I, keyof MsgWithdrawDelegatorReward>]: never; }>(base?: I): MsgWithdrawDelegatorReward;
164
- fromPartial<I_1 extends {
165
- delegatorAddress?: string;
166
- validatorAddress?: string;
167
- } & {
168
- delegatorAddress?: string;
169
- validatorAddress?: string;
170
- } & { [K_1 in Exclude<keyof I_1, keyof MsgWithdrawDelegatorReward>]: never; }>(object: I_1): MsgWithdrawDelegatorReward;
171
- };
172
- export declare const MsgWithdrawDelegatorRewardResponse: {
173
- encode(message: MsgWithdrawDelegatorRewardResponse, writer?: _m0.Writer): _m0.Writer;
174
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse;
175
- fromJSON(object: any): MsgWithdrawDelegatorRewardResponse;
176
- toJSON(message: MsgWithdrawDelegatorRewardResponse): unknown;
177
- create<I extends {
178
- amount?: {
179
- denom?: string;
180
- amount?: string;
181
- }[];
182
- } & {
183
- amount?: {
184
- denom?: string;
185
- amount?: string;
186
- }[] & ({
187
- denom?: string;
188
- amount?: string;
189
- } & {
190
- denom?: string;
191
- amount?: string;
192
- } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
193
- denom?: string;
194
- amount?: string;
195
- }[]>]: never; };
196
- } & { [K_2 in Exclude<keyof I, "amount">]: never; }>(base?: I): MsgWithdrawDelegatorRewardResponse;
197
- fromPartial<I_1 extends {
198
- amount?: {
199
- denom?: string;
200
- amount?: string;
201
- }[];
202
- } & {
203
- amount?: {
204
- denom?: string;
205
- amount?: string;
206
- }[] & ({
207
- denom?: string;
208
- amount?: string;
209
- } & {
210
- denom?: string;
211
- amount?: string;
212
- } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
213
- denom?: string;
214
- amount?: string;
215
- }[]>]: never; };
216
- } & { [K_5 in Exclude<keyof I_1, "amount">]: never; }>(object: I_1): MsgWithdrawDelegatorRewardResponse;
217
- };
218
- export declare const MsgWithdrawValidatorCommission: {
219
- encode(message: MsgWithdrawValidatorCommission, writer?: _m0.Writer): _m0.Writer;
220
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission;
221
- fromJSON(object: any): MsgWithdrawValidatorCommission;
222
- toJSON(message: MsgWithdrawValidatorCommission): unknown;
223
- create<I extends {
224
- validatorAddress?: string;
225
- } & {
226
- validatorAddress?: string;
227
- } & { [K in Exclude<keyof I, "validatorAddress">]: never; }>(base?: I): MsgWithdrawValidatorCommission;
228
- fromPartial<I_1 extends {
229
- validatorAddress?: string;
230
- } & {
231
- validatorAddress?: string;
232
- } & { [K_1 in Exclude<keyof I_1, "validatorAddress">]: never; }>(object: I_1): MsgWithdrawValidatorCommission;
233
- };
234
- export declare const MsgWithdrawValidatorCommissionResponse: {
235
- encode(message: MsgWithdrawValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer;
236
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse;
237
- fromJSON(object: any): MsgWithdrawValidatorCommissionResponse;
238
- toJSON(message: MsgWithdrawValidatorCommissionResponse): unknown;
239
- create<I extends {
240
- amount?: {
241
- denom?: string;
242
- amount?: string;
243
- }[];
244
- } & {
245
- amount?: {
246
- denom?: string;
247
- amount?: string;
248
- }[] & ({
249
- denom?: string;
250
- amount?: string;
251
- } & {
252
- denom?: string;
253
- amount?: string;
254
- } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
255
- denom?: string;
256
- amount?: string;
257
- }[]>]: never; };
258
- } & { [K_2 in Exclude<keyof I, "amount">]: never; }>(base?: I): MsgWithdrawValidatorCommissionResponse;
259
- fromPartial<I_1 extends {
260
- amount?: {
261
- denom?: string;
262
- amount?: string;
263
- }[];
264
- } & {
265
- amount?: {
266
- denom?: string;
267
- amount?: string;
268
- }[] & ({
269
- denom?: string;
270
- amount?: string;
271
- } & {
272
- denom?: string;
273
- amount?: string;
274
- } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
275
- denom?: string;
276
- amount?: string;
277
- }[]>]: never; };
278
- } & { [K_5 in Exclude<keyof I_1, "amount">]: never; }>(object: I_1): MsgWithdrawValidatorCommissionResponse;
279
- };
280
- export declare const MsgFundCommunityPool: {
281
- encode(message: MsgFundCommunityPool, writer?: _m0.Writer): _m0.Writer;
282
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool;
283
- fromJSON(object: any): MsgFundCommunityPool;
284
- toJSON(message: MsgFundCommunityPool): unknown;
285
- create<I extends {
286
- amount?: {
287
- denom?: string;
288
- amount?: string;
289
- }[];
290
- depositor?: string;
291
- } & {
292
- amount?: {
293
- denom?: string;
294
- amount?: string;
295
- }[] & ({
296
- denom?: string;
297
- amount?: string;
298
- } & {
299
- denom?: string;
300
- amount?: string;
301
- } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
302
- denom?: string;
303
- amount?: string;
304
- }[]>]: never; };
305
- depositor?: string;
306
- } & { [K_2 in Exclude<keyof I, keyof MsgFundCommunityPool>]: never; }>(base?: I): MsgFundCommunityPool;
307
- fromPartial<I_1 extends {
308
- amount?: {
309
- denom?: string;
310
- amount?: string;
311
- }[];
312
- depositor?: string;
313
- } & {
314
- amount?: {
315
- denom?: string;
316
- amount?: string;
317
- }[] & ({
318
- denom?: string;
319
- amount?: string;
320
- } & {
321
- denom?: string;
322
- amount?: string;
323
- } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
324
- denom?: string;
325
- amount?: string;
326
- }[]>]: never; };
327
- depositor?: string;
328
- } & { [K_5 in Exclude<keyof I_1, keyof MsgFundCommunityPool>]: never; }>(object: I_1): MsgFundCommunityPool;
329
- };
330
- export declare const MsgFundCommunityPoolResponse: {
331
- encode(_: MsgFundCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer;
332
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse;
333
- fromJSON(_: any): MsgFundCommunityPoolResponse;
334
- toJSON(_: MsgFundCommunityPoolResponse): unknown;
335
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgFundCommunityPoolResponse;
336
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgFundCommunityPoolResponse;
337
- };
338
- export declare const MsgUpdateParams: {
339
- encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
340
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
341
- fromJSON(object: any): MsgUpdateParams;
342
- toJSON(message: MsgUpdateParams): unknown;
343
- create<I extends {
344
- authority?: string;
345
- params?: {
346
- communityTax?: string;
347
- baseProposerReward?: string;
348
- bonusProposerReward?: string;
349
- withdrawAddrEnabled?: boolean;
350
- };
351
- } & {
352
- authority?: string;
353
- params?: {
354
- communityTax?: string;
355
- baseProposerReward?: string;
356
- bonusProposerReward?: string;
357
- withdrawAddrEnabled?: boolean;
358
- } & {
359
- communityTax?: string;
360
- baseProposerReward?: string;
361
- bonusProposerReward?: string;
362
- withdrawAddrEnabled?: boolean;
363
- } & { [K in Exclude<keyof I["params"], keyof Params>]: never; };
364
- } & { [K_1 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(base?: I): MsgUpdateParams;
365
- fromPartial<I_1 extends {
366
- authority?: string;
367
- params?: {
368
- communityTax?: string;
369
- baseProposerReward?: string;
370
- bonusProposerReward?: string;
371
- withdrawAddrEnabled?: boolean;
372
- };
373
- } & {
374
- authority?: string;
375
- params?: {
376
- communityTax?: string;
377
- baseProposerReward?: string;
378
- bonusProposerReward?: string;
379
- withdrawAddrEnabled?: boolean;
380
- } & {
381
- communityTax?: string;
382
- baseProposerReward?: string;
383
- bonusProposerReward?: string;
384
- withdrawAddrEnabled?: boolean;
385
- } & { [K_2 in Exclude<keyof I_1["params"], keyof Params>]: never; };
386
- } & { [K_3 in Exclude<keyof I_1, keyof MsgUpdateParams>]: never; }>(object: I_1): MsgUpdateParams;
387
- };
388
- export declare const MsgUpdateParamsResponse: {
389
- encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
390
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
391
- fromJSON(_: any): MsgUpdateParamsResponse;
392
- toJSON(_: MsgUpdateParamsResponse): unknown;
393
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateParamsResponse;
394
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateParamsResponse;
395
- };
396
- export declare const MsgCommunityPoolSpend: {
397
- encode(message: MsgCommunityPoolSpend, writer?: _m0.Writer): _m0.Writer;
398
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgCommunityPoolSpend;
399
- fromJSON(object: any): MsgCommunityPoolSpend;
400
- toJSON(message: MsgCommunityPoolSpend): unknown;
401
- create<I extends {
402
- authority?: string;
403
- recipient?: string;
404
- amount?: {
405
- denom?: string;
406
- amount?: string;
407
- }[];
408
- } & {
409
- authority?: string;
410
- recipient?: string;
411
- amount?: {
412
- denom?: string;
413
- amount?: string;
414
- }[] & ({
415
- denom?: string;
416
- amount?: string;
417
- } & {
418
- denom?: string;
419
- amount?: string;
420
- } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
421
- denom?: string;
422
- amount?: string;
423
- }[]>]: never; };
424
- } & { [K_2 in Exclude<keyof I, keyof MsgCommunityPoolSpend>]: never; }>(base?: I): MsgCommunityPoolSpend;
425
- fromPartial<I_1 extends {
426
- authority?: string;
427
- recipient?: string;
428
- amount?: {
429
- denom?: string;
430
- amount?: string;
431
- }[];
432
- } & {
433
- authority?: string;
434
- recipient?: string;
435
- amount?: {
436
- denom?: string;
437
- amount?: string;
438
- }[] & ({
439
- denom?: string;
440
- amount?: string;
441
- } & {
442
- denom?: string;
443
- amount?: string;
444
- } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
445
- denom?: string;
446
- amount?: string;
447
- }[]>]: never; };
448
- } & { [K_5 in Exclude<keyof I_1, keyof MsgCommunityPoolSpend>]: never; }>(object: I_1): MsgCommunityPoolSpend;
449
- };
450
- export declare const MsgCommunityPoolSpendResponse: {
451
- encode(_: MsgCommunityPoolSpendResponse, writer?: _m0.Writer): _m0.Writer;
452
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgCommunityPoolSpendResponse;
453
- fromJSON(_: any): MsgCommunityPoolSpendResponse;
454
- toJSON(_: MsgCommunityPoolSpendResponse): unknown;
455
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgCommunityPoolSpendResponse;
456
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgCommunityPoolSpendResponse;
457
- };
458
- export declare const MsgDepositValidatorRewardsPool: {
459
- encode(message: MsgDepositValidatorRewardsPool, writer?: _m0.Writer): _m0.Writer;
460
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositValidatorRewardsPool;
461
- fromJSON(object: any): MsgDepositValidatorRewardsPool;
462
- toJSON(message: MsgDepositValidatorRewardsPool): unknown;
463
- create<I extends {
464
- depositor?: string;
465
- validatorAddress?: string;
466
- amount?: {
467
- denom?: string;
468
- amount?: string;
469
- }[];
470
- } & {
471
- depositor?: string;
472
- validatorAddress?: string;
473
- amount?: {
474
- denom?: string;
475
- amount?: string;
476
- }[] & ({
477
- denom?: string;
478
- amount?: string;
479
- } & {
480
- denom?: string;
481
- amount?: string;
482
- } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
483
- denom?: string;
484
- amount?: string;
485
- }[]>]: never; };
486
- } & { [K_2 in Exclude<keyof I, keyof MsgDepositValidatorRewardsPool>]: never; }>(base?: I): MsgDepositValidatorRewardsPool;
487
- fromPartial<I_1 extends {
488
- depositor?: string;
489
- validatorAddress?: string;
490
- amount?: {
491
- denom?: string;
492
- amount?: string;
493
- }[];
494
- } & {
495
- depositor?: string;
496
- validatorAddress?: string;
497
- amount?: {
498
- denom?: string;
499
- amount?: string;
500
- }[] & ({
501
- denom?: string;
502
- amount?: string;
503
- } & {
504
- denom?: string;
505
- amount?: string;
506
- } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
507
- denom?: string;
508
- amount?: string;
509
- }[]>]: never; };
510
- } & { [K_5 in Exclude<keyof I_1, keyof MsgDepositValidatorRewardsPool>]: never; }>(object: I_1): MsgDepositValidatorRewardsPool;
511
- };
512
- export declare const MsgDepositValidatorRewardsPoolResponse: {
513
- encode(_: MsgDepositValidatorRewardsPoolResponse, writer?: _m0.Writer): _m0.Writer;
514
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositValidatorRewardsPoolResponse;
515
- fromJSON(_: any): MsgDepositValidatorRewardsPoolResponse;
516
- toJSON(_: MsgDepositValidatorRewardsPoolResponse): unknown;
517
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgDepositValidatorRewardsPoolResponse;
518
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgDepositValidatorRewardsPoolResponse;
519
- };
520
- /** Msg defines the distribution Msg service. */
521
- export interface Msg {
522
- /**
523
- * SetWithdrawAddress defines a method to change the withdraw address
524
- * for a delegator (or validator self-delegation).
525
- */
526
- SetWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
527
- /**
528
- * WithdrawDelegatorReward defines a method to withdraw rewards of delegator
529
- * from a single validator.
530
- */
531
- WithdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
532
- /**
533
- * WithdrawValidatorCommission defines a method to withdraw the
534
- * full commission to the validator address.
535
- */
536
- WithdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
537
- /**
538
- * FundCommunityPool defines a method to allow an account to directly
539
- * fund the community pool.
540
- */
541
- FundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
542
- /**
543
- * UpdateParams defines a governance operation for updating the x/distribution
544
- * module parameters. The authority is defined in the keeper.
545
- *
546
- * Since: cosmos-sdk 0.47
547
- */
548
- UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
549
- /**
550
- * CommunityPoolSpend defines a governance operation for sending tokens from
551
- * the community pool in the x/distribution module to another account, which
552
- * could be the governance module itself. The authority is defined in the
553
- * keeper.
554
- *
555
- * Since: cosmos-sdk 0.47
556
- */
557
- CommunityPoolSpend(request: MsgCommunityPoolSpend): Promise<MsgCommunityPoolSpendResponse>;
558
- /**
559
- * DepositValidatorRewardsPool defines a method to provide additional rewards
560
- * to delegators to a specific validator.
561
- *
562
- * Since: cosmos-sdk 0.48
563
- */
564
- DepositValidatorRewardsPool(request: MsgDepositValidatorRewardsPool): Promise<MsgDepositValidatorRewardsPoolResponse>;
565
- }
566
- export declare class MsgClientImpl implements Msg {
567
- private readonly rpc;
568
- private readonly service;
569
- constructor(rpc: Rpc, opts?: {
570
- service?: string;
571
- });
572
- SetWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
573
- WithdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
574
- WithdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
575
- FundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
576
- UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
577
- CommunityPoolSpend(request: MsgCommunityPoolSpend): Promise<MsgCommunityPoolSpendResponse>;
578
- DepositValidatorRewardsPool(request: MsgDepositValidatorRewardsPool): Promise<MsgDepositValidatorRewardsPoolResponse>;
579
- }
580
- interface Rpc {
581
- request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
582
- }
583
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
584
- 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 {} ? {
585
- [K in keyof T]?: DeepPartial<T[K]>;
586
- } : Partial<T>;
587
- type KeysOfUnion<T> = T extends T ? keyof T : never;
588
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
589
- [K in keyof P]: Exact<P[K], I[K]>;
590
- } & {
591
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
592
- };
593
- export {};