coreum-js 2.3.1

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 (218) hide show
  1. package/README.md +18 -0
  2. package/dist/main/client/index.d.ts +48 -0
  3. package/dist/main/client/index.js +242 -0
  4. package/dist/main/coreum/asset/ft/v1/event.d.ts +148 -0
  5. package/dist/main/coreum/asset/ft/v1/event.js +377 -0
  6. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +415 -0
  7. package/dist/main/coreum/asset/ft/v1/genesis.js +197 -0
  8. package/dist/main/coreum/asset/ft/v1/params.d.ts +54 -0
  9. package/dist/main/coreum/asset/ft/v1/params.js +69 -0
  10. package/dist/main/coreum/asset/ft/v1/query.d.ts +1863 -0
  11. package/dist/main/coreum/asset/ft/v1/query.js +892 -0
  12. package/dist/main/coreum/asset/ft/v1/token.d.ts +145 -0
  13. package/dist/main/coreum/asset/ft/v1/token.js +361 -0
  14. package/dist/main/coreum/asset/ft/v1/tx.d.ts +416 -0
  15. package/dist/main/coreum/asset/ft/v1/tx.js +760 -0
  16. package/dist/main/coreum/asset/index.d.ts +3 -0
  17. package/dist/main/coreum/asset/index.js +26 -0
  18. package/dist/main/coreum/asset/nft/v1/event.d.ts +191 -0
  19. package/dist/main/coreum/asset/nft/v1/event.js +490 -0
  20. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +321 -0
  21. package/dist/main/coreum/asset/nft/v1/genesis.js +362 -0
  22. package/dist/main/coreum/asset/nft/v1/nft.d.ts +153 -0
  23. package/dist/main/coreum/asset/nft/v1/nft.js +361 -0
  24. package/dist/main/coreum/asset/nft/v1/params.d.ts +54 -0
  25. package/dist/main/coreum/asset/nft/v1/params.js +69 -0
  26. package/dist/main/coreum/asset/nft/v1/query.d.ts +785 -0
  27. package/dist/main/coreum/asset/nft/v1/query.js +627 -0
  28. package/dist/main/coreum/asset/nft/v1/tx.d.ts +357 -0
  29. package/dist/main/coreum/asset/nft/v1/tx.js +806 -0
  30. package/dist/main/coreum/asset/nft/v1/types.d.ts +33 -0
  31. package/dist/main/coreum/asset/nft/v1/types.js +108 -0
  32. package/dist/main/coreum/customparams/v1/genesis.d.ts +48 -0
  33. package/dist/main/coreum/customparams/v1/genesis.js +70 -0
  34. package/dist/main/coreum/customparams/v1/params.d.ts +35 -0
  35. package/dist/main/coreum/customparams/v1/params.js +67 -0
  36. package/dist/main/coreum/customparams/v1/query.d.ts +74 -0
  37. package/dist/main/coreum/customparams/v1/query.js +119 -0
  38. package/dist/main/coreum/extensions/ft.d.ts +13 -0
  39. package/dist/main/coreum/extensions/ft.js +36 -0
  40. package/dist/main/coreum/extensions/nft.d.ts +11 -0
  41. package/dist/main/coreum/extensions/nft.js +30 -0
  42. package/dist/main/coreum/extensions/nftbeta.d.ts +13 -0
  43. package/dist/main/coreum/extensions/nftbeta.js +36 -0
  44. package/dist/main/coreum/feemodel/v1/genesis.d.ts +251 -0
  45. package/dist/main/coreum/feemodel/v1/genesis.js +87 -0
  46. package/dist/main/coreum/feemodel/v1/params.d.ts +384 -0
  47. package/dist/main/coreum/feemodel/v1/params.js +201 -0
  48. package/dist/main/coreum/feemodel/v1/query.d.ts +306 -0
  49. package/dist/main/coreum/feemodel/v1/query.js +214 -0
  50. package/dist/main/coreum/google/api/annotations.d.ts +1 -0
  51. package/dist/main/coreum/google/api/annotations.js +6 -0
  52. package/dist/main/coreum/google/api/http.d.ts +2953 -0
  53. package/dist/main/coreum/google/api/http.js +329 -0
  54. package/dist/main/coreum/google/protobuf/any.d.ts +148 -0
  55. package/dist/main/coreum/google/protobuf/any.js +122 -0
  56. package/dist/main/coreum/index.d.ts +291 -0
  57. package/dist/main/coreum/index.js +116 -0
  58. package/dist/main/coreum/nft/index.d.ts +2 -0
  59. package/dist/main/coreum/nft/index.js +9 -0
  60. package/dist/main/coreum/nft/v1beta1/event.d.ts +109 -0
  61. package/dist/main/coreum/nft/v1beta1/event.js +255 -0
  62. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +460 -0
  63. package/dist/main/coreum/nft/v1beta1/genesis.js +160 -0
  64. package/dist/main/coreum/nft/v1beta1/nft.d.ts +153 -0
  65. package/dist/main/coreum/nft/v1beta1/nft.js +258 -0
  66. package/dist/main/coreum/nft/v1beta1/query.d.ts +1733 -0
  67. package/dist/main/coreum/nft/v1beta1/query.js +872 -0
  68. package/dist/main/coreum/nft/v1beta1/tx.d.ts +80 -0
  69. package/dist/main/coreum/nft/v1beta1/tx.js +155 -0
  70. package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +470 -0
  71. package/dist/main/cosmos/base/query/v1beta1/pagination.js +224 -0
  72. package/dist/main/cosmos/base/v1beta1/coin.d.ts +114 -0
  73. package/dist/main/cosmos/base/v1beta1/coin.js +242 -0
  74. package/dist/main/cosmos/msg/v1/msg.d.ts +1 -0
  75. package/dist/main/cosmos/msg/v1/msg.js +6 -0
  76. package/dist/main/index.d.ts +5 -0
  77. package/dist/main/index.js +22 -0
  78. package/dist/main/services/cosmostation.d.ts +4 -0
  79. package/dist/main/services/cosmostation.js +47 -0
  80. package/dist/main/services/index.d.ts +2 -0
  81. package/dist/main/services/index.js +19 -0
  82. package/dist/main/services/keplr.d.ts +2 -0
  83. package/dist/main/services/keplr.js +119 -0
  84. package/dist/main/signers/dcent.d.ts +1 -0
  85. package/dist/main/signers/dcent.js +41 -0
  86. package/dist/main/signers/index.d.ts +3 -0
  87. package/dist/main/signers/index.js +20 -0
  88. package/dist/main/signers/offline.d.ts +4 -0
  89. package/dist/main/signers/offline.js +11 -0
  90. package/dist/main/signers/signer.d.ts +6 -0
  91. package/dist/main/signers/signer.js +17 -0
  92. package/dist/main/types/core.d.ts +24 -0
  93. package/dist/main/types/core.js +18 -0
  94. package/dist/main/types/coreum.d.ts +74 -0
  95. package/dist/main/types/coreum.js +80 -0
  96. package/dist/main/types/index.d.ts +3 -0
  97. package/dist/main/types/index.js +20 -0
  98. package/dist/main/types/signing.d.ts +20 -0
  99. package/dist/main/types/signing.js +17 -0
  100. package/dist/main/utils/calculations.d.ts +6 -0
  101. package/dist/main/utils/calculations.js +41 -0
  102. package/dist/main/utils/event.d.ts +5 -0
  103. package/dist/main/utils/event.js +22 -0
  104. package/dist/main/utils/index.d.ts +3 -0
  105. package/dist/main/utils/index.js +20 -0
  106. package/dist/main/utils/nft.d.ts +2 -0
  107. package/dist/main/utils/nft.js +9 -0
  108. package/dist/main/utils/wallet.d.ts +5 -0
  109. package/dist/main/utils/wallet.js +37 -0
  110. package/dist/module/client/index.d.ts +48 -0
  111. package/dist/module/client/index.js +241 -0
  112. package/dist/module/coreum/asset/ft/v1/event.d.ts +148 -0
  113. package/dist/module/coreum/asset/ft/v1/event.js +368 -0
  114. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +415 -0
  115. package/dist/module/coreum/asset/ft/v1/genesis.js +189 -0
  116. package/dist/module/coreum/asset/ft/v1/params.d.ts +54 -0
  117. package/dist/module/coreum/asset/ft/v1/params.js +63 -0
  118. package/dist/module/coreum/asset/ft/v1/query.d.ts +1863 -0
  119. package/dist/module/coreum/asset/ft/v1/query.js +878 -0
  120. package/dist/module/coreum/asset/ft/v1/token.d.ts +145 -0
  121. package/dist/module/coreum/asset/ft/v1/token.js +351 -0
  122. package/dist/module/coreum/asset/ft/v1/tx.d.ts +416 -0
  123. package/dist/module/coreum/asset/ft/v1/tx.js +747 -0
  124. package/dist/module/coreum/asset/index.d.ts +3 -0
  125. package/dist/module/coreum/asset/index.js +23 -0
  126. package/dist/module/coreum/asset/nft/v1/event.d.ts +191 -0
  127. package/dist/module/coreum/asset/nft/v1/event.js +479 -0
  128. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +321 -0
  129. package/dist/module/coreum/asset/nft/v1/genesis.js +352 -0
  130. package/dist/module/coreum/asset/nft/v1/nft.d.ts +153 -0
  131. package/dist/module/coreum/asset/nft/v1/nft.js +351 -0
  132. package/dist/module/coreum/asset/nft/v1/params.d.ts +54 -0
  133. package/dist/module/coreum/asset/nft/v1/params.js +63 -0
  134. package/dist/module/coreum/asset/nft/v1/query.d.ts +785 -0
  135. package/dist/module/coreum/asset/nft/v1/query.js +615 -0
  136. package/dist/module/coreum/asset/nft/v1/tx.d.ts +357 -0
  137. package/dist/module/coreum/asset/nft/v1/tx.js +794 -0
  138. package/dist/module/coreum/asset/nft/v1/types.d.ts +33 -0
  139. package/dist/module/coreum/asset/nft/v1/types.js +101 -0
  140. package/dist/module/coreum/customparams/v1/genesis.d.ts +48 -0
  141. package/dist/module/coreum/customparams/v1/genesis.js +64 -0
  142. package/dist/module/coreum/customparams/v1/params.d.ts +35 -0
  143. package/dist/module/coreum/customparams/v1/params.js +60 -0
  144. package/dist/module/coreum/customparams/v1/query.d.ts +74 -0
  145. package/dist/module/coreum/customparams/v1/query.js +114 -0
  146. package/dist/module/coreum/extensions/ft.d.ts +13 -0
  147. package/dist/module/coreum/extensions/ft.js +32 -0
  148. package/dist/module/coreum/extensions/nft.d.ts +11 -0
  149. package/dist/module/coreum/extensions/nft.js +26 -0
  150. package/dist/module/coreum/extensions/nftbeta.d.ts +13 -0
  151. package/dist/module/coreum/extensions/nftbeta.js +32 -0
  152. package/dist/module/coreum/feemodel/v1/genesis.d.ts +251 -0
  153. package/dist/module/coreum/feemodel/v1/genesis.js +81 -0
  154. package/dist/module/coreum/feemodel/v1/params.d.ts +384 -0
  155. package/dist/module/coreum/feemodel/v1/params.js +194 -0
  156. package/dist/module/coreum/feemodel/v1/query.d.ts +306 -0
  157. package/dist/module/coreum/feemodel/v1/query.js +209 -0
  158. package/dist/module/coreum/google/api/annotations.d.ts +1 -0
  159. package/dist/module/coreum/google/api/annotations.js +3 -0
  160. package/dist/module/coreum/google/api/http.d.ts +2953 -0
  161. package/dist/module/coreum/google/api/http.js +320 -0
  162. package/dist/module/coreum/google/protobuf/any.d.ts +148 -0
  163. package/dist/module/coreum/google/protobuf/any.js +115 -0
  164. package/dist/module/coreum/index.d.ts +291 -0
  165. package/dist/module/coreum/index.js +113 -0
  166. package/dist/module/coreum/nft/index.d.ts +2 -0
  167. package/dist/module/coreum/nft/index.js +6 -0
  168. package/dist/module/coreum/nft/v1beta1/event.d.ts +109 -0
  169. package/dist/module/coreum/nft/v1beta1/event.js +246 -0
  170. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +460 -0
  171. package/dist/module/coreum/nft/v1beta1/genesis.js +152 -0
  172. package/dist/module/coreum/nft/v1beta1/nft.d.ts +153 -0
  173. package/dist/module/coreum/nft/v1beta1/nft.js +250 -0
  174. package/dist/module/coreum/nft/v1beta1/query.d.ts +1733 -0
  175. package/dist/module/coreum/nft/v1beta1/query.js +858 -0
  176. package/dist/module/coreum/nft/v1beta1/tx.d.ts +80 -0
  177. package/dist/module/coreum/nft/v1beta1/tx.js +149 -0
  178. package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +470 -0
  179. package/dist/module/cosmos/base/query/v1beta1/pagination.js +216 -0
  180. package/dist/module/cosmos/base/v1beta1/coin.d.ts +114 -0
  181. package/dist/module/cosmos/base/v1beta1/coin.js +232 -0
  182. package/dist/module/cosmos/msg/v1/msg.d.ts +1 -0
  183. package/dist/module/cosmos/msg/v1/msg.js +3 -0
  184. package/dist/module/index.d.ts +5 -0
  185. package/dist/module/index.js +6 -0
  186. package/dist/module/services/cosmostation.d.ts +4 -0
  187. package/dist/module/services/cosmostation.js +42 -0
  188. package/dist/module/services/index.d.ts +2 -0
  189. package/dist/module/services/index.js +3 -0
  190. package/dist/module/services/keplr.d.ts +2 -0
  191. package/dist/module/services/keplr.js +115 -0
  192. package/dist/module/signers/dcent.d.ts +1 -0
  193. package/dist/module/signers/dcent.js +31 -0
  194. package/dist/module/signers/index.d.ts +3 -0
  195. package/dist/module/signers/index.js +4 -0
  196. package/dist/module/signers/offline.d.ts +4 -0
  197. package/dist/module/signers/offline.js +7 -0
  198. package/dist/module/signers/signer.d.ts +6 -0
  199. package/dist/module/signers/signer.js +11 -0
  200. package/dist/module/types/core.d.ts +24 -0
  201. package/dist/module/types/core.js +15 -0
  202. package/dist/module/types/coreum.d.ts +74 -0
  203. package/dist/module/types/coreum.js +77 -0
  204. package/dist/module/types/index.d.ts +3 -0
  205. package/dist/module/types/index.js +4 -0
  206. package/dist/module/types/signing.d.ts +20 -0
  207. package/dist/module/types/signing.js +14 -0
  208. package/dist/module/utils/calculations.d.ts +6 -0
  209. package/dist/module/utils/calculations.js +29 -0
  210. package/dist/module/utils/event.d.ts +5 -0
  211. package/dist/module/utils/event.js +18 -0
  212. package/dist/module/utils/index.d.ts +3 -0
  213. package/dist/module/utils/index.js +4 -0
  214. package/dist/module/utils/nft.d.ts +2 -0
  215. package/dist/module/utils/nft.js +5 -0
  216. package/dist/module/utils/wallet.d.ts +5 -0
  217. package/dist/module/utils/wallet.js +31 -0
  218. package/package.json +55 -0
@@ -0,0 +1,415 @@
1
+ import Long from "long";
2
+ import _m0 from "protobufjs/minimal";
3
+ import { Coin } from "../../../../cosmos/base/v1beta1/coin";
4
+ import { Params } from "./params";
5
+ import { Token } from "./token";
6
+ export declare const protobufPackage = "coreum.asset.ft.v1";
7
+ /** GenesisState defines the module genesis state. */
8
+ export interface GenesisState {
9
+ /** params defines all the parameters of the module. */
10
+ params?: Params;
11
+ /** tokens keep the fungible token state */
12
+ tokens: Token[];
13
+ /** frozen_balances contains the frozen balances on all of the accounts */
14
+ frozenBalances: Balance[];
15
+ /** whitelisted_balances contains the whitelisted balances on all of the accounts */
16
+ whitelistedBalances: Balance[];
17
+ }
18
+ /** Balance defines an account address and balance pair used module genesis genesis state. */
19
+ export interface Balance {
20
+ /** address is the address of the balance holder. */
21
+ address: string;
22
+ /** coins defines the different coins this balance holds. */
23
+ coins: Coin[];
24
+ }
25
+ export declare const GenesisState: {
26
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
27
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
28
+ fromJSON(object: any): GenesisState;
29
+ toJSON(message: GenesisState): unknown;
30
+ create<I extends {
31
+ params?: {
32
+ issueFee?: {
33
+ denom?: string;
34
+ amount?: string;
35
+ };
36
+ };
37
+ tokens?: {
38
+ denom?: string;
39
+ issuer?: string;
40
+ symbol?: string;
41
+ subunit?: string;
42
+ precision?: number;
43
+ description?: string;
44
+ globallyFrozen?: boolean;
45
+ features?: import("./token").Feature[];
46
+ burnRate?: string;
47
+ sendCommissionRate?: string;
48
+ }[];
49
+ frozenBalances?: {
50
+ address?: string;
51
+ coins?: {
52
+ denom?: string;
53
+ amount?: string;
54
+ }[];
55
+ }[];
56
+ whitelistedBalances?: {
57
+ address?: string;
58
+ coins?: {
59
+ denom?: string;
60
+ amount?: string;
61
+ }[];
62
+ }[];
63
+ } & {
64
+ params?: {
65
+ issueFee?: {
66
+ denom?: string;
67
+ amount?: string;
68
+ };
69
+ } & {
70
+ issueFee?: {
71
+ denom?: string;
72
+ amount?: string;
73
+ } & {
74
+ denom?: string;
75
+ amount?: string;
76
+ } & { [K in Exclude<keyof I["params"]["issueFee"], keyof Coin>]: never; };
77
+ } & { [K_1 in Exclude<keyof I["params"], "issueFee">]: never; };
78
+ tokens?: {
79
+ denom?: string;
80
+ issuer?: string;
81
+ symbol?: string;
82
+ subunit?: string;
83
+ precision?: number;
84
+ description?: string;
85
+ globallyFrozen?: boolean;
86
+ features?: import("./token").Feature[];
87
+ burnRate?: string;
88
+ sendCommissionRate?: string;
89
+ }[] & ({
90
+ denom?: string;
91
+ issuer?: string;
92
+ symbol?: string;
93
+ subunit?: string;
94
+ precision?: number;
95
+ description?: string;
96
+ globallyFrozen?: boolean;
97
+ features?: import("./token").Feature[];
98
+ burnRate?: string;
99
+ sendCommissionRate?: string;
100
+ } & {
101
+ denom?: string;
102
+ issuer?: string;
103
+ symbol?: string;
104
+ subunit?: string;
105
+ precision?: number;
106
+ description?: string;
107
+ globallyFrozen?: boolean;
108
+ features?: import("./token").Feature[] & import("./token").Feature[] & { [K_2 in Exclude<keyof I["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
109
+ burnRate?: string;
110
+ sendCommissionRate?: string;
111
+ } & { [K_3 in Exclude<keyof I["tokens"][number], keyof Token>]: never; })[] & { [K_4 in Exclude<keyof I["tokens"], keyof {
112
+ denom?: string;
113
+ issuer?: string;
114
+ symbol?: string;
115
+ subunit?: string;
116
+ precision?: number;
117
+ description?: string;
118
+ globallyFrozen?: boolean;
119
+ features?: import("./token").Feature[];
120
+ burnRate?: string;
121
+ sendCommissionRate?: string;
122
+ }[]>]: never; };
123
+ frozenBalances?: {
124
+ address?: string;
125
+ coins?: {
126
+ denom?: string;
127
+ amount?: string;
128
+ }[];
129
+ }[] & ({
130
+ address?: string;
131
+ coins?: {
132
+ denom?: string;
133
+ amount?: string;
134
+ }[];
135
+ } & {
136
+ address?: string;
137
+ coins?: {
138
+ denom?: string;
139
+ amount?: string;
140
+ }[] & ({
141
+ denom?: string;
142
+ amount?: string;
143
+ } & {
144
+ denom?: string;
145
+ amount?: string;
146
+ } & { [K_5 in Exclude<keyof I["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_6 in Exclude<keyof I["frozenBalances"][number]["coins"], keyof {
147
+ denom?: string;
148
+ amount?: string;
149
+ }[]>]: never; };
150
+ } & { [K_7 in Exclude<keyof I["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_8 in Exclude<keyof I["frozenBalances"], keyof {
151
+ address?: string;
152
+ coins?: {
153
+ denom?: string;
154
+ amount?: string;
155
+ }[];
156
+ }[]>]: never; };
157
+ whitelistedBalances?: {
158
+ address?: string;
159
+ coins?: {
160
+ denom?: string;
161
+ amount?: string;
162
+ }[];
163
+ }[] & ({
164
+ address?: string;
165
+ coins?: {
166
+ denom?: string;
167
+ amount?: string;
168
+ }[];
169
+ } & {
170
+ address?: string;
171
+ coins?: {
172
+ denom?: string;
173
+ amount?: string;
174
+ }[] & ({
175
+ denom?: string;
176
+ amount?: string;
177
+ } & {
178
+ denom?: string;
179
+ amount?: string;
180
+ } & { [K_9 in Exclude<keyof I["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_10 in Exclude<keyof I["whitelistedBalances"][number]["coins"], keyof {
181
+ denom?: string;
182
+ amount?: string;
183
+ }[]>]: never; };
184
+ } & { [K_11 in Exclude<keyof I["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_12 in Exclude<keyof I["whitelistedBalances"], keyof {
185
+ address?: string;
186
+ coins?: {
187
+ denom?: string;
188
+ amount?: string;
189
+ }[];
190
+ }[]>]: never; };
191
+ } & { [K_13 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
192
+ fromPartial<I_1 extends {
193
+ params?: {
194
+ issueFee?: {
195
+ denom?: string;
196
+ amount?: string;
197
+ };
198
+ };
199
+ tokens?: {
200
+ denom?: string;
201
+ issuer?: string;
202
+ symbol?: string;
203
+ subunit?: string;
204
+ precision?: number;
205
+ description?: string;
206
+ globallyFrozen?: boolean;
207
+ features?: import("./token").Feature[];
208
+ burnRate?: string;
209
+ sendCommissionRate?: string;
210
+ }[];
211
+ frozenBalances?: {
212
+ address?: string;
213
+ coins?: {
214
+ denom?: string;
215
+ amount?: string;
216
+ }[];
217
+ }[];
218
+ whitelistedBalances?: {
219
+ address?: string;
220
+ coins?: {
221
+ denom?: string;
222
+ amount?: string;
223
+ }[];
224
+ }[];
225
+ } & {
226
+ params?: {
227
+ issueFee?: {
228
+ denom?: string;
229
+ amount?: string;
230
+ };
231
+ } & {
232
+ issueFee?: {
233
+ denom?: string;
234
+ amount?: string;
235
+ } & {
236
+ denom?: string;
237
+ amount?: string;
238
+ } & { [K_14 in Exclude<keyof I_1["params"]["issueFee"], keyof Coin>]: never; };
239
+ } & { [K_15 in Exclude<keyof I_1["params"], "issueFee">]: never; };
240
+ tokens?: {
241
+ denom?: string;
242
+ issuer?: string;
243
+ symbol?: string;
244
+ subunit?: string;
245
+ precision?: number;
246
+ description?: string;
247
+ globallyFrozen?: boolean;
248
+ features?: import("./token").Feature[];
249
+ burnRate?: string;
250
+ sendCommissionRate?: string;
251
+ }[] & ({
252
+ denom?: string;
253
+ issuer?: string;
254
+ symbol?: string;
255
+ subunit?: string;
256
+ precision?: number;
257
+ description?: string;
258
+ globallyFrozen?: boolean;
259
+ features?: import("./token").Feature[];
260
+ burnRate?: string;
261
+ sendCommissionRate?: string;
262
+ } & {
263
+ denom?: string;
264
+ issuer?: string;
265
+ symbol?: string;
266
+ subunit?: string;
267
+ precision?: number;
268
+ description?: string;
269
+ globallyFrozen?: boolean;
270
+ features?: import("./token").Feature[] & import("./token").Feature[] & { [K_16 in Exclude<keyof I_1["tokens"][number]["features"], keyof import("./token").Feature[]>]: never; };
271
+ burnRate?: string;
272
+ sendCommissionRate?: string;
273
+ } & { [K_17 in Exclude<keyof I_1["tokens"][number], keyof Token>]: never; })[] & { [K_18 in Exclude<keyof I_1["tokens"], keyof {
274
+ denom?: string;
275
+ issuer?: string;
276
+ symbol?: string;
277
+ subunit?: string;
278
+ precision?: number;
279
+ description?: string;
280
+ globallyFrozen?: boolean;
281
+ features?: import("./token").Feature[];
282
+ burnRate?: string;
283
+ sendCommissionRate?: string;
284
+ }[]>]: never; };
285
+ frozenBalances?: {
286
+ address?: string;
287
+ coins?: {
288
+ denom?: string;
289
+ amount?: string;
290
+ }[];
291
+ }[] & ({
292
+ address?: string;
293
+ coins?: {
294
+ denom?: string;
295
+ amount?: string;
296
+ }[];
297
+ } & {
298
+ address?: string;
299
+ coins?: {
300
+ denom?: string;
301
+ amount?: string;
302
+ }[] & ({
303
+ denom?: string;
304
+ amount?: string;
305
+ } & {
306
+ denom?: string;
307
+ amount?: string;
308
+ } & { [K_19 in Exclude<keyof I_1["frozenBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_20 in Exclude<keyof I_1["frozenBalances"][number]["coins"], keyof {
309
+ denom?: string;
310
+ amount?: string;
311
+ }[]>]: never; };
312
+ } & { [K_21 in Exclude<keyof I_1["frozenBalances"][number], keyof Balance>]: never; })[] & { [K_22 in Exclude<keyof I_1["frozenBalances"], keyof {
313
+ address?: string;
314
+ coins?: {
315
+ denom?: string;
316
+ amount?: string;
317
+ }[];
318
+ }[]>]: never; };
319
+ whitelistedBalances?: {
320
+ address?: string;
321
+ coins?: {
322
+ denom?: string;
323
+ amount?: string;
324
+ }[];
325
+ }[] & ({
326
+ address?: string;
327
+ coins?: {
328
+ denom?: string;
329
+ amount?: string;
330
+ }[];
331
+ } & {
332
+ address?: string;
333
+ coins?: {
334
+ denom?: string;
335
+ amount?: string;
336
+ }[] & ({
337
+ denom?: string;
338
+ amount?: string;
339
+ } & {
340
+ denom?: string;
341
+ amount?: string;
342
+ } & { [K_23 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"][number], keyof Coin>]: never; })[] & { [K_24 in Exclude<keyof I_1["whitelistedBalances"][number]["coins"], keyof {
343
+ denom?: string;
344
+ amount?: string;
345
+ }[]>]: never; };
346
+ } & { [K_25 in Exclude<keyof I_1["whitelistedBalances"][number], keyof Balance>]: never; })[] & { [K_26 in Exclude<keyof I_1["whitelistedBalances"], keyof {
347
+ address?: string;
348
+ coins?: {
349
+ denom?: string;
350
+ amount?: string;
351
+ }[];
352
+ }[]>]: never; };
353
+ } & { [K_27 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
354
+ };
355
+ export declare const Balance: {
356
+ encode(message: Balance, writer?: _m0.Writer): _m0.Writer;
357
+ decode(input: _m0.Reader | Uint8Array, length?: number): Balance;
358
+ fromJSON(object: any): Balance;
359
+ toJSON(message: Balance): unknown;
360
+ create<I extends {
361
+ address?: string;
362
+ coins?: {
363
+ denom?: string;
364
+ amount?: string;
365
+ }[];
366
+ } & {
367
+ address?: string;
368
+ coins?: {
369
+ denom?: string;
370
+ amount?: string;
371
+ }[] & ({
372
+ denom?: string;
373
+ amount?: string;
374
+ } & {
375
+ denom?: string;
376
+ amount?: string;
377
+ } & { [K in Exclude<keyof I["coins"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["coins"], keyof {
378
+ denom?: string;
379
+ amount?: string;
380
+ }[]>]: never; };
381
+ } & { [K_2 in Exclude<keyof I, keyof Balance>]: never; }>(base?: I): Balance;
382
+ fromPartial<I_1 extends {
383
+ address?: string;
384
+ coins?: {
385
+ denom?: string;
386
+ amount?: string;
387
+ }[];
388
+ } & {
389
+ address?: string;
390
+ coins?: {
391
+ denom?: string;
392
+ amount?: string;
393
+ }[] & ({
394
+ denom?: string;
395
+ amount?: string;
396
+ } & {
397
+ denom?: string;
398
+ amount?: string;
399
+ } & { [K_3 in Exclude<keyof I_1["coins"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["coins"], keyof {
400
+ denom?: string;
401
+ amount?: string;
402
+ }[]>]: never; };
403
+ } & { [K_5 in Exclude<keyof I_1, keyof Balance>]: never; }>(object: I_1): Balance;
404
+ };
405
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
406
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
407
+ [K in keyof T]?: DeepPartial<T[K]>;
408
+ } : Partial<T>;
409
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
410
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
411
+ [K in keyof P]: Exact<P[K], I[K]>;
412
+ } & {
413
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
414
+ };
415
+ export {};
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Balance = exports.GenesisState = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const long_1 = __importDefault(require("long"));
9
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
+ const coin_1 = require("../../../../cosmos/base/v1beta1/coin");
11
+ const params_1 = require("./params");
12
+ const token_1 = require("./token");
13
+ exports.protobufPackage = "coreum.asset.ft.v1";
14
+ function createBaseGenesisState() {
15
+ return { params: undefined, tokens: [], frozenBalances: [], whitelistedBalances: [] };
16
+ }
17
+ exports.GenesisState = {
18
+ encode(message, writer = minimal_1.default.Writer.create()) {
19
+ if (message.params !== undefined) {
20
+ params_1.Params.encode(message.params, writer.uint32(10).fork()).ldelim();
21
+ }
22
+ for (const v of message.tokens) {
23
+ token_1.Token.encode(v, writer.uint32(18).fork()).ldelim();
24
+ }
25
+ for (const v of message.frozenBalances) {
26
+ exports.Balance.encode(v, writer.uint32(26).fork()).ldelim();
27
+ }
28
+ for (const v of message.whitelistedBalances) {
29
+ exports.Balance.encode(v, writer.uint32(34).fork()).ldelim();
30
+ }
31
+ return writer;
32
+ },
33
+ decode(input, length) {
34
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
35
+ let end = length === undefined ? reader.len : reader.pos + length;
36
+ const message = createBaseGenesisState();
37
+ while (reader.pos < end) {
38
+ const tag = reader.uint32();
39
+ switch (tag >>> 3) {
40
+ case 1:
41
+ if (tag != 10) {
42
+ break;
43
+ }
44
+ message.params = params_1.Params.decode(reader, reader.uint32());
45
+ continue;
46
+ case 2:
47
+ if (tag != 18) {
48
+ break;
49
+ }
50
+ message.tokens.push(token_1.Token.decode(reader, reader.uint32()));
51
+ continue;
52
+ case 3:
53
+ if (tag != 26) {
54
+ break;
55
+ }
56
+ message.frozenBalances.push(exports.Balance.decode(reader, reader.uint32()));
57
+ continue;
58
+ case 4:
59
+ if (tag != 34) {
60
+ break;
61
+ }
62
+ message.whitelistedBalances.push(exports.Balance.decode(reader, reader.uint32()));
63
+ continue;
64
+ }
65
+ if ((tag & 7) == 4 || tag == 0) {
66
+ break;
67
+ }
68
+ reader.skipType(tag & 7);
69
+ }
70
+ return message;
71
+ },
72
+ fromJSON(object) {
73
+ return {
74
+ params: isSet(object.params) ? params_1.Params.fromJSON(object.params) : undefined,
75
+ tokens: Array.isArray(object === null || object === void 0 ? void 0 : object.tokens) ? object.tokens.map((e) => token_1.Token.fromJSON(e)) : [],
76
+ frozenBalances: Array.isArray(object === null || object === void 0 ? void 0 : object.frozenBalances)
77
+ ? object.frozenBalances.map((e) => exports.Balance.fromJSON(e))
78
+ : [],
79
+ whitelistedBalances: Array.isArray(object === null || object === void 0 ? void 0 : object.whitelistedBalances)
80
+ ? object.whitelistedBalances.map((e) => exports.Balance.fromJSON(e))
81
+ : [],
82
+ };
83
+ },
84
+ toJSON(message) {
85
+ const obj = {};
86
+ message.params !== undefined && (obj.params = message.params ? params_1.Params.toJSON(message.params) : undefined);
87
+ if (message.tokens) {
88
+ obj.tokens = message.tokens.map((e) => e ? token_1.Token.toJSON(e) : undefined);
89
+ }
90
+ else {
91
+ obj.tokens = [];
92
+ }
93
+ if (message.frozenBalances) {
94
+ obj.frozenBalances = message.frozenBalances.map((e) => e ? exports.Balance.toJSON(e) : undefined);
95
+ }
96
+ else {
97
+ obj.frozenBalances = [];
98
+ }
99
+ if (message.whitelistedBalances) {
100
+ obj.whitelistedBalances = message.whitelistedBalances.map((e) => e ? exports.Balance.toJSON(e) : undefined);
101
+ }
102
+ else {
103
+ obj.whitelistedBalances = [];
104
+ }
105
+ return obj;
106
+ },
107
+ create(base) {
108
+ return exports.GenesisState.fromPartial(base !== null && base !== void 0 ? base : {});
109
+ },
110
+ fromPartial(object) {
111
+ var _a, _b, _c;
112
+ const message = createBaseGenesisState();
113
+ message.params = (object.params !== undefined && object.params !== null)
114
+ ? params_1.Params.fromPartial(object.params)
115
+ : undefined;
116
+ message.tokens = ((_a = object.tokens) === null || _a === void 0 ? void 0 : _a.map((e) => token_1.Token.fromPartial(e))) || [];
117
+ message.frozenBalances = ((_b = object.frozenBalances) === null || _b === void 0 ? void 0 : _b.map((e) => exports.Balance.fromPartial(e))) || [];
118
+ message.whitelistedBalances = ((_c = object.whitelistedBalances) === null || _c === void 0 ? void 0 : _c.map((e) => exports.Balance.fromPartial(e))) || [];
119
+ return message;
120
+ },
121
+ };
122
+ function createBaseBalance() {
123
+ return { address: "", coins: [] };
124
+ }
125
+ exports.Balance = {
126
+ encode(message, writer = minimal_1.default.Writer.create()) {
127
+ if (message.address !== "") {
128
+ writer.uint32(10).string(message.address);
129
+ }
130
+ for (const v of message.coins) {
131
+ coin_1.Coin.encode(v, writer.uint32(18).fork()).ldelim();
132
+ }
133
+ return writer;
134
+ },
135
+ decode(input, length) {
136
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
137
+ let end = length === undefined ? reader.len : reader.pos + length;
138
+ const message = createBaseBalance();
139
+ while (reader.pos < end) {
140
+ const tag = reader.uint32();
141
+ switch (tag >>> 3) {
142
+ case 1:
143
+ if (tag != 10) {
144
+ break;
145
+ }
146
+ message.address = reader.string();
147
+ continue;
148
+ case 2:
149
+ if (tag != 18) {
150
+ break;
151
+ }
152
+ message.coins.push(coin_1.Coin.decode(reader, reader.uint32()));
153
+ continue;
154
+ }
155
+ if ((tag & 7) == 4 || tag == 0) {
156
+ break;
157
+ }
158
+ reader.skipType(tag & 7);
159
+ }
160
+ return message;
161
+ },
162
+ fromJSON(object) {
163
+ return {
164
+ address: isSet(object.address) ? String(object.address) : "",
165
+ coins: Array.isArray(object === null || object === void 0 ? void 0 : object.coins) ? object.coins.map((e) => coin_1.Coin.fromJSON(e)) : [],
166
+ };
167
+ },
168
+ toJSON(message) {
169
+ const obj = {};
170
+ message.address !== undefined && (obj.address = message.address);
171
+ if (message.coins) {
172
+ obj.coins = message.coins.map((e) => e ? coin_1.Coin.toJSON(e) : undefined);
173
+ }
174
+ else {
175
+ obj.coins = [];
176
+ }
177
+ return obj;
178
+ },
179
+ create(base) {
180
+ return exports.Balance.fromPartial(base !== null && base !== void 0 ? base : {});
181
+ },
182
+ fromPartial(object) {
183
+ var _a, _b;
184
+ const message = createBaseBalance();
185
+ message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
186
+ message.coins = ((_b = object.coins) === null || _b === void 0 ? void 0 : _b.map((e) => coin_1.Coin.fromPartial(e))) || [];
187
+ return message;
188
+ },
189
+ };
190
+ if (minimal_1.default.util.Long !== long_1.default) {
191
+ minimal_1.default.util.Long = long_1.default;
192
+ minimal_1.default.configure();
193
+ }
194
+ function isSet(value) {
195
+ return value !== null && value !== undefined;
196
+ }
197
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXNpcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb3JldW0vYXNzZXQvZnQvdjEvZ2VuZXNpcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxvQkFBb0I7QUFDcEIsZ0RBQXdCO0FBQ3hCLGlFQUFxQztBQUNyQywrREFBNEQ7QUFDNUQscUNBQWtDO0FBQ2xDLG1DQUFnQztBQUVuQixRQUFBLGVBQWUsR0FBRyxvQkFBb0IsQ0FBQztBQXNCcEQsU0FBUyxzQkFBc0I7SUFDN0IsT0FBTyxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEVBQUUsRUFBRSxjQUFjLEVBQUUsRUFBRSxFQUFFLG1CQUFtQixFQUFFLEVBQUUsRUFBRSxDQUFDO0FBQ3hGLENBQUM7QUFFWSxRQUFBLFlBQVksR0FBRztJQUMxQixNQUFNLENBQUMsT0FBcUIsRUFBRSxTQUFxQixpQkFBRyxDQUFDLE1BQU0sQ0FBQyxNQUFNLEVBQUU7UUFDcEUsSUFBSSxPQUFPLENBQUMsTUFBTSxLQUFLLFNBQVMsRUFBRTtZQUNoQyxlQUFNLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFNLEVBQUUsTUFBTSxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxDQUFDLE1BQU0sR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csQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLGNBQUksRUFBRTtJQUMxQixpQkFBRyxDQUFDLElBQUksQ0FBQyxJQUFJLEdBQUcsY0FBVyxDQUFDO0lBQzVCLGlCQUFHLENBQUMsU0FBUyxFQUFFLENBQUM7Q0FDakI7QUFFRCxTQUFTLEtBQUssQ0FBQyxLQUFVO0lBQ3ZCLE9BQU8sS0FBSyxLQUFLLElBQUksSUFBSSxLQUFLLEtBQUssU0FBUyxDQUFDO0FBQy9DLENBQUMifQ==
@@ -0,0 +1,54 @@
1
+ import Long from "long";
2
+ import _m0 from "protobufjs/minimal";
3
+ import { Coin } from "../../../../cosmos/base/v1beta1/coin";
4
+ export declare const protobufPackage = "coreum.asset.ft.v1";
5
+ /** Params store gov manageable parameters. */
6
+ export interface Params {
7
+ /** issue_fee is the fee burnt each time new token is issued */
8
+ issueFee?: Coin;
9
+ }
10
+ export declare const Params: {
11
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
12
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params;
13
+ fromJSON(object: any): Params;
14
+ toJSON(message: Params): unknown;
15
+ create<I extends {
16
+ issueFee?: {
17
+ denom?: string;
18
+ amount?: string;
19
+ };
20
+ } & {
21
+ issueFee?: {
22
+ denom?: string;
23
+ amount?: string;
24
+ } & {
25
+ denom?: string;
26
+ amount?: string;
27
+ } & { [K in Exclude<keyof I["issueFee"], keyof Coin>]: never; };
28
+ } & { [K_1 in Exclude<keyof I, "issueFee">]: never; }>(base?: I): Params;
29
+ fromPartial<I_1 extends {
30
+ issueFee?: {
31
+ denom?: string;
32
+ amount?: string;
33
+ };
34
+ } & {
35
+ issueFee?: {
36
+ denom?: string;
37
+ amount?: string;
38
+ } & {
39
+ denom?: string;
40
+ amount?: string;
41
+ } & { [K_2 in Exclude<keyof I_1["issueFee"], keyof Coin>]: never; };
42
+ } & { [K_3 in Exclude<keyof I_1, "issueFee">]: never; }>(object: I_1): Params;
43
+ };
44
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
45
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
46
+ [K in keyof T]?: DeepPartial<T[K]>;
47
+ } : Partial<T>;
48
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
49
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
50
+ [K in keyof P]: Exact<P[K], I[K]>;
51
+ } & {
52
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
53
+ };
54
+ export {};