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,291 @@
1
+ import { GeneratedType } from "@cosmjs/proto-signing";
2
+ import { MsgSend as NFTMsgSend } from "./nft/v1beta1/tx";
3
+ import { MsgIssueClass as NFTMsgIssueClass, MsgMint as NFTMsgMint, MsgAddToWhitelist as NFTMsgAddToWhitelist, MsgBurn as NFTMsgBurn, MsgRemoveFromWhitelist as NFTMsgRemoveFromWhitelist, MsgFreeze as NFTMsgFreeze, MsgUnfreeze as NFTMsgUnfreeze } from "./asset/nft/v1/tx";
4
+ import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit } from "./asset/ft/v1/tx";
5
+ export interface CoreumMessage {
6
+ typeUrl: string;
7
+ value: any;
8
+ }
9
+ export declare const coreumRegistry: ReadonlyArray<[string, GeneratedType]>;
10
+ export declare namespace FT {
11
+ const MsgMint: <I extends {
12
+ classId?: string;
13
+ id?: string;
14
+ sender?: string;
15
+ receiver?: string;
16
+ } & {
17
+ classId?: string;
18
+ id?: string;
19
+ sender?: string;
20
+ receiver?: string;
21
+ } & { [K in Exclude<keyof I, keyof NFTMsgSend>]: never; }>(object: I) => {
22
+ typeUrl: string;
23
+ value: FTMsgMint;
24
+ };
25
+ const MsgIssue: <I extends {
26
+ issuer?: string;
27
+ symbol?: string;
28
+ subunit?: string;
29
+ precision?: number;
30
+ initialAmount?: string;
31
+ description?: string;
32
+ features?: import("./asset/ft/v1/token").Feature[];
33
+ burnRate?: string;
34
+ sendCommissionRate?: string;
35
+ } & {
36
+ issuer?: string;
37
+ symbol?: string;
38
+ subunit?: string;
39
+ precision?: number;
40
+ initialAmount?: string;
41
+ description?: string;
42
+ features?: import("./asset/ft/v1/token").Feature[] & import("./asset/ft/v1/token").Feature[] & { [K in Exclude<keyof I["features"], keyof import("./asset/ft/v1/token").Feature[]>]: never; };
43
+ burnRate?: string;
44
+ sendCommissionRate?: string;
45
+ } & { [K_1 in Exclude<keyof I, keyof FTMsgIssue>]: never; }>(object: I) => {
46
+ typeUrl: string;
47
+ value: FTMsgIssue;
48
+ };
49
+ const MsgBurn: <I extends {
50
+ sender?: string;
51
+ coin?: {
52
+ denom?: string;
53
+ amount?: string;
54
+ };
55
+ } & {
56
+ sender?: string;
57
+ coin?: {
58
+ denom?: string;
59
+ amount?: string;
60
+ } & {
61
+ denom?: string;
62
+ amount?: string;
63
+ } & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
64
+ } & { [K_1 in Exclude<keyof I, keyof FTMsgBurn>]: never; }>(object: I) => {
65
+ typeUrl: string;
66
+ value: FTMsgBurn;
67
+ };
68
+ const MsgFreeze: <I extends {
69
+ sender?: string;
70
+ account?: string;
71
+ coin?: {
72
+ denom?: string;
73
+ amount?: string;
74
+ };
75
+ } & {
76
+ sender?: string;
77
+ account?: string;
78
+ coin?: {
79
+ denom?: string;
80
+ amount?: string;
81
+ } & {
82
+ denom?: string;
83
+ amount?: string;
84
+ } & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
85
+ } & { [K_1 in Exclude<keyof I, keyof FTMsgFreeze>]: never; }>(object: I) => {
86
+ typeUrl: string;
87
+ value: FTMsgFreeze;
88
+ };
89
+ const MsgGloballyFreeze: <I extends {
90
+ sender?: string;
91
+ denom?: string;
92
+ } & {
93
+ sender?: string;
94
+ denom?: string;
95
+ } & { [K in Exclude<keyof I, keyof FTMsgGloballyFreeze>]: never; }>(object: I) => {
96
+ typeUrl: string;
97
+ value: FTMsgGloballyFreeze;
98
+ };
99
+ const MsgGloballyUnfreeze: <I extends {
100
+ sender?: string;
101
+ denom?: string;
102
+ } & {
103
+ sender?: string;
104
+ denom?: string;
105
+ } & { [K in Exclude<keyof I, keyof FTMsgGloballyUnfreeze>]: never; }>(object: I) => {
106
+ typeUrl: string;
107
+ value: FTMsgGloballyUnfreeze;
108
+ };
109
+ const MsgUnfreeze: <I extends {
110
+ sender?: string;
111
+ account?: string;
112
+ coin?: {
113
+ denom?: string;
114
+ amount?: string;
115
+ };
116
+ } & {
117
+ sender?: string;
118
+ account?: string;
119
+ coin?: {
120
+ denom?: string;
121
+ amount?: string;
122
+ } & {
123
+ denom?: string;
124
+ amount?: string;
125
+ } & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
126
+ } & { [K_1 in Exclude<keyof I, keyof FTMsgUnfreeze>]: never; }>(object: I) => {
127
+ typeUrl: string;
128
+ value: FTMsgUnfreeze;
129
+ };
130
+ const MsgSetWhitelistedLimit: <I extends {
131
+ sender?: string;
132
+ account?: string;
133
+ coin?: {
134
+ denom?: string;
135
+ amount?: string;
136
+ };
137
+ } & {
138
+ sender?: string;
139
+ account?: string;
140
+ coin?: {
141
+ denom?: string;
142
+ amount?: string;
143
+ } & {
144
+ denom?: string;
145
+ amount?: string;
146
+ } & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
147
+ } & { [K_1 in Exclude<keyof I, keyof FTMsgSetWhitelistedLimit>]: never; }>(object: I) => {
148
+ typeUrl: string;
149
+ value: FTMsgSetWhitelistedLimit;
150
+ };
151
+ }
152
+ export declare namespace NFT {
153
+ const MsgMint: <I extends {
154
+ sender?: string;
155
+ classId?: string;
156
+ id?: string;
157
+ uri?: string;
158
+ uriHash?: string;
159
+ data?: {
160
+ typeUrl?: string;
161
+ value?: Uint8Array;
162
+ };
163
+ } & {
164
+ sender?: string;
165
+ classId?: string;
166
+ id?: string;
167
+ uri?: string;
168
+ uriHash?: string;
169
+ data?: {
170
+ typeUrl?: string;
171
+ value?: Uint8Array;
172
+ } & {
173
+ typeUrl?: string;
174
+ value?: Uint8Array;
175
+ } & { [K in Exclude<keyof I["data"], keyof import("./google/protobuf/any").Any>]: never; };
176
+ } & { [K_1 in Exclude<keyof I, keyof NFTMsgMint>]: never; }>(object: I) => {
177
+ typeUrl: string;
178
+ value: NFTMsgMint;
179
+ };
180
+ const MsgAddToWhitelist: <I extends {
181
+ sender?: string;
182
+ classId?: string;
183
+ id?: string;
184
+ account?: string;
185
+ } & {
186
+ sender?: string;
187
+ classId?: string;
188
+ id?: string;
189
+ account?: string;
190
+ } & { [K in Exclude<keyof I, keyof NFTMsgAddToWhitelist>]: never; }>(object: I) => {
191
+ typeUrl: string;
192
+ value: NFTMsgAddToWhitelist;
193
+ };
194
+ const MsgRemoveFromWhitelist: <I extends {
195
+ sender?: string;
196
+ classId?: string;
197
+ id?: string;
198
+ account?: string;
199
+ } & {
200
+ sender?: string;
201
+ classId?: string;
202
+ id?: string;
203
+ account?: string;
204
+ } & { [K in Exclude<keyof I, keyof NFTMsgRemoveFromWhitelist>]: never; }>(object: I) => {
205
+ typeUrl: string;
206
+ value: NFTMsgRemoveFromWhitelist;
207
+ };
208
+ const MsgBurn: <I extends {
209
+ sender?: string;
210
+ classId?: string;
211
+ id?: string;
212
+ } & {
213
+ sender?: string;
214
+ classId?: string;
215
+ id?: string;
216
+ } & { [K in Exclude<keyof I, keyof NFTMsgBurn>]: never; }>(object: I) => {
217
+ typeUrl: string;
218
+ value: NFTMsgBurn;
219
+ };
220
+ const MsgFreeze: <I extends {
221
+ sender?: string;
222
+ classId?: string;
223
+ id?: string;
224
+ } & {
225
+ sender?: string;
226
+ classId?: string;
227
+ id?: string;
228
+ } & { [K in Exclude<keyof I, keyof NFTMsgFreeze>]: never; }>(object: I) => {
229
+ typeUrl: string;
230
+ value: NFTMsgFreeze;
231
+ };
232
+ const MsgUnfreeze: <I extends {
233
+ sender?: string;
234
+ classId?: string;
235
+ id?: string;
236
+ } & {
237
+ sender?: string;
238
+ classId?: string;
239
+ id?: string;
240
+ } & { [K in Exclude<keyof I, keyof NFTMsgUnfreeze>]: never; }>(object: I) => {
241
+ typeUrl: string;
242
+ value: NFTMsgUnfreeze;
243
+ };
244
+ const MsgIssueClass: <I extends {
245
+ issuer?: string;
246
+ symbol?: string;
247
+ name?: string;
248
+ description?: string;
249
+ uri?: string;
250
+ uriHash?: string;
251
+ data?: {
252
+ typeUrl?: string;
253
+ value?: Uint8Array;
254
+ };
255
+ features?: import("./asset/nft/v1/nft").ClassFeature[];
256
+ royaltyRate?: string;
257
+ } & {
258
+ issuer?: string;
259
+ symbol?: string;
260
+ name?: string;
261
+ description?: string;
262
+ uri?: string;
263
+ uriHash?: string;
264
+ data?: {
265
+ typeUrl?: string;
266
+ value?: Uint8Array;
267
+ } & {
268
+ typeUrl?: string;
269
+ value?: Uint8Array;
270
+ } & { [K in Exclude<keyof I["data"], keyof import("./google/protobuf/any").Any>]: never; };
271
+ features?: import("./asset/nft/v1/nft").ClassFeature[] & import("./asset/nft/v1/nft").ClassFeature[] & { [K_1 in Exclude<keyof I["features"], keyof import("./asset/nft/v1/nft").ClassFeature[]>]: never; };
272
+ royaltyRate?: string;
273
+ } & { [K_2 in Exclude<keyof I, keyof NFTMsgIssueClass>]: never; }>(object: I) => {
274
+ typeUrl: string;
275
+ value: NFTMsgIssueClass;
276
+ };
277
+ const MsgSend: <I extends {
278
+ classId?: string;
279
+ id?: string;
280
+ sender?: string;
281
+ receiver?: string;
282
+ } & {
283
+ classId?: string;
284
+ id?: string;
285
+ sender?: string;
286
+ receiver?: string;
287
+ } & { [K in Exclude<keyof I, keyof NFTMsgSend>]: never; }>(object: I) => {
288
+ typeUrl: string;
289
+ value: NFTMsgSend;
290
+ };
291
+ }
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NFT = exports.FT = exports.coreumRegistry = void 0;
4
+ const asset_1 = require("./asset");
5
+ const nft_1 = require("./nft");
6
+ const tx_1 = require("./nft/v1beta1/tx");
7
+ const tx_2 = require("./asset/nft/v1/tx");
8
+ const tx_3 = require("./asset/ft/v1/tx");
9
+ exports.coreumRegistry = [
10
+ ...asset_1.assetFtRegistry,
11
+ ...asset_1.assetNftRegistry,
12
+ ...nft_1.nftBetaRegistry,
13
+ ];
14
+ var FT;
15
+ (function (FT) {
16
+ FT.MsgMint = function (object) {
17
+ return {
18
+ typeUrl: "/coreum.asset.ft.v1.MsgMint",
19
+ value: tx_3.MsgMint.fromPartial(object),
20
+ };
21
+ };
22
+ FT.MsgIssue = function (object) {
23
+ return {
24
+ typeUrl: "/coreum.asset.ft.v1.MsgIssue",
25
+ value: tx_3.MsgIssue.fromPartial(object),
26
+ };
27
+ };
28
+ FT.MsgBurn = function (object) {
29
+ return {
30
+ typeUrl: "/coreum.asset.ft.v1.MsgBurn",
31
+ value: tx_3.MsgBurn.fromPartial(object),
32
+ };
33
+ };
34
+ FT.MsgFreeze = function (object) {
35
+ return {
36
+ typeUrl: "/coreum.asset.ft.v1.MsgFreeze",
37
+ value: tx_3.MsgFreeze.fromPartial(object),
38
+ };
39
+ };
40
+ FT.MsgGloballyFreeze = function (object) {
41
+ return {
42
+ typeUrl: "/coreum.asset.ft.v1.MsgGloballyFreeze",
43
+ value: tx_3.MsgGloballyFreeze.fromPartial(object),
44
+ };
45
+ };
46
+ FT.MsgGloballyUnfreeze = function (object) {
47
+ return {
48
+ typeUrl: "/coreum.asset.ft.v1.MsgGloballyUnfreeze",
49
+ value: tx_3.MsgGloballyUnfreeze.fromPartial(object),
50
+ };
51
+ };
52
+ FT.MsgUnfreeze = function (object) {
53
+ return {
54
+ typeUrl: "/coreum.asset.ft.v1.MsgUnfreeze",
55
+ value: tx_3.MsgUnfreeze.fromPartial(object),
56
+ };
57
+ };
58
+ FT.MsgSetWhitelistedLimit = function (object) {
59
+ return {
60
+ typeUrl: "/coreum.asset.ft.v1.MsgSetWhitelistedLimit",
61
+ value: tx_3.MsgSetWhitelistedLimit.fromPartial(object),
62
+ };
63
+ };
64
+ })(FT = exports.FT || (exports.FT = {}));
65
+ var NFT;
66
+ (function (NFT) {
67
+ NFT.MsgMint = function (object) {
68
+ return {
69
+ typeUrl: "/coreum.asset.nft.v1.MsgMint",
70
+ value: tx_2.MsgMint.fromPartial(object),
71
+ };
72
+ };
73
+ NFT.MsgAddToWhitelist = function (object) {
74
+ return {
75
+ typeUrl: "/coreum.asset.nft.v1.MsgAddToWhitelist",
76
+ value: tx_2.MsgAddToWhitelist.fromPartial(object),
77
+ };
78
+ };
79
+ NFT.MsgRemoveFromWhitelist = function (object) {
80
+ return {
81
+ typeUrl: "/coreum.asset.nft.v1.MsgRemoveFromWhitelist",
82
+ value: tx_2.MsgRemoveFromWhitelist.fromPartial(object),
83
+ };
84
+ };
85
+ NFT.MsgBurn = function (object) {
86
+ return {
87
+ typeUrl: "/coreum.asset.nft.v1.MsgBurn",
88
+ value: tx_2.MsgBurn.fromPartial(object),
89
+ };
90
+ };
91
+ NFT.MsgFreeze = function (object) {
92
+ return {
93
+ typeUrl: "/coreum.asset.nft.v1.MsgFreeze",
94
+ value: tx_2.MsgFreeze.fromPartial(object),
95
+ };
96
+ };
97
+ NFT.MsgUnfreeze = function (object) {
98
+ return {
99
+ typeUrl: "/coreum.asset.nft.v1.MsgUnfreeze",
100
+ value: tx_2.MsgUnfreeze.fromPartial(object),
101
+ };
102
+ };
103
+ NFT.MsgIssueClass = function (object) {
104
+ return {
105
+ typeUrl: "/coreum.asset.nft.v1.MsgIssueClass",
106
+ value: tx_2.MsgIssueClass.fromPartial(object),
107
+ };
108
+ };
109
+ NFT.MsgSend = function (object) {
110
+ return {
111
+ typeUrl: "/coreum.nft.v1beta1.MsgSend",
112
+ value: tx_1.MsgSend.fromPartial(object),
113
+ };
114
+ };
115
+ })(NFT = exports.NFT || (exports.NFT = {}));
116
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29yZXVtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLG1DQUE0RDtBQUM1RCwrQkFBd0M7QUFDeEMseUNBQXlEO0FBQ3pELDBDQVUyQjtBQUMzQix5Q0FTMEI7QUFPYixRQUFBLGNBQWMsR0FBMkM7SUFDcEUsR0FBRyx1QkFBZTtJQUNsQixHQUFHLHdCQUFnQjtJQUNuQixHQUFHLHFCQUFlO0NBQ25CLENBQUM7QUFFRixJQUFpQixFQUFFLENBd0VsQjtBQXhFRCxXQUFpQixFQUFFO0lBQ0osVUFBTyxHQUFHLFVBQ3JCLE1BQVM7UUFFVCxPQUFPO1lBQ0wsT0FBTyxFQUFFLDZCQUE2QjtZQUN0QyxLQUFLLEVBQUUsWUFBUyxDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUM7U0FDckMsQ0FBQztJQUNKLENBQUMsQ0FBQztJQUVXLFdBQVEsR0FBRyxVQUV0QixNQUFTO1FBQ1QsT0FBTztZQUNMLE9BQU8sRUFBRSw4QkFBOEI7WUFDdkMsS0FBSyxFQUFFLGFBQVUsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDO1NBQ3RDLENBQUM7SUFDSixDQUFDLENBQUM7SUFFVyxVQUFPLE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wsT0FBTyxFQUFFLGtDQUFrQztZQUMzQyxLQUFLLEVBQUUsZ0JBQWMsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDO1NBQzFDLENBQUM7SUFDSixDQUFDLENBQUM7SUFFVyxpQkFBYSxHQUFHLFVBRTNCLE1BQVM7UUFDVCxPQUFPO1lBQ0wsT0FBTyxFQUFFLG9DQUFvQztZQUM3QyxLQUFLLEVBQUUsa0JBQWdCLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQztTQUM1QyxDQUFDO0lBQ0osQ0FBQyxDQUFDO0lBRVcsV0FBTyxHQUFHLFVBQ3JCLE1BQVM7UUFFVCxPQUFPO1lBQ0wsT0FBTyxFQUFFLDZCQUE2QjtZQUN0QyxLQUFLLEVBQUUsWUFBVSxDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUM7U0FDdEMsQ0FBQztJQUNKLENBQUMsQ0FBQztBQUNKLENBQUMsRUF4RWdCLEdBQUcsR0FBSCxXQUFHLEtBQUgsV0FBRyxRQXdFbkIifQ==
@@ -0,0 +1,2 @@
1
+ import { GeneratedType } from "@cosmjs/proto-signing";
2
+ export declare const nftBetaRegistry: ReadonlyArray<[string, GeneratedType]>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.nftBetaRegistry = void 0;
4
+ const types_1 = require("../../types");
5
+ const tx_1 = require("./v1beta1/tx");
6
+ exports.nftBetaRegistry = [
7
+ [types_1.CoreumTypeUrl.NFTBeta + "MsgSend", tx_1.MsgSend],
8
+ ];
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29yZXVtL25mdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSx1Q0FBNEM7QUFDNUMscUNBQXVDO0FBRTFCLFFBQUEsZUFBZSxHQUEyQztJQUNyRSxDQUFDLHFCQUFhLENBQUMsT0FBTyxHQUFHLFNBQVMsRUFBRSxZQUFPLENBQUM7Q0FDN0MsQ0FBQyJ9
@@ -0,0 +1,109 @@
1
+ import Long from "long";
2
+ import _m0 from "protobufjs/minimal";
3
+ export declare const protobufPackage = "coreum.nft.v1beta1";
4
+ /** EventSend is emitted on Msg/Send */
5
+ export interface EventSend {
6
+ classId: string;
7
+ id: string;
8
+ sender: string;
9
+ receiver: string;
10
+ }
11
+ /** EventMint is emitted on Mint */
12
+ export interface EventMint {
13
+ classId: string;
14
+ id: string;
15
+ owner: string;
16
+ }
17
+ /** EventBurn is emitted on Burn */
18
+ export interface EventBurn {
19
+ classId: string;
20
+ id: string;
21
+ owner: string;
22
+ }
23
+ export declare const EventSend: {
24
+ encode(message: EventSend, writer?: _m0.Writer): _m0.Writer;
25
+ decode(input: _m0.Reader | Uint8Array, length?: number): EventSend;
26
+ fromJSON(object: any): EventSend;
27
+ toJSON(message: EventSend): unknown;
28
+ create<I extends {
29
+ classId?: string;
30
+ id?: string;
31
+ sender?: string;
32
+ receiver?: string;
33
+ } & {
34
+ classId?: string;
35
+ id?: string;
36
+ sender?: string;
37
+ receiver?: string;
38
+ } & { [K in Exclude<keyof I, keyof EventSend>]: never; }>(base?: I): EventSend;
39
+ fromPartial<I_1 extends {
40
+ classId?: string;
41
+ id?: string;
42
+ sender?: string;
43
+ receiver?: string;
44
+ } & {
45
+ classId?: string;
46
+ id?: string;
47
+ sender?: string;
48
+ receiver?: string;
49
+ } & { [K_1 in Exclude<keyof I_1, keyof EventSend>]: never; }>(object: I_1): EventSend;
50
+ };
51
+ export declare const EventMint: {
52
+ encode(message: EventMint, writer?: _m0.Writer): _m0.Writer;
53
+ decode(input: _m0.Reader | Uint8Array, length?: number): EventMint;
54
+ fromJSON(object: any): EventMint;
55
+ toJSON(message: EventMint): unknown;
56
+ create<I extends {
57
+ classId?: string;
58
+ id?: string;
59
+ owner?: string;
60
+ } & {
61
+ classId?: string;
62
+ id?: string;
63
+ owner?: string;
64
+ } & { [K in Exclude<keyof I, keyof EventMint>]: never; }>(base?: I): EventMint;
65
+ fromPartial<I_1 extends {
66
+ classId?: string;
67
+ id?: string;
68
+ owner?: string;
69
+ } & {
70
+ classId?: string;
71
+ id?: string;
72
+ owner?: string;
73
+ } & { [K_1 in Exclude<keyof I_1, keyof EventMint>]: never; }>(object: I_1): EventMint;
74
+ };
75
+ export declare const EventBurn: {
76
+ encode(message: EventBurn, writer?: _m0.Writer): _m0.Writer;
77
+ decode(input: _m0.Reader | Uint8Array, length?: number): EventBurn;
78
+ fromJSON(object: any): EventBurn;
79
+ toJSON(message: EventBurn): unknown;
80
+ create<I extends {
81
+ classId?: string;
82
+ id?: string;
83
+ owner?: string;
84
+ } & {
85
+ classId?: string;
86
+ id?: string;
87
+ owner?: string;
88
+ } & { [K in Exclude<keyof I, keyof EventBurn>]: never; }>(base?: I): EventBurn;
89
+ fromPartial<I_1 extends {
90
+ classId?: string;
91
+ id?: string;
92
+ owner?: string;
93
+ } & {
94
+ classId?: string;
95
+ id?: string;
96
+ owner?: string;
97
+ } & { [K_1 in Exclude<keyof I_1, keyof EventBurn>]: never; }>(object: I_1): EventBurn;
98
+ };
99
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
100
+ 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 {} ? {
101
+ [K in keyof T]?: DeepPartial<T[K]>;
102
+ } : Partial<T>;
103
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
104
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
105
+ [K in keyof P]: Exact<P[K], I[K]>;
106
+ } & {
107
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
108
+ };
109
+ export {};