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,357 @@
1
+ import Long from "long";
2
+ import _m0 from "protobufjs/minimal";
3
+ import { Any } from "../../../google/protobuf/any";
4
+ import { ClassFeature } from "./nft";
5
+ export declare const protobufPackage = "coreum.asset.nft.v1";
6
+ /** MsgIssueClass defines message for the IssueClass method. */
7
+ export interface MsgIssueClass {
8
+ issuer: string;
9
+ symbol: string;
10
+ name: string;
11
+ description: string;
12
+ uri: string;
13
+ uriHash: string;
14
+ data?: Any;
15
+ features: ClassFeature[];
16
+ royaltyRate: string;
17
+ }
18
+ /** MsgMint defines message for the Mint method. */
19
+ export interface MsgMint {
20
+ sender: string;
21
+ classId: string;
22
+ id: string;
23
+ uri: string;
24
+ uriHash: string;
25
+ data?: Any;
26
+ }
27
+ /** MsgBurn defines message for the Burn method. */
28
+ export interface MsgBurn {
29
+ sender: string;
30
+ classId: string;
31
+ id: string;
32
+ }
33
+ export interface MsgFreeze {
34
+ sender: string;
35
+ classId: string;
36
+ id: string;
37
+ }
38
+ export interface MsgUnfreeze {
39
+ sender: string;
40
+ classId: string;
41
+ id: string;
42
+ }
43
+ export interface MsgAddToWhitelist {
44
+ sender: string;
45
+ classId: string;
46
+ id: string;
47
+ account: string;
48
+ }
49
+ export interface MsgRemoveFromWhitelist {
50
+ sender: string;
51
+ classId: string;
52
+ id: string;
53
+ account: string;
54
+ }
55
+ export interface EmptyResponse {
56
+ }
57
+ export declare const MsgIssueClass: {
58
+ encode(message: MsgIssueClass, writer?: _m0.Writer): _m0.Writer;
59
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgIssueClass;
60
+ fromJSON(object: any): MsgIssueClass;
61
+ toJSON(message: MsgIssueClass): unknown;
62
+ create<I extends {
63
+ issuer?: string;
64
+ symbol?: string;
65
+ name?: string;
66
+ description?: string;
67
+ uri?: string;
68
+ uriHash?: string;
69
+ data?: {
70
+ typeUrl?: string;
71
+ value?: Uint8Array;
72
+ };
73
+ features?: ClassFeature[];
74
+ royaltyRate?: string;
75
+ } & {
76
+ issuer?: string;
77
+ symbol?: string;
78
+ name?: string;
79
+ description?: string;
80
+ uri?: string;
81
+ uriHash?: string;
82
+ data?: {
83
+ typeUrl?: string;
84
+ value?: Uint8Array;
85
+ } & {
86
+ typeUrl?: string;
87
+ value?: Uint8Array;
88
+ } & { [K in Exclude<keyof I["data"], keyof Any>]: never; };
89
+ features?: ClassFeature[] & ClassFeature[] & { [K_1 in Exclude<keyof I["features"], keyof ClassFeature[]>]: never; };
90
+ royaltyRate?: string;
91
+ } & { [K_2 in Exclude<keyof I, keyof MsgIssueClass>]: never; }>(base?: I): MsgIssueClass;
92
+ fromPartial<I_1 extends {
93
+ issuer?: string;
94
+ symbol?: string;
95
+ name?: string;
96
+ description?: string;
97
+ uri?: string;
98
+ uriHash?: string;
99
+ data?: {
100
+ typeUrl?: string;
101
+ value?: Uint8Array;
102
+ };
103
+ features?: ClassFeature[];
104
+ royaltyRate?: string;
105
+ } & {
106
+ issuer?: string;
107
+ symbol?: string;
108
+ name?: string;
109
+ description?: string;
110
+ uri?: string;
111
+ uriHash?: string;
112
+ data?: {
113
+ typeUrl?: string;
114
+ value?: Uint8Array;
115
+ } & {
116
+ typeUrl?: string;
117
+ value?: Uint8Array;
118
+ } & { [K_3 in Exclude<keyof I_1["data"], keyof Any>]: never; };
119
+ features?: ClassFeature[] & ClassFeature[] & { [K_4 in Exclude<keyof I_1["features"], keyof ClassFeature[]>]: never; };
120
+ royaltyRate?: string;
121
+ } & { [K_5 in Exclude<keyof I_1, keyof MsgIssueClass>]: never; }>(object: I_1): MsgIssueClass;
122
+ };
123
+ export declare const MsgMint: {
124
+ encode(message: MsgMint, writer?: _m0.Writer): _m0.Writer;
125
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgMint;
126
+ fromJSON(object: any): MsgMint;
127
+ toJSON(message: MsgMint): unknown;
128
+ create<I extends {
129
+ sender?: string;
130
+ classId?: string;
131
+ id?: string;
132
+ uri?: string;
133
+ uriHash?: string;
134
+ data?: {
135
+ typeUrl?: string;
136
+ value?: Uint8Array;
137
+ };
138
+ } & {
139
+ sender?: string;
140
+ classId?: string;
141
+ id?: string;
142
+ uri?: string;
143
+ uriHash?: string;
144
+ data?: {
145
+ typeUrl?: string;
146
+ value?: Uint8Array;
147
+ } & {
148
+ typeUrl?: string;
149
+ value?: Uint8Array;
150
+ } & { [K in Exclude<keyof I["data"], keyof Any>]: never; };
151
+ } & { [K_1 in Exclude<keyof I, keyof MsgMint>]: never; }>(base?: I): MsgMint;
152
+ fromPartial<I_1 extends {
153
+ sender?: string;
154
+ classId?: string;
155
+ id?: string;
156
+ uri?: string;
157
+ uriHash?: string;
158
+ data?: {
159
+ typeUrl?: string;
160
+ value?: Uint8Array;
161
+ };
162
+ } & {
163
+ sender?: string;
164
+ classId?: string;
165
+ id?: string;
166
+ uri?: string;
167
+ uriHash?: string;
168
+ data?: {
169
+ typeUrl?: string;
170
+ value?: Uint8Array;
171
+ } & {
172
+ typeUrl?: string;
173
+ value?: Uint8Array;
174
+ } & { [K_2 in Exclude<keyof I_1["data"], keyof Any>]: never; };
175
+ } & { [K_3 in Exclude<keyof I_1, keyof MsgMint>]: never; }>(object: I_1): MsgMint;
176
+ };
177
+ export declare const MsgBurn: {
178
+ encode(message: MsgBurn, writer?: _m0.Writer): _m0.Writer;
179
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgBurn;
180
+ fromJSON(object: any): MsgBurn;
181
+ toJSON(message: MsgBurn): unknown;
182
+ create<I extends {
183
+ sender?: string;
184
+ classId?: string;
185
+ id?: string;
186
+ } & {
187
+ sender?: string;
188
+ classId?: string;
189
+ id?: string;
190
+ } & { [K in Exclude<keyof I, keyof MsgBurn>]: never; }>(base?: I): MsgBurn;
191
+ fromPartial<I_1 extends {
192
+ sender?: string;
193
+ classId?: string;
194
+ id?: string;
195
+ } & {
196
+ sender?: string;
197
+ classId?: string;
198
+ id?: string;
199
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgBurn>]: never; }>(object: I_1): MsgBurn;
200
+ };
201
+ export declare const MsgFreeze: {
202
+ encode(message: MsgFreeze, writer?: _m0.Writer): _m0.Writer;
203
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFreeze;
204
+ fromJSON(object: any): MsgFreeze;
205
+ toJSON(message: MsgFreeze): unknown;
206
+ create<I extends {
207
+ sender?: string;
208
+ classId?: string;
209
+ id?: string;
210
+ } & {
211
+ sender?: string;
212
+ classId?: string;
213
+ id?: string;
214
+ } & { [K in Exclude<keyof I, keyof MsgFreeze>]: never; }>(base?: I): MsgFreeze;
215
+ fromPartial<I_1 extends {
216
+ sender?: string;
217
+ classId?: string;
218
+ id?: string;
219
+ } & {
220
+ sender?: string;
221
+ classId?: string;
222
+ id?: string;
223
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgFreeze>]: never; }>(object: I_1): MsgFreeze;
224
+ };
225
+ export declare const MsgUnfreeze: {
226
+ encode(message: MsgUnfreeze, writer?: _m0.Writer): _m0.Writer;
227
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnfreeze;
228
+ fromJSON(object: any): MsgUnfreeze;
229
+ toJSON(message: MsgUnfreeze): unknown;
230
+ create<I extends {
231
+ sender?: string;
232
+ classId?: string;
233
+ id?: string;
234
+ } & {
235
+ sender?: string;
236
+ classId?: string;
237
+ id?: string;
238
+ } & { [K in Exclude<keyof I, keyof MsgUnfreeze>]: never; }>(base?: I): MsgUnfreeze;
239
+ fromPartial<I_1 extends {
240
+ sender?: string;
241
+ classId?: string;
242
+ id?: string;
243
+ } & {
244
+ sender?: string;
245
+ classId?: string;
246
+ id?: string;
247
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgUnfreeze>]: never; }>(object: I_1): MsgUnfreeze;
248
+ };
249
+ export declare const MsgAddToWhitelist: {
250
+ encode(message: MsgAddToWhitelist, writer?: _m0.Writer): _m0.Writer;
251
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddToWhitelist;
252
+ fromJSON(object: any): MsgAddToWhitelist;
253
+ toJSON(message: MsgAddToWhitelist): unknown;
254
+ create<I extends {
255
+ sender?: string;
256
+ classId?: string;
257
+ id?: string;
258
+ account?: string;
259
+ } & {
260
+ sender?: string;
261
+ classId?: string;
262
+ id?: string;
263
+ account?: string;
264
+ } & { [K in Exclude<keyof I, keyof MsgAddToWhitelist>]: never; }>(base?: I): MsgAddToWhitelist;
265
+ fromPartial<I_1 extends {
266
+ sender?: string;
267
+ classId?: string;
268
+ id?: string;
269
+ account?: string;
270
+ } & {
271
+ sender?: string;
272
+ classId?: string;
273
+ id?: string;
274
+ account?: string;
275
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgAddToWhitelist>]: never; }>(object: I_1): MsgAddToWhitelist;
276
+ };
277
+ export declare const MsgRemoveFromWhitelist: {
278
+ encode(message: MsgRemoveFromWhitelist, writer?: _m0.Writer): _m0.Writer;
279
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveFromWhitelist;
280
+ fromJSON(object: any): MsgRemoveFromWhitelist;
281
+ toJSON(message: MsgRemoveFromWhitelist): unknown;
282
+ create<I extends {
283
+ sender?: string;
284
+ classId?: string;
285
+ id?: string;
286
+ account?: string;
287
+ } & {
288
+ sender?: string;
289
+ classId?: string;
290
+ id?: string;
291
+ account?: string;
292
+ } & { [K in Exclude<keyof I, keyof MsgRemoveFromWhitelist>]: never; }>(base?: I): MsgRemoveFromWhitelist;
293
+ fromPartial<I_1 extends {
294
+ sender?: string;
295
+ classId?: string;
296
+ id?: string;
297
+ account?: string;
298
+ } & {
299
+ sender?: string;
300
+ classId?: string;
301
+ id?: string;
302
+ account?: string;
303
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgRemoveFromWhitelist>]: never; }>(object: I_1): MsgRemoveFromWhitelist;
304
+ };
305
+ export declare const EmptyResponse: {
306
+ encode(_: EmptyResponse, writer?: _m0.Writer): _m0.Writer;
307
+ decode(input: _m0.Reader | Uint8Array, length?: number): EmptyResponse;
308
+ fromJSON(_: any): EmptyResponse;
309
+ toJSON(_: EmptyResponse): unknown;
310
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): EmptyResponse;
311
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): EmptyResponse;
312
+ };
313
+ /** Msg defines the Msg service. */
314
+ export interface Msg {
315
+ /** IssueClass creates new non-fungible token class. */
316
+ IssueClass(request: MsgIssueClass): Promise<EmptyResponse>;
317
+ /** Mint mints new non-fungible token in the class. */
318
+ Mint(request: MsgMint): Promise<EmptyResponse>;
319
+ /** Burn burns the existing non-fungible token in the class. */
320
+ Burn(request: MsgBurn): Promise<EmptyResponse>;
321
+ /** Freeze freezes an NFT */
322
+ Freeze(request: MsgFreeze): Promise<EmptyResponse>;
323
+ /** Unfreeze removes the freeze effect already put on an NFT */
324
+ Unfreeze(request: MsgUnfreeze): Promise<EmptyResponse>;
325
+ /** AddToWhitelist sets the account as whitelisted to hold the NFT */
326
+ AddToWhitelist(request: MsgAddToWhitelist): Promise<EmptyResponse>;
327
+ /** RemoveFromWhitelist removes an account from whitelisted list of the NFT */
328
+ RemoveFromWhitelist(request: MsgRemoveFromWhitelist): Promise<EmptyResponse>;
329
+ }
330
+ export declare class MsgClientImpl implements Msg {
331
+ private readonly rpc;
332
+ private readonly service;
333
+ constructor(rpc: Rpc, opts?: {
334
+ service?: string;
335
+ });
336
+ IssueClass(request: MsgIssueClass): Promise<EmptyResponse>;
337
+ Mint(request: MsgMint): Promise<EmptyResponse>;
338
+ Burn(request: MsgBurn): Promise<EmptyResponse>;
339
+ Freeze(request: MsgFreeze): Promise<EmptyResponse>;
340
+ Unfreeze(request: MsgUnfreeze): Promise<EmptyResponse>;
341
+ AddToWhitelist(request: MsgAddToWhitelist): Promise<EmptyResponse>;
342
+ RemoveFromWhitelist(request: MsgRemoveFromWhitelist): Promise<EmptyResponse>;
343
+ }
344
+ interface Rpc {
345
+ request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
346
+ }
347
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
348
+ 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 {} ? {
349
+ [K in keyof T]?: DeepPartial<T[K]>;
350
+ } : Partial<T>;
351
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
352
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
353
+ [K in keyof P]: Exact<P[K], I[K]>;
354
+ } & {
355
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
356
+ };
357
+ export {};