coreum-js 2.16.2 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/dist/main/client/index.js +16 -17
  2. package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
  3. package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
  4. package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -120
  5. package/dist/main/coreum/asset/ft/v1/event.js +744 -138
  6. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -517
  7. package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
  8. package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -63
  9. package/dist/main/coreum/asset/ft/v1/params.js +37 -33
  10. package/dist/main/coreum/asset/ft/v1/query.d.ts +86 -1950
  11. package/dist/main/coreum/asset/ft/v1/query.js +697 -217
  12. package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -249
  13. package/dist/main/coreum/asset/ft/v1/token.js +273 -197
  14. package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -755
  15. package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
  16. package/dist/main/coreum/asset/index.d.ts +2 -3
  17. package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
  18. package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
  19. package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -147
  20. package/dist/main/coreum/asset/nft/v1/event.js +475 -147
  21. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -286
  22. package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
  23. package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -108
  24. package/dist/main/coreum/asset/nft/v1/nft.js +136 -101
  25. package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -38
  26. package/dist/main/coreum/asset/nft/v1/params.js +17 -20
  27. package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -706
  28. package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
  29. package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -266
  30. package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
  31. package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -19
  32. package/dist/main/coreum/asset/nft/v1/types.js +273 -45
  33. package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -32
  34. package/dist/main/coreum/customparams/v1/genesis.js +26 -22
  35. package/dist/main/coreum/customparams/v1/params.d.ts +11 -19
  36. package/dist/main/coreum/customparams/v1/params.js +23 -20
  37. package/dist/main/coreum/customparams/v1/query.d.ts +14 -40
  38. package/dist/main/coreum/customparams/v1/query.js +35 -29
  39. package/dist/main/coreum/dex/index.d.ts +1 -0
  40. package/dist/main/coreum/dex/index.js +12 -0
  41. package/dist/main/coreum/dex/v1/event.d.ts +73 -0
  42. package/dist/main/coreum/dex/v1/event.js +470 -0
  43. package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
  44. package/dist/main/coreum/dex/v1/genesis.js +318 -0
  45. package/dist/main/coreum/dex/v1/order.d.ts +172 -0
  46. package/dist/main/coreum/dex/v1/order.js +1137 -0
  47. package/dist/main/coreum/dex/v1/params.d.ts +34 -0
  48. package/dist/main/coreum/dex/v1/params.js +139 -0
  49. package/dist/main/coreum/dex/v1/query.d.ts +133 -0
  50. package/dist/main/coreum/dex/v1/query.js +873 -0
  51. package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
  52. package/dist/main/coreum/dex/v1/tx.js +521 -0
  53. package/dist/main/coreum/extensions/dex.d.ts +12 -0
  54. package/dist/main/coreum/extensions/dex.js +32 -0
  55. package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -233
  56. package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
  57. package/dist/main/coreum/feemodel/v1/params.d.ts +14 -337
  58. package/dist/main/coreum/feemodel/v1/params.js +113 -66
  59. package/dist/main/coreum/feemodel/v1/query.d.ts +30 -261
  60. package/dist/main/coreum/feemodel/v1/query.js +196 -43
  61. package/dist/main/coreum/index.d.ts +46 -0
  62. package/dist/main/coreum/index.js +58 -1
  63. package/dist/main/coreum/nft/index.d.ts +1 -2
  64. package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -79
  65. package/dist/main/coreum/nft/v1beta1/event.js +103 -77
  66. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -435
  67. package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
  68. package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -114
  69. package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
  70. package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -1628
  71. package/dist/main/coreum/nft/v1beta1/query.js +259 -223
  72. package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -39
  73. package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
  74. package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
  75. package/dist/main/cosmos/extensions/distribution.js +9 -9
  76. package/dist/main/cosmos/extensions/gov.d.ts +13 -13
  77. package/dist/main/cosmos/extensions/gov.js +14 -8
  78. package/dist/main/cosmos/index.d.ts +8 -8
  79. package/dist/main/google/api/http.js +18 -21
  80. package/dist/main/google/protobuf/any.js +3 -4
  81. package/dist/main/google/protobuf/duration.js +3 -4
  82. package/dist/main/google/protobuf/timestamp.js +3 -4
  83. package/dist/main/services/cosmostation.js +1 -1
  84. package/dist/main/tendermint/abci/types.js +183 -223
  85. package/dist/main/tendermint/crypto/keys.js +3 -4
  86. package/dist/main/tendermint/crypto/proof.js +19 -24
  87. package/dist/main/tendermint/types/params.js +15 -20
  88. package/dist/main/tendermint/types/types.js +57 -68
  89. package/dist/main/tendermint/types/validator.js +10 -13
  90. package/dist/main/tendermint/version/types.js +6 -8
  91. package/dist/main/types/core.d.ts +2 -1
  92. package/dist/main/types/core.js +2 -0
  93. package/dist/main/wasm/v1/authz.d.ts +20 -471
  94. package/dist/main/wasm/v1/authz.js +129 -148
  95. package/dist/main/wasm/v1/genesis.d.ts +14 -1020
  96. package/dist/main/wasm/v1/genesis.js +169 -140
  97. package/dist/main/wasm/v1/ibc.d.ts +13 -62
  98. package/dist/main/wasm/v1/ibc.js +91 -76
  99. package/dist/main/wasm/v1/index.d.ts +1 -2
  100. package/dist/main/wasm/v1/pagination.js +9 -11
  101. package/dist/main/wasm/v1/proposal.d.ts +23 -720
  102. package/dist/main/wasm/v1/proposal.js +634 -465
  103. package/dist/main/wasm/v1/query.d.ts +35 -1201
  104. package/dist/main/wasm/v1/query.js +370 -363
  105. package/dist/main/wasm/v1/tx.d.ts +37 -788
  106. package/dist/main/wasm/v1/tx.js +621 -497
  107. package/dist/main/wasm/v1/types.d.ts +19 -297
  108. package/dist/main/wasm/v1/types.js +219 -190
  109. package/dist/module/client/index.js +4 -3
  110. package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
  111. package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
  112. package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -120
  113. package/dist/module/coreum/asset/ft/v1/event.js +721 -109
  114. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -517
  115. package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
  116. package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -63
  117. package/dist/module/coreum/asset/ft/v1/params.js +35 -27
  118. package/dist/module/coreum/asset/ft/v1/query.d.ts +86 -1950
  119. package/dist/module/coreum/asset/ft/v1/query.js +672 -180
  120. package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -249
  121. package/dist/module/coreum/asset/ft/v1/token.js +236 -152
  122. package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -755
  123. package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
  124. package/dist/module/coreum/asset/index.d.ts +2 -3
  125. package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
  126. package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
  127. package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -147
  128. package/dist/module/coreum/asset/nft/v1/event.js +448 -112
  129. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -286
  130. package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
  131. package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -108
  132. package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
  133. package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -38
  134. package/dist/module/coreum/asset/nft/v1/params.js +16 -16
  135. package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -706
  136. package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
  137. package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -266
  138. package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
  139. package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -19
  140. package/dist/module/coreum/asset/nft/v1/types.js +269 -39
  141. package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -32
  142. package/dist/module/coreum/customparams/v1/genesis.js +25 -18
  143. package/dist/module/coreum/customparams/v1/params.d.ts +11 -19
  144. package/dist/module/coreum/customparams/v1/params.js +21 -14
  145. package/dist/module/coreum/customparams/v1/query.d.ts +14 -40
  146. package/dist/module/coreum/customparams/v1/query.js +32 -23
  147. package/dist/module/coreum/dex/index.d.ts +1 -0
  148. package/dist/module/coreum/dex/index.js +9 -0
  149. package/dist/module/coreum/dex/v1/event.d.ts +73 -0
  150. package/dist/module/coreum/dex/v1/event.js +467 -0
  151. package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
  152. package/dist/module/coreum/dex/v1/genesis.js +315 -0
  153. package/dist/module/coreum/dex/v1/order.d.ts +172 -0
  154. package/dist/module/coreum/dex/v1/order.js +1128 -0
  155. package/dist/module/coreum/dex/v1/params.d.ts +34 -0
  156. package/dist/module/coreum/dex/v1/params.js +136 -0
  157. package/dist/module/coreum/dex/v1/query.d.ts +133 -0
  158. package/dist/module/coreum/dex/v1/query.js +871 -0
  159. package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
  160. package/dist/module/coreum/dex/v1/tx.js +519 -0
  161. package/dist/module/coreum/extensions/dex.d.ts +12 -0
  162. package/dist/module/coreum/extensions/dex.js +28 -0
  163. package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -233
  164. package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
  165. package/dist/module/coreum/feemodel/v1/params.d.ts +14 -337
  166. package/dist/module/coreum/feemodel/v1/params.js +105 -54
  167. package/dist/module/coreum/feemodel/v1/query.d.ts +30 -261
  168. package/dist/module/coreum/feemodel/v1/query.js +191 -35
  169. package/dist/module/coreum/index.d.ts +46 -0
  170. package/dist/module/coreum/index.js +57 -0
  171. package/dist/module/coreum/nft/index.d.ts +1 -2
  172. package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -79
  173. package/dist/module/coreum/nft/v1beta1/event.js +90 -58
  174. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -435
  175. package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
  176. package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -114
  177. package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
  178. package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -1628
  179. package/dist/module/coreum/nft/v1beta1/query.js +231 -183
  180. package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -39
  181. package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
  182. package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
  183. package/dist/module/cosmos/extensions/gov.d.ts +13 -13
  184. package/dist/module/cosmos/index.d.ts +8 -8
  185. package/dist/module/services/cosmostation.js +1 -1
  186. package/dist/module/types/core.d.ts +2 -1
  187. package/dist/module/types/core.js +2 -0
  188. package/dist/module/wasm/v1/authz.d.ts +20 -471
  189. package/dist/module/wasm/v1/authz.js +111 -119
  190. package/dist/module/wasm/v1/genesis.d.ts +14 -1020
  191. package/dist/module/wasm/v1/genesis.js +161 -125
  192. package/dist/module/wasm/v1/ibc.d.ts +13 -62
  193. package/dist/module/wasm/v1/ibc.js +83 -62
  194. package/dist/module/wasm/v1/index.d.ts +1 -2
  195. package/dist/module/wasm/v1/proposal.d.ts +23 -720
  196. package/dist/module/wasm/v1/proposal.js +562 -377
  197. package/dist/module/wasm/v1/query.d.ts +35 -1201
  198. package/dist/module/wasm/v1/query.js +330 -301
  199. package/dist/module/wasm/v1/tx.d.ts +37 -788
  200. package/dist/module/wasm/v1/tx.js +551 -404
  201. package/dist/module/wasm/v1/types.d.ts +19 -297
  202. package/dist/module/wasm/v1/types.js +196 -156
  203. package/package.json +11 -10
@@ -1,17 +1,18 @@
1
- import Long from "long";
2
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
3
2
  import { ClassDefinition } from "./nft";
4
3
  import { Params } from "./params";
5
4
  export declare const protobufPackage = "coreum.asset.nft.v1";
6
5
  /** GenesisState defines the nftasset module's genesis state. */
7
6
  export interface GenesisState {
8
7
  /** params defines all the parameters of the module. */
9
- params?: Params;
8
+ params: Params | undefined;
10
9
  /** class_definitions keep the non-fungible token class definitions state */
11
10
  classDefinitions: ClassDefinition[];
12
11
  frozenNfts: FrozenNFT[];
13
12
  whitelistedNftAccounts: WhitelistedNFTAccounts[];
14
13
  burntNfts: BurntNFT[];
14
+ classWhitelistedAccounts: ClassWhitelistedAccounts[];
15
+ classFrozenAccounts: ClassFrozenAccounts[];
15
16
  }
16
17
  export interface FrozenNFT {
17
18
  classID: string;
@@ -22,294 +23,26 @@ export interface WhitelistedNFTAccounts {
22
23
  nftID: string;
23
24
  accounts: string[];
24
25
  }
26
+ export interface ClassWhitelistedAccounts {
27
+ classID: string;
28
+ accounts: string[];
29
+ }
30
+ export interface ClassFrozenAccounts {
31
+ classID: string;
32
+ accounts: string[];
33
+ }
25
34
  export interface BurntNFT {
26
35
  classID: string;
27
36
  nftIDs: string[];
28
37
  }
29
- export declare const GenesisState: {
30
- encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
31
- decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
32
- fromJSON(object: any): GenesisState;
33
- toJSON(message: GenesisState): unknown;
34
- create<I extends {
35
- params?: {
36
- mintFee?: {
37
- denom?: string;
38
- amount?: string;
39
- };
40
- };
41
- classDefinitions?: {
42
- id?: string;
43
- issuer?: string;
44
- features?: import("./nft").ClassFeature[];
45
- royaltyRate?: string;
46
- }[];
47
- frozenNfts?: {
48
- classID?: string;
49
- nftIDs?: string[];
50
- }[];
51
- whitelistedNftAccounts?: {
52
- classID?: string;
53
- nftID?: string;
54
- accounts?: string[];
55
- }[];
56
- burntNfts?: {
57
- classID?: string;
58
- nftIDs?: string[];
59
- }[];
60
- } & {
61
- params?: {
62
- mintFee?: {
63
- denom?: string;
64
- amount?: string;
65
- };
66
- } & {
67
- mintFee?: {
68
- denom?: string;
69
- amount?: string;
70
- } & {
71
- denom?: string;
72
- amount?: string;
73
- } & { [K in Exclude<keyof I["params"]["mintFee"], keyof import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>]: never; };
74
- } & { [K_1 in Exclude<keyof I["params"], "mintFee">]: never; };
75
- classDefinitions?: {
76
- id?: string;
77
- issuer?: string;
78
- features?: import("./nft").ClassFeature[];
79
- royaltyRate?: string;
80
- }[] & ({
81
- id?: string;
82
- issuer?: string;
83
- features?: import("./nft").ClassFeature[];
84
- royaltyRate?: string;
85
- } & {
86
- id?: string;
87
- issuer?: string;
88
- features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_2 in Exclude<keyof I["classDefinitions"][number]["features"], keyof import("./nft").ClassFeature[]>]: never; };
89
- royaltyRate?: string;
90
- } & { [K_3 in Exclude<keyof I["classDefinitions"][number], keyof ClassDefinition>]: never; })[] & { [K_4 in Exclude<keyof I["classDefinitions"], keyof {
91
- id?: string;
92
- issuer?: string;
93
- features?: import("./nft").ClassFeature[];
94
- royaltyRate?: string;
95
- }[]>]: never; };
96
- frozenNfts?: {
97
- classID?: string;
98
- nftIDs?: string[];
99
- }[] & ({
100
- classID?: string;
101
- nftIDs?: string[];
102
- } & {
103
- classID?: string;
104
- nftIDs?: string[] & string[] & { [K_5 in Exclude<keyof I["frozenNfts"][number]["nftIDs"], keyof string[]>]: never; };
105
- } & { [K_6 in Exclude<keyof I["frozenNfts"][number], keyof FrozenNFT>]: never; })[] & { [K_7 in Exclude<keyof I["frozenNfts"], keyof {
106
- classID?: string;
107
- nftIDs?: string[];
108
- }[]>]: never; };
109
- whitelistedNftAccounts?: {
110
- classID?: string;
111
- nftID?: string;
112
- accounts?: string[];
113
- }[] & ({
114
- classID?: string;
115
- nftID?: string;
116
- accounts?: string[];
117
- } & {
118
- classID?: string;
119
- nftID?: string;
120
- accounts?: string[] & string[] & { [K_8 in Exclude<keyof I["whitelistedNftAccounts"][number]["accounts"], keyof string[]>]: never; };
121
- } & { [K_9 in Exclude<keyof I["whitelistedNftAccounts"][number], keyof WhitelistedNFTAccounts>]: never; })[] & { [K_10 in Exclude<keyof I["whitelistedNftAccounts"], keyof {
122
- classID?: string;
123
- nftID?: string;
124
- accounts?: string[];
125
- }[]>]: never; };
126
- burntNfts?: {
127
- classID?: string;
128
- nftIDs?: string[];
129
- }[] & ({
130
- classID?: string;
131
- nftIDs?: string[];
132
- } & {
133
- classID?: string;
134
- nftIDs?: string[] & string[] & { [K_11 in Exclude<keyof I["burntNfts"][number]["nftIDs"], keyof string[]>]: never; };
135
- } & { [K_12 in Exclude<keyof I["burntNfts"][number], keyof BurntNFT>]: never; })[] & { [K_13 in Exclude<keyof I["burntNfts"], keyof {
136
- classID?: string;
137
- nftIDs?: string[];
138
- }[]>]: never; };
139
- } & { [K_14 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
140
- fromPartial<I_1 extends {
141
- params?: {
142
- mintFee?: {
143
- denom?: string;
144
- amount?: string;
145
- };
146
- };
147
- classDefinitions?: {
148
- id?: string;
149
- issuer?: string;
150
- features?: import("./nft").ClassFeature[];
151
- royaltyRate?: string;
152
- }[];
153
- frozenNfts?: {
154
- classID?: string;
155
- nftIDs?: string[];
156
- }[];
157
- whitelistedNftAccounts?: {
158
- classID?: string;
159
- nftID?: string;
160
- accounts?: string[];
161
- }[];
162
- burntNfts?: {
163
- classID?: string;
164
- nftIDs?: string[];
165
- }[];
166
- } & {
167
- params?: {
168
- mintFee?: {
169
- denom?: string;
170
- amount?: string;
171
- };
172
- } & {
173
- mintFee?: {
174
- denom?: string;
175
- amount?: string;
176
- } & {
177
- denom?: string;
178
- amount?: string;
179
- } & { [K_15 in Exclude<keyof I_1["params"]["mintFee"], keyof import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>]: never; };
180
- } & { [K_16 in Exclude<keyof I_1["params"], "mintFee">]: never; };
181
- classDefinitions?: {
182
- id?: string;
183
- issuer?: string;
184
- features?: import("./nft").ClassFeature[];
185
- royaltyRate?: string;
186
- }[] & ({
187
- id?: string;
188
- issuer?: string;
189
- features?: import("./nft").ClassFeature[];
190
- royaltyRate?: string;
191
- } & {
192
- id?: string;
193
- issuer?: string;
194
- features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_17 in Exclude<keyof I_1["classDefinitions"][number]["features"], keyof import("./nft").ClassFeature[]>]: never; };
195
- royaltyRate?: string;
196
- } & { [K_18 in Exclude<keyof I_1["classDefinitions"][number], keyof ClassDefinition>]: never; })[] & { [K_19 in Exclude<keyof I_1["classDefinitions"], keyof {
197
- id?: string;
198
- issuer?: string;
199
- features?: import("./nft").ClassFeature[];
200
- royaltyRate?: string;
201
- }[]>]: never; };
202
- frozenNfts?: {
203
- classID?: string;
204
- nftIDs?: string[];
205
- }[] & ({
206
- classID?: string;
207
- nftIDs?: string[];
208
- } & {
209
- classID?: string;
210
- nftIDs?: string[] & string[] & { [K_20 in Exclude<keyof I_1["frozenNfts"][number]["nftIDs"], keyof string[]>]: never; };
211
- } & { [K_21 in Exclude<keyof I_1["frozenNfts"][number], keyof FrozenNFT>]: never; })[] & { [K_22 in Exclude<keyof I_1["frozenNfts"], keyof {
212
- classID?: string;
213
- nftIDs?: string[];
214
- }[]>]: never; };
215
- whitelistedNftAccounts?: {
216
- classID?: string;
217
- nftID?: string;
218
- accounts?: string[];
219
- }[] & ({
220
- classID?: string;
221
- nftID?: string;
222
- accounts?: string[];
223
- } & {
224
- classID?: string;
225
- nftID?: string;
226
- accounts?: string[] & string[] & { [K_23 in Exclude<keyof I_1["whitelistedNftAccounts"][number]["accounts"], keyof string[]>]: never; };
227
- } & { [K_24 in Exclude<keyof I_1["whitelistedNftAccounts"][number], keyof WhitelistedNFTAccounts>]: never; })[] & { [K_25 in Exclude<keyof I_1["whitelistedNftAccounts"], keyof {
228
- classID?: string;
229
- nftID?: string;
230
- accounts?: string[];
231
- }[]>]: never; };
232
- burntNfts?: {
233
- classID?: string;
234
- nftIDs?: string[];
235
- }[] & ({
236
- classID?: string;
237
- nftIDs?: string[];
238
- } & {
239
- classID?: string;
240
- nftIDs?: string[] & string[] & { [K_26 in Exclude<keyof I_1["burntNfts"][number]["nftIDs"], keyof string[]>]: never; };
241
- } & { [K_27 in Exclude<keyof I_1["burntNfts"][number], keyof BurntNFT>]: never; })[] & { [K_28 in Exclude<keyof I_1["burntNfts"], keyof {
242
- classID?: string;
243
- nftIDs?: string[];
244
- }[]>]: never; };
245
- } & { [K_29 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
246
- };
247
- export declare const FrozenNFT: {
248
- encode(message: FrozenNFT, writer?: _m0.Writer): _m0.Writer;
249
- decode(input: _m0.Reader | Uint8Array, length?: number): FrozenNFT;
250
- fromJSON(object: any): FrozenNFT;
251
- toJSON(message: FrozenNFT): unknown;
252
- create<I extends {
253
- classID?: string;
254
- nftIDs?: string[];
255
- } & {
256
- classID?: string;
257
- nftIDs?: string[] & string[] & { [K in Exclude<keyof I["nftIDs"], keyof string[]>]: never; };
258
- } & { [K_1 in Exclude<keyof I, keyof FrozenNFT>]: never; }>(base?: I): FrozenNFT;
259
- fromPartial<I_1 extends {
260
- classID?: string;
261
- nftIDs?: string[];
262
- } & {
263
- classID?: string;
264
- nftIDs?: string[] & string[] & { [K_2 in Exclude<keyof I_1["nftIDs"], keyof string[]>]: never; };
265
- } & { [K_3 in Exclude<keyof I_1, keyof FrozenNFT>]: never; }>(object: I_1): FrozenNFT;
266
- };
267
- export declare const WhitelistedNFTAccounts: {
268
- encode(message: WhitelistedNFTAccounts, writer?: _m0.Writer): _m0.Writer;
269
- decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistedNFTAccounts;
270
- fromJSON(object: any): WhitelistedNFTAccounts;
271
- toJSON(message: WhitelistedNFTAccounts): unknown;
272
- create<I extends {
273
- classID?: string;
274
- nftID?: string;
275
- accounts?: string[];
276
- } & {
277
- classID?: string;
278
- nftID?: string;
279
- accounts?: string[] & string[] & { [K in Exclude<keyof I["accounts"], keyof string[]>]: never; };
280
- } & { [K_1 in Exclude<keyof I, keyof WhitelistedNFTAccounts>]: never; }>(base?: I): WhitelistedNFTAccounts;
281
- fromPartial<I_1 extends {
282
- classID?: string;
283
- nftID?: string;
284
- accounts?: string[];
285
- } & {
286
- classID?: string;
287
- nftID?: string;
288
- accounts?: string[] & string[] & { [K_2 in Exclude<keyof I_1["accounts"], keyof string[]>]: never; };
289
- } & { [K_3 in Exclude<keyof I_1, keyof WhitelistedNFTAccounts>]: never; }>(object: I_1): WhitelistedNFTAccounts;
290
- };
291
- export declare const BurntNFT: {
292
- encode(message: BurntNFT, writer?: _m0.Writer): _m0.Writer;
293
- decode(input: _m0.Reader | Uint8Array, length?: number): BurntNFT;
294
- fromJSON(object: any): BurntNFT;
295
- toJSON(message: BurntNFT): unknown;
296
- create<I extends {
297
- classID?: string;
298
- nftIDs?: string[];
299
- } & {
300
- classID?: string;
301
- nftIDs?: string[] & string[] & { [K in Exclude<keyof I["nftIDs"], keyof string[]>]: never; };
302
- } & { [K_1 in Exclude<keyof I, keyof BurntNFT>]: never; }>(base?: I): BurntNFT;
303
- fromPartial<I_1 extends {
304
- classID?: string;
305
- nftIDs?: string[];
306
- } & {
307
- classID?: string;
308
- nftIDs?: string[] & string[] & { [K_2 in Exclude<keyof I_1["nftIDs"], keyof string[]>]: never; };
309
- } & { [K_3 in Exclude<keyof I_1, keyof BurntNFT>]: never; }>(object: I_1): BurntNFT;
310
- };
38
+ export declare const GenesisState: MessageFns<GenesisState>;
39
+ export declare const FrozenNFT: MessageFns<FrozenNFT>;
40
+ export declare const WhitelistedNFTAccounts: MessageFns<WhitelistedNFTAccounts>;
41
+ export declare const ClassWhitelistedAccounts: MessageFns<ClassWhitelistedAccounts>;
42
+ export declare const ClassFrozenAccounts: MessageFns<ClassFrozenAccounts>;
43
+ export declare const BurntNFT: MessageFns<BurntNFT>;
311
44
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
312
- 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 {} ? {
45
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
313
46
  [K in keyof T]?: DeepPartial<T[K]>;
314
47
  } : Partial<T>;
315
48
  type KeysOfUnion<T> = T extends T ? keyof T : never;
@@ -318,4 +51,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
318
51
  } & {
319
52
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
320
53
  };
54
+ export interface MessageFns<T> {
55
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
56
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
57
+ fromJSON(object: any): T;
58
+ toJSON(message: T): unknown;
59
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
60
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
61
+ }
321
62
  export {};