coreum-js 2.11.0 → 2.12.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 (239) 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/tx.d.ts +1 -1
  9. package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
  11. package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
  12. package/dist/main/coreum/asset/nft/v1/params.js +14 -6
  13. package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
  14. package/dist/main/coreum/asset/nft/v1/query.js +49 -22
  15. package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
  16. package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
  17. package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
  18. package/dist/main/coreum/feemodel/v1/query.js +22 -11
  19. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  20. package/dist/main/coreum/nft/v1beta1/query.js +83 -39
  21. package/dist/main/cosmos/extensions/bank.d.ts +8 -8
  22. package/dist/main/cosmos/extensions/bank.js +2 -2
  23. package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
  24. package/dist/main/cosmos/extensions/distribution.js +1 -1
  25. package/dist/main/cosmos/extensions/gov.d.ts +21 -21
  26. package/dist/main/cosmos/extensions/gov.js +1 -1
  27. package/dist/main/cosmos/index.d.ts +12 -21
  28. package/dist/main/cosmos/index.js +50 -42
  29. package/dist/main/types/msgs.d.ts +4 -4
  30. package/dist/main/wasm/v1/authz.d.ts +1 -1
  31. package/dist/main/wasm/v1/authz.js +1 -1
  32. package/dist/main/wasm/v1/proposal.d.ts +1 -1
  33. package/dist/main/wasm/v1/proposal.js +1 -1
  34. package/dist/main/wasm/v1/tx.d.ts +1 -1
  35. package/dist/main/wasm/v1/tx.js +1 -1
  36. package/dist/module/client/index.d.ts +2 -1
  37. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
  38. package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
  39. package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
  40. package/dist/module/coreum/asset/ft/v1/params.js +14 -6
  41. package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
  42. package/dist/module/coreum/asset/ft/v1/query.js +116 -54
  43. package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
  44. package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
  45. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
  46. package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
  47. package/dist/module/coreum/asset/nft/v1/params.js +14 -6
  48. package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
  49. package/dist/module/coreum/asset/nft/v1/query.js +49 -22
  50. package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
  51. package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
  52. package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
  53. package/dist/module/coreum/feemodel/v1/query.js +22 -11
  54. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  55. package/dist/module/coreum/nft/v1beta1/query.js +83 -39
  56. package/dist/module/cosmos/extensions/bank.d.ts +8 -8
  57. package/dist/module/cosmos/extensions/bank.js +2 -2
  58. package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
  59. package/dist/module/cosmos/extensions/distribution.js +1 -1
  60. package/dist/module/cosmos/extensions/gov.d.ts +21 -21
  61. package/dist/module/cosmos/extensions/gov.js +1 -1
  62. package/dist/module/cosmos/index.d.ts +12 -21
  63. package/dist/module/cosmos/index.js +29 -19
  64. package/dist/module/types/msgs.d.ts +4 -4
  65. package/dist/module/wasm/v1/authz.d.ts +1 -1
  66. package/dist/module/wasm/v1/authz.js +1 -1
  67. package/dist/module/wasm/v1/proposal.d.ts +1 -1
  68. package/dist/module/wasm/v1/proposal.js +1 -1
  69. package/dist/module/wasm/v1/tx.d.ts +1 -1
  70. package/dist/module/wasm/v1/tx.js +1 -1
  71. package/package.json +1 -1
  72. package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
  73. package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
  74. package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
  75. package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
  76. package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
  77. package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
  78. package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  79. package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
  80. package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  81. package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
  82. package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
  83. package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
  84. package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
  85. package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
  86. package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
  87. package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
  88. package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
  89. package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
  90. package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  91. package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
  92. package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  93. package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
  94. package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
  95. package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
  96. package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
  97. package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
  98. package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  99. package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
  100. package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
  101. package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
  102. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  103. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
  104. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  105. package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
  106. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  107. package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
  108. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  109. package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
  110. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
  111. package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
  112. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  113. package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
  114. package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  115. package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
  116. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  117. package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
  118. package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  119. package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
  120. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  121. package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
  122. package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  123. package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
  124. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  125. package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
  126. package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
  127. package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
  128. package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  129. package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
  130. package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
  131. package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
  132. package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
  133. package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
  134. package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
  135. package/dist/main/cosmos/msg/v1/msg.js +0 -5
  136. package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
  137. package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
  138. package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  139. package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
  140. package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  141. package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
  142. package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
  143. package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
  144. package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  145. package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
  146. package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
  147. package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
  148. package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  149. package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
  150. package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  151. package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
  152. package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  153. package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
  154. package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  155. package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
  156. package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
  157. package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
  158. package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
  159. package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
  160. package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
  161. package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
  162. package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  163. package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
  164. package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  165. package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
  166. package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
  167. package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
  168. package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
  169. package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
  170. package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
  171. package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
  172. package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
  173. package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
  174. package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  175. package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
  176. package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  177. package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
  178. package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
  179. package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
  180. package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
  181. package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
  182. package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  183. package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
  184. package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
  185. package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
  186. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  187. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
  188. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  189. package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
  190. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  191. package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
  192. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  193. package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
  194. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
  195. package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
  196. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  197. package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
  198. package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  199. package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
  200. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  201. package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
  202. package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  203. package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
  204. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  205. package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
  206. package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  207. package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
  208. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  209. package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
  210. package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
  211. package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
  212. package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  213. package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
  214. package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
  215. package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
  216. package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
  217. package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
  218. package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
  219. package/dist/module/cosmos/msg/v1/msg.js +0 -2
  220. package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
  221. package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
  222. package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  223. package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
  224. package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  225. package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
  226. package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
  227. package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
  228. package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  229. package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
  230. package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
  231. package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
  232. package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  233. package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
  234. package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  235. package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
  236. package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  237. package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
  238. package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  239. package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
@@ -1,638 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { Coin, DecCoin } from "../../base/v1beta1/coin";
3
- export declare const protobufPackage = "cosmos.distribution.v1beta1";
4
- /** Params defines the set of params for the distribution module. */
5
- export interface Params {
6
- communityTax: string;
7
- /**
8
- * Deprecated: The base_proposer_reward field is deprecated and is no longer used
9
- * in the x/distribution module's reward mechanism.
10
- *
11
- * @deprecated
12
- */
13
- baseProposerReward: string;
14
- /**
15
- * Deprecated: The bonus_proposer_reward field is deprecated and is no longer used
16
- * in the x/distribution module's reward mechanism.
17
- *
18
- * @deprecated
19
- */
20
- bonusProposerReward: string;
21
- withdrawAddrEnabled: boolean;
22
- }
23
- /**
24
- * ValidatorHistoricalRewards represents historical rewards for a validator.
25
- * Height is implicit within the store key.
26
- * Cumulative reward ratio is the sum from the zeroeth period
27
- * until this period of rewards / tokens, per the spec.
28
- * The reference count indicates the number of objects
29
- * which might need to reference this historical entry at any point.
30
- * ReferenceCount =
31
- * number of outstanding delegations which ended the associated period (and
32
- * might need to read that record)
33
- * + number of slashes which ended the associated period (and might need to
34
- * read that record)
35
- * + one per validator for the zeroeth period, set on initialization
36
- */
37
- export interface ValidatorHistoricalRewards {
38
- cumulativeRewardRatio: DecCoin[];
39
- referenceCount: number;
40
- }
41
- /**
42
- * ValidatorCurrentRewards represents current rewards and current
43
- * period for a validator kept as a running counter and incremented
44
- * each block as long as the validator's tokens remain constant.
45
- */
46
- export interface ValidatorCurrentRewards {
47
- rewards: DecCoin[];
48
- period: number;
49
- }
50
- /**
51
- * ValidatorAccumulatedCommission represents accumulated commission
52
- * for a validator kept as a running counter, can be withdrawn at any time.
53
- */
54
- export interface ValidatorAccumulatedCommission {
55
- commission: DecCoin[];
56
- }
57
- /**
58
- * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
59
- * for a validator inexpensive to track, allows simple sanity checks.
60
- */
61
- export interface ValidatorOutstandingRewards {
62
- rewards: DecCoin[];
63
- }
64
- /**
65
- * ValidatorSlashEvent represents a validator slash event.
66
- * Height is implicit within the store key.
67
- * This is needed to calculate appropriate amount of staking tokens
68
- * for delegations which are withdrawn after a slash has occurred.
69
- */
70
- export interface ValidatorSlashEvent {
71
- validatorPeriod: number;
72
- fraction: string;
73
- }
74
- /** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
75
- export interface ValidatorSlashEvents {
76
- validatorSlashEvents: ValidatorSlashEvent[];
77
- }
78
- /** FeePool is the global fee pool for distribution. */
79
- export interface FeePool {
80
- communityPool: DecCoin[];
81
- }
82
- /**
83
- * CommunityPoolSpendProposal details a proposal for use of community funds,
84
- * together with how many coins are proposed to be spent, and to which
85
- * recipient account.
86
- *
87
- * Deprecated: Do not use. As of the Cosmos SDK release v0.47.x, there is no
88
- * longer a need for an explicit CommunityPoolSpendProposal. To spend community
89
- * pool funds, a simple MsgCommunityPoolSpend can be invoked from the x/gov
90
- * module via a v1 governance proposal.
91
- *
92
- * @deprecated
93
- */
94
- export interface CommunityPoolSpendProposal {
95
- title: string;
96
- description: string;
97
- recipient: string;
98
- amount: Coin[];
99
- }
100
- /**
101
- * DelegatorStartingInfo represents the starting info for a delegator reward
102
- * period. It tracks the previous validator period, the delegation's amount of
103
- * staking token, and the creation height (to check later on if any slashes have
104
- * occurred). NOTE: Even though validators are slashed to whole staking tokens,
105
- * the delegators within the validator may be left with less than a full token,
106
- * thus sdk.Dec is used.
107
- */
108
- export interface DelegatorStartingInfo {
109
- previousPeriod: number;
110
- stake: string;
111
- height: number;
112
- }
113
- /**
114
- * DelegationDelegatorReward represents the properties
115
- * of a delegator's delegation reward.
116
- */
117
- export interface DelegationDelegatorReward {
118
- validatorAddress: string;
119
- reward: DecCoin[];
120
- }
121
- /**
122
- * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
123
- * with a deposit
124
- */
125
- export interface CommunityPoolSpendProposalWithDeposit {
126
- title: string;
127
- description: string;
128
- recipient: string;
129
- amount: string;
130
- deposit: string;
131
- }
132
- export declare const Params: {
133
- encode(message: Params, writer?: _m0.Writer): _m0.Writer;
134
- decode(input: _m0.Reader | Uint8Array, length?: number): Params;
135
- fromJSON(object: any): Params;
136
- toJSON(message: Params): unknown;
137
- create<I extends {
138
- communityTax?: string;
139
- baseProposerReward?: string;
140
- bonusProposerReward?: string;
141
- withdrawAddrEnabled?: boolean;
142
- } & {
143
- communityTax?: string;
144
- baseProposerReward?: string;
145
- bonusProposerReward?: string;
146
- withdrawAddrEnabled?: boolean;
147
- } & { [K in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
148
- fromPartial<I_1 extends {
149
- communityTax?: string;
150
- baseProposerReward?: string;
151
- bonusProposerReward?: string;
152
- withdrawAddrEnabled?: boolean;
153
- } & {
154
- communityTax?: string;
155
- baseProposerReward?: string;
156
- bonusProposerReward?: string;
157
- withdrawAddrEnabled?: boolean;
158
- } & { [K_1 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
159
- };
160
- export declare const ValidatorHistoricalRewards: {
161
- encode(message: ValidatorHistoricalRewards, writer?: _m0.Writer): _m0.Writer;
162
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards;
163
- fromJSON(object: any): ValidatorHistoricalRewards;
164
- toJSON(message: ValidatorHistoricalRewards): unknown;
165
- create<I extends {
166
- cumulativeRewardRatio?: {
167
- denom?: string;
168
- amount?: string;
169
- }[];
170
- referenceCount?: number;
171
- } & {
172
- cumulativeRewardRatio?: {
173
- denom?: string;
174
- amount?: string;
175
- }[] & ({
176
- denom?: string;
177
- amount?: string;
178
- } & {
179
- denom?: string;
180
- amount?: string;
181
- } & { [K in Exclude<keyof I["cumulativeRewardRatio"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["cumulativeRewardRatio"], keyof {
182
- denom?: string;
183
- amount?: string;
184
- }[]>]: never; };
185
- referenceCount?: number;
186
- } & { [K_2 in Exclude<keyof I, keyof ValidatorHistoricalRewards>]: never; }>(base?: I): ValidatorHistoricalRewards;
187
- fromPartial<I_1 extends {
188
- cumulativeRewardRatio?: {
189
- denom?: string;
190
- amount?: string;
191
- }[];
192
- referenceCount?: number;
193
- } & {
194
- cumulativeRewardRatio?: {
195
- denom?: string;
196
- amount?: string;
197
- }[] & ({
198
- denom?: string;
199
- amount?: string;
200
- } & {
201
- denom?: string;
202
- amount?: string;
203
- } & { [K_3 in Exclude<keyof I_1["cumulativeRewardRatio"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["cumulativeRewardRatio"], keyof {
204
- denom?: string;
205
- amount?: string;
206
- }[]>]: never; };
207
- referenceCount?: number;
208
- } & { [K_5 in Exclude<keyof I_1, keyof ValidatorHistoricalRewards>]: never; }>(object: I_1): ValidatorHistoricalRewards;
209
- };
210
- export declare const ValidatorCurrentRewards: {
211
- encode(message: ValidatorCurrentRewards, writer?: _m0.Writer): _m0.Writer;
212
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards;
213
- fromJSON(object: any): ValidatorCurrentRewards;
214
- toJSON(message: ValidatorCurrentRewards): unknown;
215
- create<I extends {
216
- rewards?: {
217
- denom?: string;
218
- amount?: string;
219
- }[];
220
- period?: number;
221
- } & {
222
- rewards?: {
223
- denom?: string;
224
- amount?: string;
225
- }[] & ({
226
- denom?: string;
227
- amount?: string;
228
- } & {
229
- denom?: string;
230
- amount?: string;
231
- } & { [K in Exclude<keyof I["rewards"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["rewards"], keyof {
232
- denom?: string;
233
- amount?: string;
234
- }[]>]: never; };
235
- period?: number;
236
- } & { [K_2 in Exclude<keyof I, keyof ValidatorCurrentRewards>]: never; }>(base?: I): ValidatorCurrentRewards;
237
- fromPartial<I_1 extends {
238
- rewards?: {
239
- denom?: string;
240
- amount?: string;
241
- }[];
242
- period?: number;
243
- } & {
244
- rewards?: {
245
- denom?: string;
246
- amount?: string;
247
- }[] & ({
248
- denom?: string;
249
- amount?: string;
250
- } & {
251
- denom?: string;
252
- amount?: string;
253
- } & { [K_3 in Exclude<keyof I_1["rewards"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["rewards"], keyof {
254
- denom?: string;
255
- amount?: string;
256
- }[]>]: never; };
257
- period?: number;
258
- } & { [K_5 in Exclude<keyof I_1, keyof ValidatorCurrentRewards>]: never; }>(object: I_1): ValidatorCurrentRewards;
259
- };
260
- export declare const ValidatorAccumulatedCommission: {
261
- encode(message: ValidatorAccumulatedCommission, writer?: _m0.Writer): _m0.Writer;
262
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission;
263
- fromJSON(object: any): ValidatorAccumulatedCommission;
264
- toJSON(message: ValidatorAccumulatedCommission): unknown;
265
- create<I extends {
266
- commission?: {
267
- denom?: string;
268
- amount?: string;
269
- }[];
270
- } & {
271
- commission?: {
272
- denom?: string;
273
- amount?: string;
274
- }[] & ({
275
- denom?: string;
276
- amount?: string;
277
- } & {
278
- denom?: string;
279
- amount?: string;
280
- } & { [K in Exclude<keyof I["commission"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["commission"], keyof {
281
- denom?: string;
282
- amount?: string;
283
- }[]>]: never; };
284
- } & { [K_2 in Exclude<keyof I, "commission">]: never; }>(base?: I): ValidatorAccumulatedCommission;
285
- fromPartial<I_1 extends {
286
- commission?: {
287
- denom?: string;
288
- amount?: string;
289
- }[];
290
- } & {
291
- commission?: {
292
- denom?: string;
293
- amount?: string;
294
- }[] & ({
295
- denom?: string;
296
- amount?: string;
297
- } & {
298
- denom?: string;
299
- amount?: string;
300
- } & { [K_3 in Exclude<keyof I_1["commission"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["commission"], keyof {
301
- denom?: string;
302
- amount?: string;
303
- }[]>]: never; };
304
- } & { [K_5 in Exclude<keyof I_1, "commission">]: never; }>(object: I_1): ValidatorAccumulatedCommission;
305
- };
306
- export declare const ValidatorOutstandingRewards: {
307
- encode(message: ValidatorOutstandingRewards, writer?: _m0.Writer): _m0.Writer;
308
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards;
309
- fromJSON(object: any): ValidatorOutstandingRewards;
310
- toJSON(message: ValidatorOutstandingRewards): unknown;
311
- create<I extends {
312
- rewards?: {
313
- denom?: string;
314
- amount?: string;
315
- }[];
316
- } & {
317
- rewards?: {
318
- denom?: string;
319
- amount?: string;
320
- }[] & ({
321
- denom?: string;
322
- amount?: string;
323
- } & {
324
- denom?: string;
325
- amount?: string;
326
- } & { [K in Exclude<keyof I["rewards"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["rewards"], keyof {
327
- denom?: string;
328
- amount?: string;
329
- }[]>]: never; };
330
- } & { [K_2 in Exclude<keyof I, "rewards">]: never; }>(base?: I): ValidatorOutstandingRewards;
331
- fromPartial<I_1 extends {
332
- rewards?: {
333
- denom?: string;
334
- amount?: string;
335
- }[];
336
- } & {
337
- rewards?: {
338
- denom?: string;
339
- amount?: string;
340
- }[] & ({
341
- denom?: string;
342
- amount?: string;
343
- } & {
344
- denom?: string;
345
- amount?: string;
346
- } & { [K_3 in Exclude<keyof I_1["rewards"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["rewards"], keyof {
347
- denom?: string;
348
- amount?: string;
349
- }[]>]: never; };
350
- } & { [K_5 in Exclude<keyof I_1, "rewards">]: never; }>(object: I_1): ValidatorOutstandingRewards;
351
- };
352
- export declare const ValidatorSlashEvent: {
353
- encode(message: ValidatorSlashEvent, writer?: _m0.Writer): _m0.Writer;
354
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent;
355
- fromJSON(object: any): ValidatorSlashEvent;
356
- toJSON(message: ValidatorSlashEvent): unknown;
357
- create<I extends {
358
- validatorPeriod?: number;
359
- fraction?: string;
360
- } & {
361
- validatorPeriod?: number;
362
- fraction?: string;
363
- } & { [K in Exclude<keyof I, keyof ValidatorSlashEvent>]: never; }>(base?: I): ValidatorSlashEvent;
364
- fromPartial<I_1 extends {
365
- validatorPeriod?: number;
366
- fraction?: string;
367
- } & {
368
- validatorPeriod?: number;
369
- fraction?: string;
370
- } & { [K_1 in Exclude<keyof I_1, keyof ValidatorSlashEvent>]: never; }>(object: I_1): ValidatorSlashEvent;
371
- };
372
- export declare const ValidatorSlashEvents: {
373
- encode(message: ValidatorSlashEvents, writer?: _m0.Writer): _m0.Writer;
374
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents;
375
- fromJSON(object: any): ValidatorSlashEvents;
376
- toJSON(message: ValidatorSlashEvents): unknown;
377
- create<I extends {
378
- validatorSlashEvents?: {
379
- validatorPeriod?: number;
380
- fraction?: string;
381
- }[];
382
- } & {
383
- validatorSlashEvents?: {
384
- validatorPeriod?: number;
385
- fraction?: string;
386
- }[] & ({
387
- validatorPeriod?: number;
388
- fraction?: string;
389
- } & {
390
- validatorPeriod?: number;
391
- fraction?: string;
392
- } & { [K in Exclude<keyof I["validatorSlashEvents"][number], keyof ValidatorSlashEvent>]: never; })[] & { [K_1 in Exclude<keyof I["validatorSlashEvents"], keyof {
393
- validatorPeriod?: number;
394
- fraction?: string;
395
- }[]>]: never; };
396
- } & { [K_2 in Exclude<keyof I, "validatorSlashEvents">]: never; }>(base?: I): ValidatorSlashEvents;
397
- fromPartial<I_1 extends {
398
- validatorSlashEvents?: {
399
- validatorPeriod?: number;
400
- fraction?: string;
401
- }[];
402
- } & {
403
- validatorSlashEvents?: {
404
- validatorPeriod?: number;
405
- fraction?: string;
406
- }[] & ({
407
- validatorPeriod?: number;
408
- fraction?: string;
409
- } & {
410
- validatorPeriod?: number;
411
- fraction?: string;
412
- } & { [K_3 in Exclude<keyof I_1["validatorSlashEvents"][number], keyof ValidatorSlashEvent>]: never; })[] & { [K_4 in Exclude<keyof I_1["validatorSlashEvents"], keyof {
413
- validatorPeriod?: number;
414
- fraction?: string;
415
- }[]>]: never; };
416
- } & { [K_5 in Exclude<keyof I_1, "validatorSlashEvents">]: never; }>(object: I_1): ValidatorSlashEvents;
417
- };
418
- export declare const FeePool: {
419
- encode(message: FeePool, writer?: _m0.Writer): _m0.Writer;
420
- decode(input: _m0.Reader | Uint8Array, length?: number): FeePool;
421
- fromJSON(object: any): FeePool;
422
- toJSON(message: FeePool): unknown;
423
- create<I extends {
424
- communityPool?: {
425
- denom?: string;
426
- amount?: string;
427
- }[];
428
- } & {
429
- communityPool?: {
430
- denom?: string;
431
- amount?: string;
432
- }[] & ({
433
- denom?: string;
434
- amount?: string;
435
- } & {
436
- denom?: string;
437
- amount?: string;
438
- } & { [K in Exclude<keyof I["communityPool"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["communityPool"], keyof {
439
- denom?: string;
440
- amount?: string;
441
- }[]>]: never; };
442
- } & { [K_2 in Exclude<keyof I, "communityPool">]: never; }>(base?: I): FeePool;
443
- fromPartial<I_1 extends {
444
- communityPool?: {
445
- denom?: string;
446
- amount?: string;
447
- }[];
448
- } & {
449
- communityPool?: {
450
- denom?: string;
451
- amount?: string;
452
- }[] & ({
453
- denom?: string;
454
- amount?: string;
455
- } & {
456
- denom?: string;
457
- amount?: string;
458
- } & { [K_3 in Exclude<keyof I_1["communityPool"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["communityPool"], keyof {
459
- denom?: string;
460
- amount?: string;
461
- }[]>]: never; };
462
- } & { [K_5 in Exclude<keyof I_1, "communityPool">]: never; }>(object: I_1): FeePool;
463
- };
464
- export declare const CommunityPoolSpendProposal: {
465
- encode(message: CommunityPoolSpendProposal, writer?: _m0.Writer): _m0.Writer;
466
- decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal;
467
- fromJSON(object: any): CommunityPoolSpendProposal;
468
- toJSON(message: CommunityPoolSpendProposal): unknown;
469
- create<I extends {
470
- title?: string;
471
- description?: string;
472
- recipient?: string;
473
- amount?: {
474
- denom?: string;
475
- amount?: string;
476
- }[];
477
- } & {
478
- title?: string;
479
- description?: string;
480
- recipient?: string;
481
- amount?: {
482
- denom?: string;
483
- amount?: string;
484
- }[] & ({
485
- denom?: string;
486
- amount?: string;
487
- } & {
488
- denom?: string;
489
- amount?: string;
490
- } & { [K in Exclude<keyof I["amount"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
491
- denom?: string;
492
- amount?: string;
493
- }[]>]: never; };
494
- } & { [K_2 in Exclude<keyof I, keyof CommunityPoolSpendProposal>]: never; }>(base?: I): CommunityPoolSpendProposal;
495
- fromPartial<I_1 extends {
496
- title?: string;
497
- description?: string;
498
- recipient?: string;
499
- amount?: {
500
- denom?: string;
501
- amount?: string;
502
- }[];
503
- } & {
504
- title?: string;
505
- description?: string;
506
- recipient?: string;
507
- amount?: {
508
- denom?: string;
509
- amount?: string;
510
- }[] & ({
511
- denom?: string;
512
- amount?: string;
513
- } & {
514
- denom?: string;
515
- amount?: string;
516
- } & { [K_3 in Exclude<keyof I_1["amount"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["amount"], keyof {
517
- denom?: string;
518
- amount?: string;
519
- }[]>]: never; };
520
- } & { [K_5 in Exclude<keyof I_1, keyof CommunityPoolSpendProposal>]: never; }>(object: I_1): CommunityPoolSpendProposal;
521
- };
522
- export declare const DelegatorStartingInfo: {
523
- encode(message: DelegatorStartingInfo, writer?: _m0.Writer): _m0.Writer;
524
- decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo;
525
- fromJSON(object: any): DelegatorStartingInfo;
526
- toJSON(message: DelegatorStartingInfo): unknown;
527
- create<I extends {
528
- previousPeriod?: number;
529
- stake?: string;
530
- height?: number;
531
- } & {
532
- previousPeriod?: number;
533
- stake?: string;
534
- height?: number;
535
- } & { [K in Exclude<keyof I, keyof DelegatorStartingInfo>]: never; }>(base?: I): DelegatorStartingInfo;
536
- fromPartial<I_1 extends {
537
- previousPeriod?: number;
538
- stake?: string;
539
- height?: number;
540
- } & {
541
- previousPeriod?: number;
542
- stake?: string;
543
- height?: number;
544
- } & { [K_1 in Exclude<keyof I_1, keyof DelegatorStartingInfo>]: never; }>(object: I_1): DelegatorStartingInfo;
545
- };
546
- export declare const DelegationDelegatorReward: {
547
- encode(message: DelegationDelegatorReward, writer?: _m0.Writer): _m0.Writer;
548
- decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward;
549
- fromJSON(object: any): DelegationDelegatorReward;
550
- toJSON(message: DelegationDelegatorReward): unknown;
551
- create<I extends {
552
- validatorAddress?: string;
553
- reward?: {
554
- denom?: string;
555
- amount?: string;
556
- }[];
557
- } & {
558
- validatorAddress?: string;
559
- reward?: {
560
- denom?: string;
561
- amount?: string;
562
- }[] & ({
563
- denom?: string;
564
- amount?: string;
565
- } & {
566
- denom?: string;
567
- amount?: string;
568
- } & { [K in Exclude<keyof I["reward"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["reward"], keyof {
569
- denom?: string;
570
- amount?: string;
571
- }[]>]: never; };
572
- } & { [K_2 in Exclude<keyof I, keyof DelegationDelegatorReward>]: never; }>(base?: I): DelegationDelegatorReward;
573
- fromPartial<I_1 extends {
574
- validatorAddress?: string;
575
- reward?: {
576
- denom?: string;
577
- amount?: string;
578
- }[];
579
- } & {
580
- validatorAddress?: string;
581
- reward?: {
582
- denom?: string;
583
- amount?: string;
584
- }[] & ({
585
- denom?: string;
586
- amount?: string;
587
- } & {
588
- denom?: string;
589
- amount?: string;
590
- } & { [K_3 in Exclude<keyof I_1["reward"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["reward"], keyof {
591
- denom?: string;
592
- amount?: string;
593
- }[]>]: never; };
594
- } & { [K_5 in Exclude<keyof I_1, keyof DelegationDelegatorReward>]: never; }>(object: I_1): DelegationDelegatorReward;
595
- };
596
- export declare const CommunityPoolSpendProposalWithDeposit: {
597
- encode(message: CommunityPoolSpendProposalWithDeposit, writer?: _m0.Writer): _m0.Writer;
598
- decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit;
599
- fromJSON(object: any): CommunityPoolSpendProposalWithDeposit;
600
- toJSON(message: CommunityPoolSpendProposalWithDeposit): unknown;
601
- create<I extends {
602
- title?: string;
603
- description?: string;
604
- recipient?: string;
605
- amount?: string;
606
- deposit?: string;
607
- } & {
608
- title?: string;
609
- description?: string;
610
- recipient?: string;
611
- amount?: string;
612
- deposit?: string;
613
- } & { [K in Exclude<keyof I, keyof CommunityPoolSpendProposalWithDeposit>]: never; }>(base?: I): CommunityPoolSpendProposalWithDeposit;
614
- fromPartial<I_1 extends {
615
- title?: string;
616
- description?: string;
617
- recipient?: string;
618
- amount?: string;
619
- deposit?: string;
620
- } & {
621
- title?: string;
622
- description?: string;
623
- recipient?: string;
624
- amount?: string;
625
- deposit?: string;
626
- } & { [K_1 in Exclude<keyof I_1, keyof CommunityPoolSpendProposalWithDeposit>]: never; }>(object: I_1): CommunityPoolSpendProposalWithDeposit;
627
- };
628
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
629
- 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 {} ? {
630
- [K in keyof T]?: DeepPartial<T[K]>;
631
- } : Partial<T>;
632
- type KeysOfUnion<T> = T extends T ? keyof T : never;
633
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
634
- [K in keyof P]: Exact<P[K], I[K]>;
635
- } & {
636
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
637
- };
638
- export {};