schemos 0.0.1 → 0.1.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.
- package/LICENSE +21 -0
- package/dist/client.d.ts +8 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -0
- package/dist/client.test-d.d.ts +2 -0
- package/dist/client.test-d.d.ts.map +1 -0
- package/dist/client.test-d.js +50 -0
- package/dist/client.test-d.js.map +1 -0
- package/dist/contract.bench-d.d.ts +2 -0
- package/dist/contract.bench-d.d.ts.map +1 -0
- package/dist/contract.bench-d.js +67 -0
- package/dist/contract.bench-d.js.map +1 -0
- package/dist/contract.d.ts +27 -0
- package/dist/contract.d.ts.map +1 -0
- package/dist/contract.js +30 -0
- package/dist/contract.js.map +1 -0
- package/dist/contract.test-d.d.ts +2 -0
- package/dist/contract.test-d.d.ts.map +1 -0
- package/dist/contract.test-d.js +147 -0
- package/dist/contract.test-d.js.map +1 -0
- package/dist/contract.test.d.ts +2 -0
- package/dist/contract.test.d.ts.map +1 -0
- package/dist/contract.test.js +77 -0
- package/dist/contract.test.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/cw20/execute.d.ts +367 -0
- package/dist/schemas/cw20/execute.d.ts.map +1 -0
- package/dist/schemas/cw20/execute.js +398 -0
- package/dist/schemas/cw20/execute.js.map +1 -0
- package/dist/schemas/cw20/index.d.ts +905 -0
- package/dist/schemas/cw20/index.d.ts.map +1 -0
- package/dist/schemas/cw20/index.js +10 -0
- package/dist/schemas/cw20/index.js.map +1 -0
- package/dist/schemas/cw20/query.d.ts +160 -0
- package/dist/schemas/cw20/query.d.ts.map +1 -0
- package/dist/schemas/cw20/query.js +170 -0
- package/dist/schemas/cw20/query.js.map +1 -0
- package/dist/schemas/cw20/responses.d.ts +386 -0
- package/dist/schemas/cw20/responses.d.ts.map +1 -0
- package/dist/schemas/cw20/responses.js +416 -0
- package/dist/schemas/cw20/responses.js.map +1 -0
- package/dist/schemas/cw721/execute.d.ts +543 -0
- package/dist/schemas/cw721/execute.d.ts.map +1 -0
- package/dist/schemas/cw721/execute.js +597 -0
- package/dist/schemas/cw721/execute.js.map +1 -0
- package/dist/schemas/cw721/index.d.ts +2507 -0
- package/dist/schemas/cw721/index.d.ts.map +1 -0
- package/dist/schemas/cw721/index.js +10 -0
- package/dist/schemas/cw721/index.js.map +1 -0
- package/dist/schemas/cw721/query.d.ts +487 -0
- package/dist/schemas/cw721/query.d.ts.map +1 -0
- package/dist/schemas/cw721/query.js +526 -0
- package/dist/schemas/cw721/query.js.map +1 -0
- package/dist/schemas/cw721/responses.d.ts +1485 -0
- package/dist/schemas/cw721/responses.d.ts.map +1 -0
- package/dist/schemas/cw721/responses.js +1675 -0
- package/dist/schemas/cw721/responses.js.map +1 -0
- package/dist/schemas/index.d.ts +3 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +3 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/schemas.test-d.d.ts +2 -0
- package/dist/schemas/schemas.test-d.d.ts.map +1 -0
- package/dist/schemas/schemas.test-d.js +92 -0
- package/dist/schemas/schemas.test-d.js.map +1 -0
- package/dist/schemas/schemas.test.d.ts +2 -0
- package/dist/schemas/schemas.test.d.ts.map +1 -0
- package/dist/schemas/schemas.test.js +150 -0
- package/dist/schemas/schemas.test.js.map +1 -0
- package/dist/telescope.d.ts +140 -0
- package/dist/telescope.d.ts.map +1 -0
- package/dist/telescope.js +119 -0
- package/dist/telescope.js.map +1 -0
- package/dist/telescope.test.d.ts +2 -0
- package/dist/telescope.test.d.ts.map +1 -0
- package/dist/telescope.test.js +91 -0
- package/dist/telescope.test.js.map +1 -0
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/types.test-d.d.ts +2 -0
- package/dist/types.test-d.d.ts.map +1 -0
- package/dist/types.test-d.js +28 -0
- package/dist/types.test-d.js.map +1 -0
- package/dist/wallet-compat.test-d.d.ts +13 -0
- package/dist/wallet-compat.test-d.d.ts.map +1 -0
- package/dist/wallet-compat.test-d.js +74 -0
- package/dist/wallet-compat.test-d.js.map +1 -0
- package/package.json +65 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/cw721/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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'./query.js';
|
|
3
|
+
import { cw721ResponseSchemas } from './responses.js';
|
|
4
|
+
export const cw721 = {
|
|
5
|
+
execute: cw721ExecuteSchema,
|
|
6
|
+
query: cw721QuerySchema,
|
|
7
|
+
responses: cw721ResponseSchemas,
|
|
8
|
+
};
|
|
9
|
+
export { cw721ExecuteSchema, cw721QuerySchema, cw721ResponseSchemas };
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/cw721/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,kBAAkB;IAC3B,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,oBAAoB;CACvB,CAAA;AAEV,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CW721 QueryMsg schema.
|
|
3
|
+
* Generated from cw-nfts cw721-base cargo schema output.
|
|
4
|
+
*/
|
|
5
|
+
export declare const cw721QuerySchema: {
|
|
6
|
+
readonly oneOf: readonly [{
|
|
7
|
+
readonly description: "Return the owner of the given token, error if token does not exist";
|
|
8
|
+
readonly type: "object";
|
|
9
|
+
readonly required: readonly ["owner_of"];
|
|
10
|
+
readonly properties: {
|
|
11
|
+
readonly owner_of: {
|
|
12
|
+
readonly type: "object";
|
|
13
|
+
readonly required: readonly ["token_id"];
|
|
14
|
+
readonly properties: {
|
|
15
|
+
readonly include_expired: {
|
|
16
|
+
readonly description: "unset or false will filter out expired approvals, you must set to true to see them";
|
|
17
|
+
readonly type: readonly ["boolean", "null"];
|
|
18
|
+
};
|
|
19
|
+
readonly token_id: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
readonly additionalProperties: false;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
readonly additionalProperties: false;
|
|
27
|
+
}, {
|
|
28
|
+
readonly description: "Return operator that can access all of the owner's tokens.";
|
|
29
|
+
readonly type: "object";
|
|
30
|
+
readonly required: readonly ["approval"];
|
|
31
|
+
readonly properties: {
|
|
32
|
+
readonly approval: {
|
|
33
|
+
readonly type: "object";
|
|
34
|
+
readonly required: readonly ["spender", "token_id"];
|
|
35
|
+
readonly properties: {
|
|
36
|
+
readonly include_expired: {
|
|
37
|
+
readonly type: readonly ["boolean", "null"];
|
|
38
|
+
};
|
|
39
|
+
readonly spender: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
};
|
|
42
|
+
readonly token_id: {
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly additionalProperties: false;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
readonly additionalProperties: false;
|
|
50
|
+
}, {
|
|
51
|
+
readonly description: "Return approvals that a token has";
|
|
52
|
+
readonly type: "object";
|
|
53
|
+
readonly required: readonly ["approvals"];
|
|
54
|
+
readonly properties: {
|
|
55
|
+
readonly approvals: {
|
|
56
|
+
readonly type: "object";
|
|
57
|
+
readonly required: readonly ["token_id"];
|
|
58
|
+
readonly properties: {
|
|
59
|
+
readonly include_expired: {
|
|
60
|
+
readonly type: readonly ["boolean", "null"];
|
|
61
|
+
};
|
|
62
|
+
readonly token_id: {
|
|
63
|
+
readonly type: "string";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly additionalProperties: false;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
readonly additionalProperties: false;
|
|
70
|
+
}, {
|
|
71
|
+
readonly description: "Return approval of a given operator for all tokens of an owner, error if not set";
|
|
72
|
+
readonly type: "object";
|
|
73
|
+
readonly required: readonly ["operator"];
|
|
74
|
+
readonly properties: {
|
|
75
|
+
readonly operator: {
|
|
76
|
+
readonly type: "object";
|
|
77
|
+
readonly required: readonly ["operator", "owner"];
|
|
78
|
+
readonly properties: {
|
|
79
|
+
readonly include_expired: {
|
|
80
|
+
readonly type: readonly ["boolean", "null"];
|
|
81
|
+
};
|
|
82
|
+
readonly operator: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
};
|
|
85
|
+
readonly owner: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly additionalProperties: false;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
readonly additionalProperties: false;
|
|
93
|
+
}, {
|
|
94
|
+
readonly description: "List all operators that can access all of the owner's tokens";
|
|
95
|
+
readonly type: "object";
|
|
96
|
+
readonly required: readonly ["all_operators"];
|
|
97
|
+
readonly properties: {
|
|
98
|
+
readonly all_operators: {
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly required: readonly ["owner"];
|
|
101
|
+
readonly properties: {
|
|
102
|
+
readonly include_expired: {
|
|
103
|
+
readonly description: "unset or false will filter out expired items, you must set to true to see them";
|
|
104
|
+
readonly type: readonly ["boolean", "null"];
|
|
105
|
+
};
|
|
106
|
+
readonly limit: {
|
|
107
|
+
readonly type: readonly ["integer", "null"];
|
|
108
|
+
readonly format: "uint32";
|
|
109
|
+
readonly minimum: 0;
|
|
110
|
+
};
|
|
111
|
+
readonly owner: {
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
};
|
|
114
|
+
readonly start_after: {
|
|
115
|
+
readonly type: readonly ["string", "null"];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
readonly additionalProperties: false;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
readonly additionalProperties: false;
|
|
122
|
+
}, {
|
|
123
|
+
readonly description: "Total number of tokens issued";
|
|
124
|
+
readonly type: "object";
|
|
125
|
+
readonly required: readonly ["num_tokens"];
|
|
126
|
+
readonly properties: {
|
|
127
|
+
readonly num_tokens: {
|
|
128
|
+
readonly type: "object";
|
|
129
|
+
readonly additionalProperties: false;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly additionalProperties: false;
|
|
133
|
+
}, {
|
|
134
|
+
readonly description: "Deprecated: use GetCollectionInfoAndExtension instead! Will be removed in next release!";
|
|
135
|
+
readonly deprecated: true;
|
|
136
|
+
readonly type: "object";
|
|
137
|
+
readonly required: readonly ["contract_info"];
|
|
138
|
+
readonly properties: {
|
|
139
|
+
readonly contract_info: {
|
|
140
|
+
readonly type: "object";
|
|
141
|
+
readonly additionalProperties: false;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
readonly additionalProperties: false;
|
|
145
|
+
}, {
|
|
146
|
+
readonly description: "Returns `AllCollectionInfoResponse`";
|
|
147
|
+
readonly type: "object";
|
|
148
|
+
readonly required: readonly ["get_config"];
|
|
149
|
+
readonly properties: {
|
|
150
|
+
readonly get_config: {
|
|
151
|
+
readonly type: "object";
|
|
152
|
+
readonly additionalProperties: false;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
readonly additionalProperties: false;
|
|
156
|
+
}, {
|
|
157
|
+
readonly description: "Returns `CollectionInfoAndExtensionResponse`";
|
|
158
|
+
readonly type: "object";
|
|
159
|
+
readonly required: readonly ["get_collection_info_and_extension"];
|
|
160
|
+
readonly properties: {
|
|
161
|
+
readonly get_collection_info_and_extension: {
|
|
162
|
+
readonly type: "object";
|
|
163
|
+
readonly additionalProperties: false;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
readonly additionalProperties: false;
|
|
167
|
+
}, {
|
|
168
|
+
readonly description: "returns `AllInfoResponse` which contains contract, collection and nft details";
|
|
169
|
+
readonly type: "object";
|
|
170
|
+
readonly required: readonly ["get_all_info"];
|
|
171
|
+
readonly properties: {
|
|
172
|
+
readonly get_all_info: {
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
readonly additionalProperties: false;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
readonly additionalProperties: false;
|
|
178
|
+
}, {
|
|
179
|
+
readonly description: "Returns `CollectionExtensionAttributes`";
|
|
180
|
+
readonly type: "object";
|
|
181
|
+
readonly required: readonly ["get_collection_extension_attributes"];
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly get_collection_extension_attributes: {
|
|
184
|
+
readonly type: "object";
|
|
185
|
+
readonly additionalProperties: false;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
readonly additionalProperties: false;
|
|
189
|
+
}, {
|
|
190
|
+
readonly description: "Deprecated: use GetMinterOwnership instead! Will be removed in next release!";
|
|
191
|
+
readonly deprecated: true;
|
|
192
|
+
readonly type: "object";
|
|
193
|
+
readonly required: readonly ["ownership"];
|
|
194
|
+
readonly properties: {
|
|
195
|
+
readonly ownership: {
|
|
196
|
+
readonly type: "object";
|
|
197
|
+
readonly additionalProperties: false;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
readonly additionalProperties: false;
|
|
201
|
+
}, {
|
|
202
|
+
readonly description: "Return the minter Deprecated: use GetMinterOwnership instead! Will be removed in next release!";
|
|
203
|
+
readonly deprecated: true;
|
|
204
|
+
readonly type: "object";
|
|
205
|
+
readonly required: readonly ["minter"];
|
|
206
|
+
readonly properties: {
|
|
207
|
+
readonly minter: {
|
|
208
|
+
readonly type: "object";
|
|
209
|
+
readonly additionalProperties: false;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
readonly additionalProperties: false;
|
|
213
|
+
}, {
|
|
214
|
+
readonly type: "object";
|
|
215
|
+
readonly required: readonly ["get_minter_ownership"];
|
|
216
|
+
readonly properties: {
|
|
217
|
+
readonly get_minter_ownership: {
|
|
218
|
+
readonly type: "object";
|
|
219
|
+
readonly additionalProperties: false;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
readonly additionalProperties: false;
|
|
223
|
+
}, {
|
|
224
|
+
readonly type: "object";
|
|
225
|
+
readonly required: readonly ["get_creator_ownership"];
|
|
226
|
+
readonly properties: {
|
|
227
|
+
readonly get_creator_ownership: {
|
|
228
|
+
readonly type: "object";
|
|
229
|
+
readonly additionalProperties: false;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
readonly additionalProperties: false;
|
|
233
|
+
}, {
|
|
234
|
+
readonly description: "Returns the list of additional minters (paginated).";
|
|
235
|
+
readonly type: "object";
|
|
236
|
+
readonly required: readonly ["get_additional_minters"];
|
|
237
|
+
readonly properties: {
|
|
238
|
+
readonly get_additional_minters: {
|
|
239
|
+
readonly type: "object";
|
|
240
|
+
readonly properties: {
|
|
241
|
+
readonly limit: {
|
|
242
|
+
readonly type: readonly ["integer", "null"];
|
|
243
|
+
readonly format: "uint32";
|
|
244
|
+
readonly minimum: 0;
|
|
245
|
+
};
|
|
246
|
+
readonly start_after: {
|
|
247
|
+
readonly type: readonly ["string", "null"];
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly additionalProperties: false;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
readonly additionalProperties: false;
|
|
254
|
+
}, {
|
|
255
|
+
readonly description: "With MetaData Extension. Returns metadata about one particular token, based on *ERC721 Metadata JSON Schema* but directly from the contract";
|
|
256
|
+
readonly type: "object";
|
|
257
|
+
readonly required: readonly ["nft_info"];
|
|
258
|
+
readonly properties: {
|
|
259
|
+
readonly nft_info: {
|
|
260
|
+
readonly type: "object";
|
|
261
|
+
readonly required: readonly ["token_id"];
|
|
262
|
+
readonly properties: {
|
|
263
|
+
readonly token_id: {
|
|
264
|
+
readonly type: "string";
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
readonly additionalProperties: false;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
readonly additionalProperties: false;
|
|
271
|
+
}, {
|
|
272
|
+
readonly type: "object";
|
|
273
|
+
readonly required: readonly ["get_nft_by_extension"];
|
|
274
|
+
readonly properties: {
|
|
275
|
+
readonly get_nft_by_extension: {
|
|
276
|
+
readonly type: "object";
|
|
277
|
+
readonly properties: {
|
|
278
|
+
readonly extension: {
|
|
279
|
+
readonly anyOf: readonly [{
|
|
280
|
+
readonly $ref: "#/definitions/Empty";
|
|
281
|
+
}, {
|
|
282
|
+
readonly type: "null";
|
|
283
|
+
}];
|
|
284
|
+
};
|
|
285
|
+
readonly limit: {
|
|
286
|
+
readonly type: readonly ["integer", "null"];
|
|
287
|
+
readonly format: "uint32";
|
|
288
|
+
readonly minimum: 0;
|
|
289
|
+
};
|
|
290
|
+
readonly start_after: {
|
|
291
|
+
readonly type: readonly ["string", "null"];
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
readonly additionalProperties: false;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
readonly additionalProperties: false;
|
|
298
|
+
}, {
|
|
299
|
+
readonly description: "With MetaData Extension. Returns the result of both `NftInfo` and `OwnerOf` as one query as an optimization for clients";
|
|
300
|
+
readonly type: "object";
|
|
301
|
+
readonly required: readonly ["all_nft_info"];
|
|
302
|
+
readonly properties: {
|
|
303
|
+
readonly all_nft_info: {
|
|
304
|
+
readonly type: "object";
|
|
305
|
+
readonly required: readonly ["token_id"];
|
|
306
|
+
readonly properties: {
|
|
307
|
+
readonly include_expired: {
|
|
308
|
+
readonly description: "unset or false will filter out expired approvals, you must set to true to see them";
|
|
309
|
+
readonly type: readonly ["boolean", "null"];
|
|
310
|
+
};
|
|
311
|
+
readonly token_id: {
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
readonly additionalProperties: false;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
readonly additionalProperties: false;
|
|
319
|
+
}, {
|
|
320
|
+
readonly description: "With Enumerable extension. Returns all tokens owned by the given address, [] if unset.";
|
|
321
|
+
readonly type: "object";
|
|
322
|
+
readonly required: readonly ["tokens"];
|
|
323
|
+
readonly properties: {
|
|
324
|
+
readonly tokens: {
|
|
325
|
+
readonly type: "object";
|
|
326
|
+
readonly required: readonly ["owner"];
|
|
327
|
+
readonly properties: {
|
|
328
|
+
readonly limit: {
|
|
329
|
+
readonly type: readonly ["integer", "null"];
|
|
330
|
+
readonly format: "uint32";
|
|
331
|
+
readonly minimum: 0;
|
|
332
|
+
};
|
|
333
|
+
readonly owner: {
|
|
334
|
+
readonly type: "string";
|
|
335
|
+
};
|
|
336
|
+
readonly start_after: {
|
|
337
|
+
readonly type: readonly ["string", "null"];
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
readonly additionalProperties: false;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
readonly additionalProperties: false;
|
|
344
|
+
}, {
|
|
345
|
+
readonly description: "With Enumerable extension. Requires pagination. Lists all token_ids controlled by the contract.";
|
|
346
|
+
readonly type: "object";
|
|
347
|
+
readonly required: readonly ["all_tokens"];
|
|
348
|
+
readonly properties: {
|
|
349
|
+
readonly all_tokens: {
|
|
350
|
+
readonly type: "object";
|
|
351
|
+
readonly properties: {
|
|
352
|
+
readonly limit: {
|
|
353
|
+
readonly type: readonly ["integer", "null"];
|
|
354
|
+
readonly format: "uint32";
|
|
355
|
+
readonly minimum: 0;
|
|
356
|
+
};
|
|
357
|
+
readonly start_after: {
|
|
358
|
+
readonly type: readonly ["string", "null"];
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
readonly additionalProperties: false;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
readonly additionalProperties: false;
|
|
365
|
+
}, {
|
|
366
|
+
readonly description: "Custom msg query. Default implementation returns an empty binary.";
|
|
367
|
+
readonly type: "object";
|
|
368
|
+
readonly required: readonly ["extension"];
|
|
369
|
+
readonly properties: {
|
|
370
|
+
readonly extension: {
|
|
371
|
+
readonly type: "object";
|
|
372
|
+
readonly required: readonly ["msg"];
|
|
373
|
+
readonly properties: {
|
|
374
|
+
readonly msg: {
|
|
375
|
+
readonly $ref: "#/definitions/Empty";
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
readonly additionalProperties: false;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
readonly additionalProperties: false;
|
|
382
|
+
}, {
|
|
383
|
+
readonly type: "object";
|
|
384
|
+
readonly required: readonly ["get_collection_extension"];
|
|
385
|
+
readonly properties: {
|
|
386
|
+
readonly get_collection_extension: {
|
|
387
|
+
readonly type: "object";
|
|
388
|
+
readonly properties: {
|
|
389
|
+
readonly msg: {
|
|
390
|
+
readonly anyOf: readonly [{
|
|
391
|
+
readonly $ref: "#/definitions/CollectionExtension_for_RoyaltyInfo";
|
|
392
|
+
}, {
|
|
393
|
+
readonly type: "null";
|
|
394
|
+
}];
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
readonly additionalProperties: false;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
readonly additionalProperties: false;
|
|
401
|
+
}, {
|
|
402
|
+
readonly type: "object";
|
|
403
|
+
readonly required: readonly ["get_withdraw_address"];
|
|
404
|
+
readonly properties: {
|
|
405
|
+
readonly get_withdraw_address: {
|
|
406
|
+
readonly type: "object";
|
|
407
|
+
readonly additionalProperties: false;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
readonly additionalProperties: false;
|
|
411
|
+
}];
|
|
412
|
+
readonly definitions: {
|
|
413
|
+
readonly Addr: {
|
|
414
|
+
readonly description: "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.";
|
|
415
|
+
readonly type: "string";
|
|
416
|
+
};
|
|
417
|
+
readonly CollectionExtension_for_RoyaltyInfo: {
|
|
418
|
+
readonly type: "object";
|
|
419
|
+
readonly required: readonly ["description", "image"];
|
|
420
|
+
readonly properties: {
|
|
421
|
+
readonly banner_url: {
|
|
422
|
+
readonly type: readonly ["string", "null"];
|
|
423
|
+
};
|
|
424
|
+
readonly description: {
|
|
425
|
+
readonly type: "string";
|
|
426
|
+
};
|
|
427
|
+
readonly explicit_content: {
|
|
428
|
+
readonly type: readonly ["boolean", "null"];
|
|
429
|
+
};
|
|
430
|
+
readonly external_link: {
|
|
431
|
+
readonly type: readonly ["string", "null"];
|
|
432
|
+
};
|
|
433
|
+
readonly image: {
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
};
|
|
436
|
+
readonly royalty_info: {
|
|
437
|
+
readonly anyOf: readonly [{
|
|
438
|
+
readonly $ref: "#/definitions/RoyaltyInfo";
|
|
439
|
+
}, {
|
|
440
|
+
readonly type: "null";
|
|
441
|
+
}];
|
|
442
|
+
};
|
|
443
|
+
readonly start_trading_time: {
|
|
444
|
+
readonly anyOf: readonly [{
|
|
445
|
+
readonly $ref: "#/definitions/Timestamp";
|
|
446
|
+
}, {
|
|
447
|
+
readonly type: "null";
|
|
448
|
+
}];
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
readonly additionalProperties: false;
|
|
452
|
+
};
|
|
453
|
+
readonly Decimal: {
|
|
454
|
+
readonly description: "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)";
|
|
455
|
+
readonly type: "string";
|
|
456
|
+
};
|
|
457
|
+
readonly Empty: {
|
|
458
|
+
readonly description: "An empty struct that serves as a placeholder in different places, such as contracts that don't set a custom message.\n\nIt is designed to be expressible in correct JSON and JSON Schema but contains no meaningful data. Previously we used enums without cases, but those cannot represented as valid JSON Schema (https://github.com/CosmWasm/cosmwasm/issues/451)";
|
|
459
|
+
readonly type: "object";
|
|
460
|
+
readonly additionalProperties: false;
|
|
461
|
+
};
|
|
462
|
+
readonly RoyaltyInfo: {
|
|
463
|
+
readonly type: "object";
|
|
464
|
+
readonly required: readonly ["payment_address", "share"];
|
|
465
|
+
readonly properties: {
|
|
466
|
+
readonly payment_address: {
|
|
467
|
+
readonly $ref: "#/definitions/Addr";
|
|
468
|
+
};
|
|
469
|
+
readonly share: {
|
|
470
|
+
readonly $ref: "#/definitions/Decimal";
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
readonly additionalProperties: false;
|
|
474
|
+
};
|
|
475
|
+
readonly Timestamp: {
|
|
476
|
+
readonly description: "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```";
|
|
477
|
+
readonly allOf: readonly [{
|
|
478
|
+
readonly $ref: "#/definitions/Uint64";
|
|
479
|
+
}];
|
|
480
|
+
};
|
|
481
|
+
readonly Uint64: {
|
|
482
|
+
readonly description: "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```";
|
|
483
|
+
readonly type: "string";
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
//# sourceMappingURL=query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/schemas/cw721/query.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4hBnB,CAAA"}
|