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.
Files changed (94) hide show
  1. package/LICENSE +21 -0
  2. package/dist/client.d.ts +8 -0
  3. package/dist/client.d.ts.map +1 -0
  4. package/dist/client.js +2 -0
  5. package/dist/client.js.map +1 -0
  6. package/dist/client.test-d.d.ts +2 -0
  7. package/dist/client.test-d.d.ts.map +1 -0
  8. package/dist/client.test-d.js +50 -0
  9. package/dist/client.test-d.js.map +1 -0
  10. package/dist/contract.bench-d.d.ts +2 -0
  11. package/dist/contract.bench-d.d.ts.map +1 -0
  12. package/dist/contract.bench-d.js +67 -0
  13. package/dist/contract.bench-d.js.map +1 -0
  14. package/dist/contract.d.ts +27 -0
  15. package/dist/contract.d.ts.map +1 -0
  16. package/dist/contract.js +30 -0
  17. package/dist/contract.js.map +1 -0
  18. package/dist/contract.test-d.d.ts +2 -0
  19. package/dist/contract.test-d.d.ts.map +1 -0
  20. package/dist/contract.test-d.js +147 -0
  21. package/dist/contract.test-d.js.map +1 -0
  22. package/dist/contract.test.d.ts +2 -0
  23. package/dist/contract.test.d.ts.map +1 -0
  24. package/dist/contract.test.js +77 -0
  25. package/dist/contract.test.js.map +1 -0
  26. package/dist/index.d.ts +5 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/index.js +2 -0
  29. package/dist/index.js.map +1 -0
  30. package/dist/schemas/cw20/execute.d.ts +367 -0
  31. package/dist/schemas/cw20/execute.d.ts.map +1 -0
  32. package/dist/schemas/cw20/execute.js +398 -0
  33. package/dist/schemas/cw20/execute.js.map +1 -0
  34. package/dist/schemas/cw20/index.d.ts +905 -0
  35. package/dist/schemas/cw20/index.d.ts.map +1 -0
  36. package/dist/schemas/cw20/index.js +10 -0
  37. package/dist/schemas/cw20/index.js.map +1 -0
  38. package/dist/schemas/cw20/query.d.ts +160 -0
  39. package/dist/schemas/cw20/query.d.ts.map +1 -0
  40. package/dist/schemas/cw20/query.js +170 -0
  41. package/dist/schemas/cw20/query.js.map +1 -0
  42. package/dist/schemas/cw20/responses.d.ts +386 -0
  43. package/dist/schemas/cw20/responses.d.ts.map +1 -0
  44. package/dist/schemas/cw20/responses.js +416 -0
  45. package/dist/schemas/cw20/responses.js.map +1 -0
  46. package/dist/schemas/cw721/execute.d.ts +543 -0
  47. package/dist/schemas/cw721/execute.d.ts.map +1 -0
  48. package/dist/schemas/cw721/execute.js +597 -0
  49. package/dist/schemas/cw721/execute.js.map +1 -0
  50. package/dist/schemas/cw721/index.d.ts +2507 -0
  51. package/dist/schemas/cw721/index.d.ts.map +1 -0
  52. package/dist/schemas/cw721/index.js +10 -0
  53. package/dist/schemas/cw721/index.js.map +1 -0
  54. package/dist/schemas/cw721/query.d.ts +487 -0
  55. package/dist/schemas/cw721/query.d.ts.map +1 -0
  56. package/dist/schemas/cw721/query.js +526 -0
  57. package/dist/schemas/cw721/query.js.map +1 -0
  58. package/dist/schemas/cw721/responses.d.ts +1485 -0
  59. package/dist/schemas/cw721/responses.d.ts.map +1 -0
  60. package/dist/schemas/cw721/responses.js +1675 -0
  61. package/dist/schemas/cw721/responses.js.map +1 -0
  62. package/dist/schemas/index.d.ts +3 -0
  63. package/dist/schemas/index.d.ts.map +1 -0
  64. package/dist/schemas/index.js +3 -0
  65. package/dist/schemas/index.js.map +1 -0
  66. package/dist/schemas/schemas.test-d.d.ts +2 -0
  67. package/dist/schemas/schemas.test-d.d.ts.map +1 -0
  68. package/dist/schemas/schemas.test-d.js +92 -0
  69. package/dist/schemas/schemas.test-d.js.map +1 -0
  70. package/dist/schemas/schemas.test.d.ts +2 -0
  71. package/dist/schemas/schemas.test.d.ts.map +1 -0
  72. package/dist/schemas/schemas.test.js +150 -0
  73. package/dist/schemas/schemas.test.js.map +1 -0
  74. package/dist/telescope.d.ts +140 -0
  75. package/dist/telescope.d.ts.map +1 -0
  76. package/dist/telescope.js +119 -0
  77. package/dist/telescope.js.map +1 -0
  78. package/dist/telescope.test.d.ts +2 -0
  79. package/dist/telescope.test.d.ts.map +1 -0
  80. package/dist/telescope.test.js +91 -0
  81. package/dist/telescope.test.js.map +1 -0
  82. package/dist/types.d.ts +9 -0
  83. package/dist/types.d.ts.map +1 -0
  84. package/dist/types.js +2 -0
  85. package/dist/types.js.map +1 -0
  86. package/dist/types.test-d.d.ts +2 -0
  87. package/dist/types.test-d.d.ts.map +1 -0
  88. package/dist/types.test-d.js +28 -0
  89. package/dist/types.test-d.js.map +1 -0
  90. package/dist/wallet-compat.test-d.d.ts +13 -0
  91. package/dist/wallet-compat.test-d.d.ts.map +1 -0
  92. package/dist/wallet-compat.test-d.js +74 -0
  93. package/dist/wallet-compat.test-d.js.map +1 -0
  94. package/package.json +65 -7
@@ -0,0 +1,416 @@
1
+ /**
2
+ * CW20 query response schemas.
3
+ * Generated from cw-plus v2.0.0 cw20-base cargo schema output.
4
+ */
5
+ export const cw20ResponseSchemas = {
6
+ all_accounts: {
7
+ type: 'object',
8
+ required: ['accounts'],
9
+ properties: {
10
+ accounts: {
11
+ type: 'array',
12
+ items: {
13
+ type: 'string',
14
+ },
15
+ },
16
+ },
17
+ },
18
+ all_allowances: {
19
+ type: 'object',
20
+ required: ['allowances'],
21
+ properties: {
22
+ allowances: {
23
+ type: 'array',
24
+ items: {
25
+ $ref: '#/definitions/AllowanceInfo',
26
+ },
27
+ },
28
+ },
29
+ definitions: {
30
+ AllowanceInfo: {
31
+ type: 'object',
32
+ required: ['allowance', 'expires', 'spender'],
33
+ properties: {
34
+ allowance: {
35
+ $ref: '#/definitions/Uint128',
36
+ },
37
+ expires: {
38
+ $ref: '#/definitions/Expiration',
39
+ },
40
+ spender: {
41
+ type: 'string',
42
+ },
43
+ },
44
+ additionalProperties: false,
45
+ },
46
+ Expiration: {
47
+ description: 'Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)',
48
+ oneOf: [
49
+ {
50
+ description: 'AtHeight will expire when `env.block.height` >= height',
51
+ type: 'object',
52
+ required: ['at_height'],
53
+ properties: {
54
+ at_height: {
55
+ type: 'integer',
56
+ format: 'uint64',
57
+ minimum: 0,
58
+ },
59
+ },
60
+ additionalProperties: false,
61
+ },
62
+ {
63
+ description: 'AtTime will expire when `env.block.time` >= time',
64
+ type: 'object',
65
+ required: ['at_time'],
66
+ properties: {
67
+ at_time: {
68
+ $ref: '#/definitions/Timestamp',
69
+ },
70
+ },
71
+ additionalProperties: false,
72
+ },
73
+ {
74
+ description: 'Never will never expire. Used to express the empty variant',
75
+ type: 'object',
76
+ required: ['never'],
77
+ properties: {
78
+ never: {
79
+ type: 'object',
80
+ additionalProperties: false,
81
+ },
82
+ },
83
+ additionalProperties: false,
84
+ },
85
+ ],
86
+ },
87
+ Timestamp: {
88
+ 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); ```',
89
+ allOf: [
90
+ {
91
+ $ref: '#/definitions/Uint64',
92
+ },
93
+ ],
94
+ },
95
+ Uint128: {
96
+ description: 'A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 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 `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```',
97
+ type: 'string',
98
+ },
99
+ Uint64: {
100
+ 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); ```',
101
+ type: 'string',
102
+ },
103
+ },
104
+ },
105
+ all_spender_allowances: {
106
+ type: 'object',
107
+ required: ['allowances'],
108
+ properties: {
109
+ allowances: {
110
+ type: 'array',
111
+ items: {
112
+ $ref: '#/definitions/SpenderAllowanceInfo',
113
+ },
114
+ },
115
+ },
116
+ definitions: {
117
+ Expiration: {
118
+ description: 'Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)',
119
+ oneOf: [
120
+ {
121
+ description: 'AtHeight will expire when `env.block.height` >= height',
122
+ type: 'object',
123
+ required: ['at_height'],
124
+ properties: {
125
+ at_height: {
126
+ type: 'integer',
127
+ format: 'uint64',
128
+ minimum: 0,
129
+ },
130
+ },
131
+ additionalProperties: false,
132
+ },
133
+ {
134
+ description: 'AtTime will expire when `env.block.time` >= time',
135
+ type: 'object',
136
+ required: ['at_time'],
137
+ properties: {
138
+ at_time: {
139
+ $ref: '#/definitions/Timestamp',
140
+ },
141
+ },
142
+ additionalProperties: false,
143
+ },
144
+ {
145
+ description: 'Never will never expire. Used to express the empty variant',
146
+ type: 'object',
147
+ required: ['never'],
148
+ properties: {
149
+ never: {
150
+ type: 'object',
151
+ additionalProperties: false,
152
+ },
153
+ },
154
+ additionalProperties: false,
155
+ },
156
+ ],
157
+ },
158
+ SpenderAllowanceInfo: {
159
+ type: 'object',
160
+ required: ['allowance', 'expires', 'owner'],
161
+ properties: {
162
+ allowance: {
163
+ $ref: '#/definitions/Uint128',
164
+ },
165
+ expires: {
166
+ $ref: '#/definitions/Expiration',
167
+ },
168
+ owner: {
169
+ type: 'string',
170
+ },
171
+ },
172
+ additionalProperties: false,
173
+ },
174
+ Timestamp: {
175
+ 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); ```',
176
+ allOf: [
177
+ {
178
+ $ref: '#/definitions/Uint64',
179
+ },
180
+ ],
181
+ },
182
+ Uint128: {
183
+ description: 'A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 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 `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```',
184
+ type: 'string',
185
+ },
186
+ Uint64: {
187
+ 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); ```',
188
+ type: 'string',
189
+ },
190
+ },
191
+ },
192
+ allowance: {
193
+ type: 'object',
194
+ required: ['allowance', 'expires'],
195
+ properties: {
196
+ allowance: {
197
+ $ref: '#/definitions/Uint128',
198
+ },
199
+ expires: {
200
+ $ref: '#/definitions/Expiration',
201
+ },
202
+ },
203
+ definitions: {
204
+ Expiration: {
205
+ description: 'Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)',
206
+ oneOf: [
207
+ {
208
+ description: 'AtHeight will expire when `env.block.height` >= height',
209
+ type: 'object',
210
+ required: ['at_height'],
211
+ properties: {
212
+ at_height: {
213
+ type: 'integer',
214
+ format: 'uint64',
215
+ minimum: 0,
216
+ },
217
+ },
218
+ additionalProperties: false,
219
+ },
220
+ {
221
+ description: 'AtTime will expire when `env.block.time` >= time',
222
+ type: 'object',
223
+ required: ['at_time'],
224
+ properties: {
225
+ at_time: {
226
+ $ref: '#/definitions/Timestamp',
227
+ },
228
+ },
229
+ additionalProperties: false,
230
+ },
231
+ {
232
+ description: 'Never will never expire. Used to express the empty variant',
233
+ type: 'object',
234
+ required: ['never'],
235
+ properties: {
236
+ never: {
237
+ type: 'object',
238
+ additionalProperties: false,
239
+ },
240
+ },
241
+ additionalProperties: false,
242
+ },
243
+ ],
244
+ },
245
+ Timestamp: {
246
+ 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); ```',
247
+ allOf: [
248
+ {
249
+ $ref: '#/definitions/Uint64',
250
+ },
251
+ ],
252
+ },
253
+ Uint128: {
254
+ description: 'A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 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 `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```',
255
+ type: 'string',
256
+ },
257
+ Uint64: {
258
+ 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); ```',
259
+ type: 'string',
260
+ },
261
+ },
262
+ },
263
+ balance: {
264
+ type: 'object',
265
+ required: ['balance'],
266
+ properties: {
267
+ balance: {
268
+ $ref: '#/definitions/Uint128',
269
+ },
270
+ },
271
+ additionalProperties: false,
272
+ definitions: {
273
+ Uint128: {
274
+ description: 'A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 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 `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```',
275
+ type: 'string',
276
+ },
277
+ },
278
+ },
279
+ download_logo: {
280
+ description: 'When we download an embedded logo, we get this response type. We expect a SPA to be able to accept this info and display it.',
281
+ type: 'object',
282
+ required: ['data', 'mime_type'],
283
+ properties: {
284
+ data: {
285
+ $ref: '#/definitions/Binary',
286
+ },
287
+ mime_type: {
288
+ type: 'string',
289
+ },
290
+ },
291
+ additionalProperties: false,
292
+ definitions: {
293
+ Binary: {
294
+ description: 'Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>. See also <https://github.com/CosmWasm/cosmwasm/blob/main/docs/MESSAGE_TYPES.md>.',
295
+ type: 'string',
296
+ },
297
+ },
298
+ },
299
+ marketing_info: {
300
+ type: 'object',
301
+ properties: {
302
+ description: {
303
+ description: "A longer description of the token and it's utility. Designed for tooltips or such",
304
+ type: ['string', 'null'],
305
+ },
306
+ logo: {
307
+ description: 'A link to the logo, or a comment there is an on-chain logo stored',
308
+ anyOf: [
309
+ {
310
+ $ref: '#/definitions/LogoInfo',
311
+ },
312
+ {
313
+ type: 'null',
314
+ },
315
+ ],
316
+ },
317
+ marketing: {
318
+ description: 'The address (if any) who can update this data structure',
319
+ anyOf: [
320
+ {
321
+ $ref: '#/definitions/Addr',
322
+ },
323
+ {
324
+ type: 'null',
325
+ },
326
+ ],
327
+ },
328
+ project: {
329
+ description: 'A URL pointing to the project behind this token.',
330
+ type: ['string', 'null'],
331
+ },
332
+ },
333
+ definitions: {
334
+ Addr: {
335
+ 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.",
336
+ type: 'string',
337
+ },
338
+ LogoInfo: {
339
+ description: 'This is used to display logo info, provide a link or inform there is one that can be downloaded from the blockchain itself',
340
+ oneOf: [
341
+ {
342
+ description: 'A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.',
343
+ type: 'object',
344
+ required: ['url'],
345
+ properties: {
346
+ url: {
347
+ type: 'string',
348
+ },
349
+ },
350
+ additionalProperties: false,
351
+ },
352
+ {
353
+ description: 'There is an embedded logo on the chain, make another call to download it.',
354
+ type: 'string',
355
+ enum: ['embedded'],
356
+ },
357
+ ],
358
+ },
359
+ },
360
+ },
361
+ minter: {
362
+ type: 'object',
363
+ required: ['minter'],
364
+ properties: {
365
+ cap: {
366
+ description: 'cap is a hard cap on total supply that can be achieved by minting. Note that this refers to total_supply. If None, there is unlimited cap.',
367
+ anyOf: [
368
+ {
369
+ $ref: '#/definitions/Uint128',
370
+ },
371
+ {
372
+ type: 'null',
373
+ },
374
+ ],
375
+ },
376
+ minter: {
377
+ type: 'string',
378
+ },
379
+ },
380
+ additionalProperties: false,
381
+ definitions: {
382
+ Uint128: {
383
+ description: 'A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 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 `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```',
384
+ type: 'string',
385
+ },
386
+ },
387
+ },
388
+ token_info: {
389
+ type: 'object',
390
+ required: ['decimals', 'name', 'symbol', 'total_supply'],
391
+ properties: {
392
+ decimals: {
393
+ type: 'integer',
394
+ format: 'uint8',
395
+ minimum: 0,
396
+ },
397
+ name: {
398
+ type: 'string',
399
+ },
400
+ symbol: {
401
+ type: 'string',
402
+ },
403
+ total_supply: {
404
+ $ref: '#/definitions/Uint128',
405
+ },
406
+ },
407
+ additionalProperties: false,
408
+ definitions: {
409
+ Uint128: {
410
+ description: 'A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 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 `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```',
411
+ type: 'string',
412
+ },
413
+ },
414
+ },
415
+ };
416
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/schemas/cw20/responses.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,YAAY,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,UAAU,CAAC;QACtB,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,YAAY,CAAC;QACxB,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,6BAA6B;iBACpC;aACF;SACF;QACD,WAAW,EAAE;YACX,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC;gBAC7C,UAAU,EAAE;oBACV,SAAS,EAAE;wBACT,IAAI,EAAE,uBAAuB;qBAC9B;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,0BAA0B;qBACjC;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,oBAAoB,EAAE,KAAK;aAC5B;YACD,UAAU,EAAE;gBACV,WAAW,EACT,mMAAmM;gBACrM,KAAK,EAAE;oBACL;wBACE,WAAW,EACT,wDAAwD;wBAC1D,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,WAAW,CAAC;wBACvB,UAAU,EAAE;4BACV,SAAS,EAAE;gCACT,IAAI,EAAE,SAAS;gCACf,MAAM,EAAE,QAAQ;gCAChB,OAAO,EAAE,CAAC;6BACX;yBACF;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