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,16 +1,16 @@
1
- import { PageRequest } from "../distribution/v1beta1/pagination";
1
+ import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
2
2
  import { QueryClient } from "@cosmjs/stargate";
3
3
  export declare function setupDistributionExtension(base: QueryClient): {
4
4
  distribution: {
5
5
  communityPool: () => Promise<{
6
- pool: import("../base/v1beta1/coin").DecCoin[];
6
+ pool: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
7
7
  }>;
8
8
  delegationRewards: (delegator: string, validator: string) => Promise<{
9
- rewards: import("../base/v1beta1/coin").DecCoin[];
9
+ rewards: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
10
10
  }>;
11
11
  delegationTotalRewards: (delegator: string) => Promise<{
12
- rewards: import("../distribution/v1beta1/distribution").DelegationDelegatorReward[];
13
- total: import("../base/v1beta1/coin").DecCoin[];
12
+ rewards: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").DelegationDelegatorReward[];
13
+ total: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
14
14
  }>;
15
15
  delegatorValidators: (delegator: string) => Promise<{
16
16
  validators: string[];
@@ -19,17 +19,17 @@ export declare function setupDistributionExtension(base: QueryClient): {
19
19
  withdrawAddress: string;
20
20
  }>;
21
21
  params: () => Promise<{
22
- params: import("../distribution/v1beta1/distribution").Params;
22
+ params?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").Params;
23
23
  }>;
24
24
  validatorCommission: (validator: string) => Promise<{
25
- commission: import("../distribution/v1beta1/distribution").ValidatorAccumulatedCommission;
25
+ commission?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorAccumulatedCommission;
26
26
  }>;
27
27
  validatorOutstandingRewards: (validator: string) => Promise<{
28
- rewards: import("../distribution/v1beta1/distribution").ValidatorOutstandingRewards;
28
+ rewards?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorOutstandingRewards;
29
29
  }>;
30
- validatorSlashes: (validator: string, starting_height: number, ending_height: number, pagination?: PageRequest) => Promise<{
31
- slashes: import("../distribution/v1beta1/distribution").ValidatorSlashEvent[];
32
- pagination: import("../distribution/v1beta1/pagination").PageResponse;
30
+ validatorSlashes: (validator: string, starting_height: Long, ending_height: Long, pagination?: PageRequest) => Promise<{
31
+ slashes: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorSlashEvent[];
32
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
33
33
  }>;
34
34
  };
35
35
  };
@@ -1,4 +1,4 @@
1
- import { QueryClientImpl } from "../distribution/v1beta1/query";
1
+ import { QueryClientImpl } from "cosmjs-types/cosmos/distribution/v1beta1/query";
2
2
  import { createProtobufRpcClient } from "@cosmjs/stargate";
3
3
  export function setupDistributionExtension(base) {
4
4
  const rpc = createProtobufRpcClient(base);
@@ -1,36 +1,36 @@
1
- import { ProposalStatus } from "../gov/v1beta1/gov";
2
- import { PageRequest } from "../gov/v1beta1/pagination";
1
+ import { ProposalStatus } from "cosmjs-types/cosmos/gov/v1beta1/gov";
2
+ import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
3
3
  import { QueryClient } from "@cosmjs/stargate";
4
4
  export declare function setupGovExtension(base: QueryClient): {
5
5
  gov: {
6
6
  params: (parametersType: "deposit" | "tallying" | "voting") => Promise<{
7
- votingParams: import("../gov/v1beta1/gov").VotingParams;
8
- depositParams: import("../gov/v1beta1/gov").DepositParams;
9
- tallyParams: import("../gov/v1beta1/gov").TallyParams;
7
+ votingParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").VotingParams;
8
+ depositParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").DepositParams;
9
+ tallyParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").TallyParams;
10
10
  }>;
11
11
  proposals: (proposalStatus: ProposalStatus, depositor: string, voter: string, pagination?: PageRequest) => Promise<{
12
- proposals: import("../gov/v1beta1/gov").Proposal[];
13
- pagination: import("../gov/v1beta1/pagination").PageResponse;
12
+ proposals: import("cosmjs-types/cosmos/gov/v1beta1/gov").Proposal[];
13
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
14
14
  }>;
15
- proposal: (proposal_id: number) => Promise<{
16
- proposal: import("../gov/v1beta1/gov").Proposal;
15
+ proposal: (proposal_id: Long) => Promise<{
16
+ proposal?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Proposal;
17
17
  }>;
18
- deposits: (proposal_id: number, pagination?: PageRequest) => Promise<{
19
- deposits: import("../gov/v1beta1/gov").Deposit[];
20
- pagination: import("../gov/v1beta1/pagination").PageResponse;
18
+ deposits: (proposal_id: Long, pagination?: PageRequest) => Promise<{
19
+ deposits: import("cosmjs-types/cosmos/gov/v1beta1/gov").Deposit[];
20
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
21
21
  }>;
22
- deposit: (proposal_id: number, depositor: string) => Promise<{
23
- deposit: import("../gov/v1beta1/gov").Deposit;
22
+ deposit: (proposal_id: Long, depositor: string) => Promise<{
23
+ deposit?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Deposit;
24
24
  }>;
25
- tally: (proposal_id: number) => Promise<{
26
- tally: import("../gov/v1beta1/gov").TallyResult;
25
+ tally: (proposal_id: Long) => Promise<{
26
+ tally?: import("cosmjs-types/cosmos/gov/v1beta1/gov").TallyResult;
27
27
  }>;
28
- votes: (proposal_id: number, pagination?: PageRequest) => Promise<{
29
- votes: import("../gov/v1beta1/gov").Vote[];
30
- pagination: import("../gov/v1beta1/pagination").PageResponse;
28
+ votes: (proposal_id: Long, pagination?: PageRequest) => Promise<{
29
+ votes: import("cosmjs-types/cosmos/gov/v1beta1/gov").Vote[];
30
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
31
31
  }>;
32
- vote: (proposal_id: number, voter: string) => Promise<{
33
- vote: import("../gov/v1beta1/gov").Vote;
32
+ vote: (proposal_id: Long, voter: string) => Promise<{
33
+ vote?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Vote;
34
34
  }>;
35
35
  };
36
36
  };
@@ -1,4 +1,4 @@
1
- import { QueryClientImpl } from "../gov/v1beta1/query";
1
+ import { QueryClientImpl } from "cosmjs-types/cosmos/gov/v1beta1/query";
2
2
  import { createProtobufRpcClient } from "@cosmjs/stargate";
3
3
  export function setupGovExtension(base) {
4
4
  const rpc = createProtobufRpcClient(base);
@@ -1,12 +1,12 @@
1
- import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "./gov/v1beta1/tx";
2
- import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
3
- import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "./bank/v1beta1/tx";
4
- import { MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission } from "./distribution/v1beta1/tx";
5
- import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount } from "./vesting/v1beta1/tx";
6
- import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams } from "./staking/v1beta1/tx";
7
- import { MsgExec, MsgGrant, MsgRevoke } from "./authz/v1beta1/tx";
8
- import { StakingMsgs, DistributionMsgs, BankMsgs, FeegrantMsgs, VestingMsgs, AuthzMsgs, GovMsgs } from "../types/msgs";
9
- export * from "./tx/v1beta1/tx";
1
+ import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "cosmjs-types/cosmos/gov/v1beta1/tx";
2
+ import { MsgGrantAllowance, MsgRevokeAllowance } from "cosmjs-types/cosmos/feegrant/v1beta1/tx";
3
+ import { MsgCommunityPoolSpend, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission } from "cosmjs-types/cosmos/distribution/v1beta1/tx";
4
+ import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount } from "cosmjs-types/cosmos/vesting/v1beta1/tx";
5
+ import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams } from "cosmjs-types/cosmos/staking/v1beta1/tx";
6
+ import { MsgExec, MsgGrant, MsgRevoke } from "cosmjs-types/cosmos/authz/v1beta1/tx";
7
+ import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "cosmjs-types/cosmos/bank/v1beta1/tx";
8
+ import { StakingMsgs, DistributionMsgs, BankMsgs, FeegrantMsgs, VestingMsgs, GovMsgs } from "../types/msgs";
9
+ export * from "cosmjs-types/cosmos/tx/v1beta1/tx";
10
10
  /**
11
11
  * Module to generate the Messages related to the Authz module of the Blockchain
12
12
  */
@@ -17,7 +17,7 @@ export declare namespace Authz {
17
17
  * @param object Represents the properties available for this MsgGrant message.
18
18
  * @returns A Msg object with the typeUrl and value object for the proper message
19
19
  */
20
- const Grant: (object: AuthzMsgs.MsgGrant) => {
20
+ const Grant: (object: MsgGrant) => {
21
21
  typeUrl: string;
22
22
  value: MsgGrant;
23
23
  };
@@ -27,7 +27,7 @@ export declare namespace Authz {
27
27
  * @param object Represents the properties available for this MsgExec message.
28
28
  * @returns A Msg object with the typeUrl and value object for the proper message
29
29
  */
30
- const Exec: (object: AuthzMsgs.MsgExec) => {
30
+ const Exec: (object: MsgExec) => {
31
31
  typeUrl: string;
32
32
  value: MsgExec;
33
33
  };
@@ -37,7 +37,7 @@ export declare namespace Authz {
37
37
  * @param object Represents the properties available for this MsgRevoke message.
38
38
  * @returns A Msg object with the typeUrl and value object for the proper message
39
39
  */
40
- const Revoke: (object: AuthzMsgs.MsgRevoke) => {
40
+ const Revoke: (object: MsgRevoke) => {
41
41
  typeUrl: string;
42
42
  value: MsgRevoke;
43
43
  };
@@ -270,15 +270,6 @@ export declare namespace Distribution {
270
270
  typeUrl: string;
271
271
  value: MsgCommunityPoolSpend;
272
272
  };
273
- /** MsgDepositValidatorRewardsPool message creator
274
- *
275
- * @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
276
- * @returns A Msg object with the typeUrl and value object for the proper message
277
- */
278
- const DepositValidatorRewardsPool: (object: DistributionMsgs.MsgDepositValidatorRewardsPool) => {
279
- typeUrl: string;
280
- value: MsgDepositValidatorRewardsPool;
281
- };
282
273
  /** MsgFundCommunityPool message creator
283
274
  * Defines a method to allow an account to directly fund the community pool.
284
275
  *
@@ -1,10 +1,18 @@
1
- import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted, } from "./gov/v1beta1/tx";
2
- import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
3
- import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams, } from "./bank/v1beta1/tx";
4
- import { MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, } from "./distribution/v1beta1/tx";
5
- import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount, } from "./vesting/v1beta1/tx";
6
- import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams, } from "./staking/v1beta1/tx";
7
- import { MsgExec, MsgGrant, MsgRevoke } from "./authz/v1beta1/tx";
1
+ import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted, } from "cosmjs-types/cosmos/gov/v1beta1/tx";
2
+ import { MsgGrantAllowance, MsgRevokeAllowance, } from "cosmjs-types/cosmos/feegrant/v1beta1/tx";
3
+ // import {
4
+ // MsgMultiSend,
5
+ // MsgSend,
6
+ // MsgSetSendEnabled,
7
+ // MsgUpdateParams,
8
+ // } from "./bank/v1beta1/tx";
9
+ import { MsgCommunityPoolSpend,
10
+ // MsgDepositValidatorRewardsPool,
11
+ MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, } from "cosmjs-types/cosmos/distribution/v1beta1/tx";
12
+ import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount, } from "cosmjs-types/cosmos/vesting/v1beta1/tx";
13
+ import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams, } from "cosmjs-types/cosmos/staking/v1beta1/tx";
14
+ import { MsgExec, MsgGrant, MsgRevoke, } from "cosmjs-types/cosmos/authz/v1beta1/tx";
15
+ import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams, } from "cosmjs-types/cosmos/bank/v1beta1/tx";
8
16
  const authzBaseUrl = "/cosmos.authz.v1beta1.";
9
17
  const stakeBaseUrl = "/cosmos.staking.v1beta1.";
10
18
  const govBaseUrl = "/cosmos.gov.v1beta1.";
@@ -12,7 +20,7 @@ const fgBaseUrl = "/cosmos.feegrant.v1beta1.";
12
20
  const bankBaseUrl = "/cosmos.bank.v1beta1.";
13
21
  const distBaseUrl = "/cosmos.distribution.v1beta1.";
14
22
  const vestBaseUrl = "/cosmos.vesting.v1beta1.";
15
- export * from "./tx/v1beta1/tx";
23
+ export * from "cosmjs-types/cosmos/tx/v1beta1/tx";
16
24
  /**
17
25
  * Module to generate the Messages related to the Authz module of the Blockchain
18
26
  */
@@ -330,17 +338,19 @@ export var Distribution;
330
338
  value: MsgCommunityPoolSpend.fromPartial(object),
331
339
  };
332
340
  };
333
- /** MsgDepositValidatorRewardsPool message creator
334
- *
335
- * @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
336
- * @returns A Msg object with the typeUrl and value object for the proper message
337
- */
338
- Distribution.DepositValidatorRewardsPool = function (object) {
339
- return {
340
- typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
341
- value: MsgDepositValidatorRewardsPool.fromPartial(object),
342
- };
343
- };
341
+ // /** MsgDepositValidatorRewardsPool message creator
342
+ // *
343
+ // * @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
344
+ // * @returns A Msg object with the typeUrl and value object for the proper message
345
+ // */
346
+ // export const DepositValidatorRewardsPool = function (
347
+ // object: DistributionMsgs.MsgDepositValidatorRewardsPool
348
+ // ) {
349
+ // return {
350
+ // typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
351
+ // value: MsgDepositValidatorRewardsPool.fromPartial(object),
352
+ // };
353
+ // };
344
354
  /** MsgFundCommunityPool message creator
345
355
  * Defines a method to allow an account to directly fund the community pool.
346
356
  *
@@ -3,12 +3,12 @@ import { Feature } from "../coreum/asset/ft/v1/token";
3
3
  import { ClassFeature } from "../coreum/asset/nft/v1/nft";
4
4
  import { Any } from "../google/protobuf/any";
5
5
  import { AccessConfig, Params as WasmParams } from "cosmjs-types/cosmwasm/wasm/v1/types";
6
- import { Description, CommissionRates, Params as StakingParams } from "../cosmos/staking/v1beta1/staking";
7
6
  import { VoteOption, WeightedVoteOption } from "cosmjs-types/cosmos/gov/v1beta1/gov";
8
7
  import { Input, Output, SendEnabled, Params as BankParams } from "cosmjs-types/cosmos/bank/v1beta1/bank";
9
8
  import { Params as DistParams } from "cosmjs-types/cosmos/distribution/v1beta1/distribution";
10
- import { Period } from "../cosmos/vesting/v1beta1/vesting";
11
- import { Grant } from "../cosmos/authz/v1beta1/authz";
9
+ import { Period } from "cosmjs-types/cosmos/vesting/v1beta1/vesting";
10
+ import { Grant } from "cosmjs-types/cosmos/authz/v1beta1/authz";
11
+ import { CommissionRates, Description, Params as StakingParams } from "cosmjs-types/cosmos/staking/v1beta1/staking";
12
12
  export declare namespace FTMsgs {
13
13
  interface MsgIssue {
14
14
  issuer: string;
@@ -330,7 +330,7 @@ export declare namespace AuthzMsgs {
330
330
  interface MsgGrant {
331
331
  granter: string;
332
332
  grantee: string;
333
- grant: Grant | undefined;
333
+ grant?: Grant;
334
334
  }
335
335
  /**
336
336
  * MsgExec attempts to execute the provided messages using
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../cosmos/base/v1beta1/coin";
2
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
3
  import { Any } from "../../google/protobuf/any";
4
4
  export declare const protobufPackage = "cosmwasm.wasm.v1";
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { Coin } from "../../cosmos/base/v1beta1/coin";
4
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
5
5
  import { Any } from "../../google/protobuf/any";
6
6
  export const protobufPackage = "cosmwasm.wasm.v1";
7
7
  function createBaseContractExecutionAuthorization() {
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../cosmos/base/v1beta1/coin";
2
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
3
  import { AccessConfig } from "./types";
4
4
  export declare const protobufPackage = "cosmwasm.wasm.v1";
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { Coin } from "../../cosmos/base/v1beta1/coin";
4
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
5
5
  import { AccessConfig } from "./types";
6
6
  export const protobufPackage = "cosmwasm.wasm.v1";
7
7
  function createBaseStoreCodeProposal() {
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../cosmos/base/v1beta1/coin";
2
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
3
  import { AccessConfig, Params } from "./types";
4
4
  export declare const protobufPackage = "cosmwasm.wasm.v1";
5
5
  /** MsgStoreCode submit Wasm code to the system */
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { Coin } from "../../cosmos/base/v1beta1/coin";
4
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
5
5
  import { AccessConfig, Params } from "./types";
6
6
  export const protobufPackage = "cosmwasm.wasm.v1";
7
7
  function createBaseMsgStoreCode() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coreum-js",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "JS/TS Library to to easily make use of the Coreum Blockchain",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -1,229 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { Any } from "../../../google/protobuf/any";
3
- export declare const protobufPackage = "cosmos.auth.v1beta1";
4
- /**
5
- * BaseAccount defines a base account type. It contains all the necessary fields
6
- * for basic account functionality. Any custom account type should extend this
7
- * type for additional functionality (e.g. vesting).
8
- */
9
- export interface BaseAccount {
10
- address: string;
11
- pubKey: Any | undefined;
12
- accountNumber: number;
13
- sequence: number;
14
- }
15
- /** ModuleAccount defines an account for modules that holds coins on a pool. */
16
- export interface ModuleAccount {
17
- baseAccount: BaseAccount | undefined;
18
- name: string;
19
- permissions: string[];
20
- }
21
- /**
22
- * ModuleCredential represents a unclaimable pubkey for base accounts controlled by modules.
23
- *
24
- * Since: cosmos-sdk 0.47
25
- */
26
- export interface ModuleCredential {
27
- /** module_name is the name of the module used for address derivation (passed into address.Module). */
28
- moduleName: string;
29
- /**
30
- * derivation_keys is for deriving a module account address (passed into address.Module)
31
- * adding more keys creates sub-account addresses (passed into address.Derive)
32
- */
33
- derivationKeys: Uint8Array[];
34
- }
35
- /** Params defines the parameters for the auth module. */
36
- export interface Params {
37
- maxMemoCharacters: number;
38
- txSigLimit: number;
39
- txSizeCostPerByte: number;
40
- sigVerifyCostEd25519: number;
41
- sigVerifyCostSecp256k1: number;
42
- }
43
- export declare const BaseAccount: {
44
- encode(message: BaseAccount, writer?: _m0.Writer): _m0.Writer;
45
- decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount;
46
- fromJSON(object: any): BaseAccount;
47
- toJSON(message: BaseAccount): unknown;
48
- create<I extends {
49
- address?: string;
50
- pubKey?: {
51
- typeUrl?: string;
52
- value?: Uint8Array;
53
- };
54
- accountNumber?: number;
55
- sequence?: number;
56
- } & {
57
- address?: string;
58
- pubKey?: {
59
- typeUrl?: string;
60
- value?: Uint8Array;
61
- } & {
62
- typeUrl?: string;
63
- value?: Uint8Array;
64
- } & { [K in Exclude<keyof I["pubKey"], keyof Any>]: never; };
65
- accountNumber?: number;
66
- sequence?: number;
67
- } & { [K_1 in Exclude<keyof I, keyof BaseAccount>]: never; }>(base?: I): BaseAccount;
68
- fromPartial<I_1 extends {
69
- address?: string;
70
- pubKey?: {
71
- typeUrl?: string;
72
- value?: Uint8Array;
73
- };
74
- accountNumber?: number;
75
- sequence?: number;
76
- } & {
77
- address?: string;
78
- pubKey?: {
79
- typeUrl?: string;
80
- value?: Uint8Array;
81
- } & {
82
- typeUrl?: string;
83
- value?: Uint8Array;
84
- } & { [K_2 in Exclude<keyof I_1["pubKey"], keyof Any>]: never; };
85
- accountNumber?: number;
86
- sequence?: number;
87
- } & { [K_3 in Exclude<keyof I_1, keyof BaseAccount>]: never; }>(object: I_1): BaseAccount;
88
- };
89
- export declare const ModuleAccount: {
90
- encode(message: ModuleAccount, writer?: _m0.Writer): _m0.Writer;
91
- decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount;
92
- fromJSON(object: any): ModuleAccount;
93
- toJSON(message: ModuleAccount): unknown;
94
- create<I extends {
95
- baseAccount?: {
96
- address?: string;
97
- pubKey?: {
98
- typeUrl?: string;
99
- value?: Uint8Array;
100
- };
101
- accountNumber?: number;
102
- sequence?: number;
103
- };
104
- name?: string;
105
- permissions?: string[];
106
- } & {
107
- baseAccount?: {
108
- address?: string;
109
- pubKey?: {
110
- typeUrl?: string;
111
- value?: Uint8Array;
112
- };
113
- accountNumber?: number;
114
- sequence?: number;
115
- } & {
116
- address?: string;
117
- pubKey?: {
118
- typeUrl?: string;
119
- value?: Uint8Array;
120
- } & {
121
- typeUrl?: string;
122
- value?: Uint8Array;
123
- } & { [K in Exclude<keyof I["baseAccount"]["pubKey"], keyof Any>]: never; };
124
- accountNumber?: number;
125
- sequence?: number;
126
- } & { [K_1 in Exclude<keyof I["baseAccount"], keyof BaseAccount>]: never; };
127
- name?: string;
128
- permissions?: string[] & string[] & { [K_2 in Exclude<keyof I["permissions"], keyof string[]>]: never; };
129
- } & { [K_3 in Exclude<keyof I, keyof ModuleAccount>]: never; }>(base?: I): ModuleAccount;
130
- fromPartial<I_1 extends {
131
- baseAccount?: {
132
- address?: string;
133
- pubKey?: {
134
- typeUrl?: string;
135
- value?: Uint8Array;
136
- };
137
- accountNumber?: number;
138
- sequence?: number;
139
- };
140
- name?: string;
141
- permissions?: string[];
142
- } & {
143
- baseAccount?: {
144
- address?: string;
145
- pubKey?: {
146
- typeUrl?: string;
147
- value?: Uint8Array;
148
- };
149
- accountNumber?: number;
150
- sequence?: number;
151
- } & {
152
- address?: string;
153
- pubKey?: {
154
- typeUrl?: string;
155
- value?: Uint8Array;
156
- } & {
157
- typeUrl?: string;
158
- value?: Uint8Array;
159
- } & { [K_4 in Exclude<keyof I_1["baseAccount"]["pubKey"], keyof Any>]: never; };
160
- accountNumber?: number;
161
- sequence?: number;
162
- } & { [K_5 in Exclude<keyof I_1["baseAccount"], keyof BaseAccount>]: never; };
163
- name?: string;
164
- permissions?: string[] & string[] & { [K_6 in Exclude<keyof I_1["permissions"], keyof string[]>]: never; };
165
- } & { [K_7 in Exclude<keyof I_1, keyof ModuleAccount>]: never; }>(object: I_1): ModuleAccount;
166
- };
167
- export declare const ModuleCredential: {
168
- encode(message: ModuleCredential, writer?: _m0.Writer): _m0.Writer;
169
- decode(input: _m0.Reader | Uint8Array, length?: number): ModuleCredential;
170
- fromJSON(object: any): ModuleCredential;
171
- toJSON(message: ModuleCredential): unknown;
172
- create<I extends {
173
- moduleName?: string;
174
- derivationKeys?: Uint8Array[];
175
- } & {
176
- moduleName?: string;
177
- derivationKeys?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["derivationKeys"], keyof Uint8Array[]>]: never; };
178
- } & { [K_1 in Exclude<keyof I, keyof ModuleCredential>]: never; }>(base?: I): ModuleCredential;
179
- fromPartial<I_1 extends {
180
- moduleName?: string;
181
- derivationKeys?: Uint8Array[];
182
- } & {
183
- moduleName?: string;
184
- derivationKeys?: Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I_1["derivationKeys"], keyof Uint8Array[]>]: never; };
185
- } & { [K_3 in Exclude<keyof I_1, keyof ModuleCredential>]: never; }>(object: I_1): ModuleCredential;
186
- };
187
- export declare const Params: {
188
- encode(message: Params, writer?: _m0.Writer): _m0.Writer;
189
- decode(input: _m0.Reader | Uint8Array, length?: number): Params;
190
- fromJSON(object: any): Params;
191
- toJSON(message: Params): unknown;
192
- create<I extends {
193
- maxMemoCharacters?: number;
194
- txSigLimit?: number;
195
- txSizeCostPerByte?: number;
196
- sigVerifyCostEd25519?: number;
197
- sigVerifyCostSecp256k1?: number;
198
- } & {
199
- maxMemoCharacters?: number;
200
- txSigLimit?: number;
201
- txSizeCostPerByte?: number;
202
- sigVerifyCostEd25519?: number;
203
- sigVerifyCostSecp256k1?: number;
204
- } & { [K in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
205
- fromPartial<I_1 extends {
206
- maxMemoCharacters?: number;
207
- txSigLimit?: number;
208
- txSizeCostPerByte?: number;
209
- sigVerifyCostEd25519?: number;
210
- sigVerifyCostSecp256k1?: number;
211
- } & {
212
- maxMemoCharacters?: number;
213
- txSigLimit?: number;
214
- txSizeCostPerByte?: number;
215
- sigVerifyCostEd25519?: number;
216
- sigVerifyCostSecp256k1?: number;
217
- } & { [K_1 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
218
- };
219
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
220
- 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 {} ? {
221
- [K in keyof T]?: DeepPartial<T[K]>;
222
- } : Partial<T>;
223
- type KeysOfUnion<T> = T extends T ? keyof T : never;
224
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
225
- [K in keyof P]: Exact<P[K], I[K]>;
226
- } & {
227
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
228
- };
229
- export {};