coreum-js 2.10.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 +9 -9
  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,367 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { Any } from "../../../google/protobuf/any";
3
- import { Duration } from "../../../google/protobuf/duration";
4
- import { Coin } from "../../base/v1beta1/coin";
5
- export declare const protobufPackage = "cosmos.feegrant.v1beta1";
6
- /** Since: cosmos-sdk 0.43 */
7
- /**
8
- * BasicAllowance implements Allowance with a one-time grant of coins
9
- * that optionally expires. The grantee can use up to SpendLimit to cover fees.
10
- */
11
- export interface BasicAllowance {
12
- /**
13
- * spend_limit specifies the maximum amount of coins that can be spent
14
- * by this allowance and will be updated as coins are spent. If it is
15
- * empty, there is no spend limit and any amount of coins can be spent.
16
- */
17
- spendLimit: Coin[];
18
- /** expiration specifies an optional time when this allowance expires */
19
- expiration: Date | undefined;
20
- }
21
- /**
22
- * PeriodicAllowance extends Allowance to allow for both a maximum cap,
23
- * as well as a limit per time period.
24
- */
25
- export interface PeriodicAllowance {
26
- /** basic specifies a struct of `BasicAllowance` */
27
- basic: BasicAllowance | undefined;
28
- /**
29
- * period specifies the time duration in which period_spend_limit coins can
30
- * be spent before that allowance is reset
31
- */
32
- period: Duration | undefined;
33
- /**
34
- * period_spend_limit specifies the maximum number of coins that can be spent
35
- * in the period
36
- */
37
- periodSpendLimit: Coin[];
38
- /** period_can_spend is the number of coins left to be spent before the period_reset time */
39
- periodCanSpend: Coin[];
40
- /**
41
- * period_reset is the time at which this period resets and a new one begins,
42
- * it is calculated from the start time of the first transaction after the
43
- * last period ended
44
- */
45
- periodReset: Date | undefined;
46
- }
47
- /** AllowedMsgAllowance creates allowance only for specified message types. */
48
- export interface AllowedMsgAllowance {
49
- /** allowance can be any of basic and periodic fee allowance. */
50
- allowance: Any | undefined;
51
- /** allowed_messages are the messages for which the grantee has the access. */
52
- allowedMessages: string[];
53
- }
54
- /** Grant is stored in the KVStore to record a grant with full context */
55
- export interface Grant {
56
- /** granter is the address of the user granting an allowance of their funds. */
57
- granter: string;
58
- /** grantee is the address of the user being granted an allowance of another user's funds. */
59
- grantee: string;
60
- /** allowance can be any of basic, periodic, allowed fee allowance. */
61
- allowance: Any | undefined;
62
- }
63
- export declare const BasicAllowance: {
64
- encode(message: BasicAllowance, writer?: _m0.Writer): _m0.Writer;
65
- decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance;
66
- fromJSON(object: any): BasicAllowance;
67
- toJSON(message: BasicAllowance): unknown;
68
- create<I extends {
69
- spendLimit?: {
70
- denom?: string;
71
- amount?: string;
72
- }[];
73
- expiration?: Date | undefined;
74
- } & {
75
- spendLimit?: {
76
- denom?: string;
77
- amount?: string;
78
- }[] & ({
79
- denom?: string;
80
- amount?: string;
81
- } & {
82
- denom?: string;
83
- amount?: string;
84
- } & { [K in Exclude<keyof I["spendLimit"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["spendLimit"], keyof {
85
- denom?: string;
86
- amount?: string;
87
- }[]>]: never; };
88
- expiration?: Date | undefined;
89
- } & { [K_2 in Exclude<keyof I, keyof BasicAllowance>]: never; }>(base?: I): BasicAllowance;
90
- fromPartial<I_1 extends {
91
- spendLimit?: {
92
- denom?: string;
93
- amount?: string;
94
- }[];
95
- expiration?: Date | undefined;
96
- } & {
97
- spendLimit?: {
98
- denom?: string;
99
- amount?: string;
100
- }[] & ({
101
- denom?: string;
102
- amount?: string;
103
- } & {
104
- denom?: string;
105
- amount?: string;
106
- } & { [K_3 in Exclude<keyof I_1["spendLimit"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["spendLimit"], keyof {
107
- denom?: string;
108
- amount?: string;
109
- }[]>]: never; };
110
- expiration?: Date | undefined;
111
- } & { [K_5 in Exclude<keyof I_1, keyof BasicAllowance>]: never; }>(object: I_1): BasicAllowance;
112
- };
113
- export declare const PeriodicAllowance: {
114
- encode(message: PeriodicAllowance, writer?: _m0.Writer): _m0.Writer;
115
- decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance;
116
- fromJSON(object: any): PeriodicAllowance;
117
- toJSON(message: PeriodicAllowance): unknown;
118
- create<I extends {
119
- basic?: {
120
- spendLimit?: {
121
- denom?: string;
122
- amount?: string;
123
- }[];
124
- expiration?: Date | undefined;
125
- };
126
- period?: {
127
- seconds?: number;
128
- nanos?: number;
129
- };
130
- periodSpendLimit?: {
131
- denom?: string;
132
- amount?: string;
133
- }[];
134
- periodCanSpend?: {
135
- denom?: string;
136
- amount?: string;
137
- }[];
138
- periodReset?: Date | undefined;
139
- } & {
140
- basic?: {
141
- spendLimit?: {
142
- denom?: string;
143
- amount?: string;
144
- }[];
145
- expiration?: Date | undefined;
146
- } & {
147
- spendLimit?: {
148
- denom?: string;
149
- amount?: string;
150
- }[] & ({
151
- denom?: string;
152
- amount?: string;
153
- } & {
154
- denom?: string;
155
- amount?: string;
156
- } & { [K in Exclude<keyof I["basic"]["spendLimit"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["basic"]["spendLimit"], keyof {
157
- denom?: string;
158
- amount?: string;
159
- }[]>]: never; };
160
- expiration?: Date | undefined;
161
- } & { [K_2 in Exclude<keyof I["basic"], keyof BasicAllowance>]: never; };
162
- period?: {
163
- seconds?: number;
164
- nanos?: number;
165
- } & {
166
- seconds?: number;
167
- nanos?: number;
168
- } & { [K_3 in Exclude<keyof I["period"], keyof Duration>]: never; };
169
- periodSpendLimit?: {
170
- denom?: string;
171
- amount?: string;
172
- }[] & ({
173
- denom?: string;
174
- amount?: string;
175
- } & {
176
- denom?: string;
177
- amount?: string;
178
- } & { [K_4 in Exclude<keyof I["periodSpendLimit"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["periodSpendLimit"], keyof {
179
- denom?: string;
180
- amount?: string;
181
- }[]>]: never; };
182
- periodCanSpend?: {
183
- denom?: string;
184
- amount?: string;
185
- }[] & ({
186
- denom?: string;
187
- amount?: string;
188
- } & {
189
- denom?: string;
190
- amount?: string;
191
- } & { [K_6 in Exclude<keyof I["periodCanSpend"][number], keyof Coin>]: never; })[] & { [K_7 in Exclude<keyof I["periodCanSpend"], keyof {
192
- denom?: string;
193
- amount?: string;
194
- }[]>]: never; };
195
- periodReset?: Date | undefined;
196
- } & { [K_8 in Exclude<keyof I, keyof PeriodicAllowance>]: never; }>(base?: I): PeriodicAllowance;
197
- fromPartial<I_1 extends {
198
- basic?: {
199
- spendLimit?: {
200
- denom?: string;
201
- amount?: string;
202
- }[];
203
- expiration?: Date | undefined;
204
- };
205
- period?: {
206
- seconds?: number;
207
- nanos?: number;
208
- };
209
- periodSpendLimit?: {
210
- denom?: string;
211
- amount?: string;
212
- }[];
213
- periodCanSpend?: {
214
- denom?: string;
215
- amount?: string;
216
- }[];
217
- periodReset?: Date | undefined;
218
- } & {
219
- basic?: {
220
- spendLimit?: {
221
- denom?: string;
222
- amount?: string;
223
- }[];
224
- expiration?: Date | undefined;
225
- } & {
226
- spendLimit?: {
227
- denom?: string;
228
- amount?: string;
229
- }[] & ({
230
- denom?: string;
231
- amount?: string;
232
- } & {
233
- denom?: string;
234
- amount?: string;
235
- } & { [K_9 in Exclude<keyof I_1["basic"]["spendLimit"][number], keyof Coin>]: never; })[] & { [K_10 in Exclude<keyof I_1["basic"]["spendLimit"], keyof {
236
- denom?: string;
237
- amount?: string;
238
- }[]>]: never; };
239
- expiration?: Date | undefined;
240
- } & { [K_11 in Exclude<keyof I_1["basic"], keyof BasicAllowance>]: never; };
241
- period?: {
242
- seconds?: number;
243
- nanos?: number;
244
- } & {
245
- seconds?: number;
246
- nanos?: number;
247
- } & { [K_12 in Exclude<keyof I_1["period"], keyof Duration>]: never; };
248
- periodSpendLimit?: {
249
- denom?: string;
250
- amount?: string;
251
- }[] & ({
252
- denom?: string;
253
- amount?: string;
254
- } & {
255
- denom?: string;
256
- amount?: string;
257
- } & { [K_13 in Exclude<keyof I_1["periodSpendLimit"][number], keyof Coin>]: never; })[] & { [K_14 in Exclude<keyof I_1["periodSpendLimit"], keyof {
258
- denom?: string;
259
- amount?: string;
260
- }[]>]: never; };
261
- periodCanSpend?: {
262
- denom?: string;
263
- amount?: string;
264
- }[] & ({
265
- denom?: string;
266
- amount?: string;
267
- } & {
268
- denom?: string;
269
- amount?: string;
270
- } & { [K_15 in Exclude<keyof I_1["periodCanSpend"][number], keyof Coin>]: never; })[] & { [K_16 in Exclude<keyof I_1["periodCanSpend"], keyof {
271
- denom?: string;
272
- amount?: string;
273
- }[]>]: never; };
274
- periodReset?: Date | undefined;
275
- } & { [K_17 in Exclude<keyof I_1, keyof PeriodicAllowance>]: never; }>(object: I_1): PeriodicAllowance;
276
- };
277
- export declare const AllowedMsgAllowance: {
278
- encode(message: AllowedMsgAllowance, writer?: _m0.Writer): _m0.Writer;
279
- decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance;
280
- fromJSON(object: any): AllowedMsgAllowance;
281
- toJSON(message: AllowedMsgAllowance): unknown;
282
- create<I extends {
283
- allowance?: {
284
- typeUrl?: string;
285
- value?: Uint8Array;
286
- };
287
- allowedMessages?: string[];
288
- } & {
289
- allowance?: {
290
- typeUrl?: string;
291
- value?: Uint8Array;
292
- } & {
293
- typeUrl?: string;
294
- value?: Uint8Array;
295
- } & { [K in Exclude<keyof I["allowance"], keyof Any>]: never; };
296
- allowedMessages?: string[] & string[] & { [K_1 in Exclude<keyof I["allowedMessages"], keyof string[]>]: never; };
297
- } & { [K_2 in Exclude<keyof I, keyof AllowedMsgAllowance>]: never; }>(base?: I): AllowedMsgAllowance;
298
- fromPartial<I_1 extends {
299
- allowance?: {
300
- typeUrl?: string;
301
- value?: Uint8Array;
302
- };
303
- allowedMessages?: string[];
304
- } & {
305
- allowance?: {
306
- typeUrl?: string;
307
- value?: Uint8Array;
308
- } & {
309
- typeUrl?: string;
310
- value?: Uint8Array;
311
- } & { [K_3 in Exclude<keyof I_1["allowance"], keyof Any>]: never; };
312
- allowedMessages?: string[] & string[] & { [K_4 in Exclude<keyof I_1["allowedMessages"], keyof string[]>]: never; };
313
- } & { [K_5 in Exclude<keyof I_1, keyof AllowedMsgAllowance>]: never; }>(object: I_1): AllowedMsgAllowance;
314
- };
315
- export declare const Grant: {
316
- encode(message: Grant, writer?: _m0.Writer): _m0.Writer;
317
- decode(input: _m0.Reader | Uint8Array, length?: number): Grant;
318
- fromJSON(object: any): Grant;
319
- toJSON(message: Grant): unknown;
320
- create<I extends {
321
- granter?: string;
322
- grantee?: string;
323
- allowance?: {
324
- typeUrl?: string;
325
- value?: Uint8Array;
326
- };
327
- } & {
328
- granter?: string;
329
- grantee?: string;
330
- allowance?: {
331
- typeUrl?: string;
332
- value?: Uint8Array;
333
- } & {
334
- typeUrl?: string;
335
- value?: Uint8Array;
336
- } & { [K in Exclude<keyof I["allowance"], keyof Any>]: never; };
337
- } & { [K_1 in Exclude<keyof I, keyof Grant>]: never; }>(base?: I): Grant;
338
- fromPartial<I_1 extends {
339
- granter?: string;
340
- grantee?: string;
341
- allowance?: {
342
- typeUrl?: string;
343
- value?: Uint8Array;
344
- };
345
- } & {
346
- granter?: string;
347
- grantee?: string;
348
- allowance?: {
349
- typeUrl?: string;
350
- value?: Uint8Array;
351
- } & {
352
- typeUrl?: string;
353
- value?: Uint8Array;
354
- } & { [K_2 in Exclude<keyof I_1["allowance"], keyof Any>]: never; };
355
- } & { [K_3 in Exclude<keyof I_1, keyof Grant>]: never; }>(object: I_1): Grant;
356
- };
357
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
358
- 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 {} ? {
359
- [K in keyof T]?: DeepPartial<T[K]>;
360
- } : Partial<T>;
361
- type KeysOfUnion<T> = T extends T ? keyof T : never;
362
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
363
- [K in keyof P]: Exact<P[K], I[K]>;
364
- } & {
365
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
366
- };
367
- export {};