@xyo-network/crypto-nft-collection-diviner-score-plugin 2.83.0 → 2.84.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.
@@ -1,7 +1,7 @@
1
1
  import { NftCollectionScoreDiviner } from './Diviner';
2
2
  export declare const NftCollectionScoreDivinerPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetDivinerPlugin<NftCollectionScoreDiviner<import("@xyo-network/object").BaseParamsFields & {
3
3
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
4
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
4
+ config: (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
5
5
  accountDerivationPath?: string | undefined;
6
6
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
7
7
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -19,7 +19,7 @@ export declare const NftCollectionScoreDivinerPlugin: () => import("@xyo-network
19
19
  readonly timestamp?: boolean | undefined;
20
20
  } & import("@xyo-network/module-model").ArchivingModuleConfig & {
21
21
  schema: string;
22
- } & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
22
+ } & Omit<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
23
23
  accountDerivationPath?: string | undefined;
24
24
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
25
25
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -41,9 +41,399 @@ export declare const NftCollectionScoreDivinerPlugin: () => import("@xyo-network
41
41
  schema: "network.xyo.crypto.nft.collection.score.diviner.config";
42
42
  }, "schema">, "schema"> & {
43
43
  schema: "network.xyo.crypto.nft.collection.score.diviner.config";
44
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
45
+ accountDerivationPath?: string | undefined;
46
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
47
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
48
+ readonly name?: string | undefined;
49
+ readonly paging?: Record<string, {
50
+ size?: number | undefined;
51
+ }> | undefined;
52
+ readonly security?: {
53
+ readonly allowAnonymous?: boolean | undefined;
54
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
55
+ readonly disallowed?: Record<string, string[]> | undefined;
56
+ } | undefined;
57
+ readonly sign?: boolean | undefined;
58
+ readonly storeQueries?: boolean | undefined;
59
+ readonly timestamp?: boolean | undefined;
60
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
61
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
62
+ } & Omit<{
63
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
64
+ }, "schema">, "schema"> & {
65
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
66
+ } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
67
+ accountDerivationPath?: string | undefined;
68
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
69
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
70
+ readonly name?: string | undefined;
71
+ readonly paging?: Record<string, {
72
+ size?: number | undefined;
73
+ }> | undefined;
74
+ readonly security?: {
75
+ readonly allowAnonymous?: boolean | undefined;
76
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
77
+ readonly disallowed?: Record<string, string[]> | undefined;
78
+ } | undefined;
79
+ readonly sign?: boolean | undefined;
80
+ readonly storeQueries?: boolean | undefined;
81
+ readonly timestamp?: boolean | undefined;
82
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
83
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
84
+ } & Omit<{
85
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
86
+ }, "schema">, "schema"> & {
87
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
88
+ } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
89
+ accountDerivationPath?: string | undefined;
90
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
91
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
92
+ readonly name?: string | undefined;
93
+ readonly paging?: Record<string, {
94
+ size?: number | undefined;
95
+ }> | undefined;
96
+ readonly security?: {
97
+ readonly allowAnonymous?: boolean | undefined;
98
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
99
+ readonly disallowed?: Record<string, string[]> | undefined;
100
+ } | undefined;
101
+ readonly sign?: boolean | undefined;
102
+ readonly storeQueries?: boolean | undefined;
103
+ readonly timestamp?: boolean | undefined;
104
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
105
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
106
+ } & Omit<{
107
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
108
+ }, "schema">, "schema"> & {
109
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
110
+ }), "schema">, "schema"> & {
111
+ schema: string;
112
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
113
+ accountDerivationPath?: string | undefined;
114
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
115
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
116
+ readonly name?: string | undefined;
117
+ readonly paging?: Record<string, {
118
+ size?: number | undefined;
119
+ }> | undefined;
120
+ readonly security?: {
121
+ readonly allowAnonymous?: boolean | undefined;
122
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
123
+ readonly disallowed?: Record<string, string[]> | undefined;
124
+ } | undefined;
125
+ readonly sign?: boolean | undefined;
126
+ readonly storeQueries?: boolean | undefined;
127
+ readonly timestamp?: boolean | undefined;
128
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
129
+ schema: string;
130
+ } & Omit<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
131
+ accountDerivationPath?: string | undefined;
132
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
133
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
134
+ readonly name?: string | undefined;
135
+ readonly paging?: Record<string, {
136
+ size?: number | undefined;
137
+ }> | undefined;
138
+ readonly security?: {
139
+ readonly allowAnonymous?: boolean | undefined;
140
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
141
+ readonly disallowed?: Record<string, string[]> | undefined;
142
+ } | undefined;
143
+ readonly sign?: boolean | undefined;
144
+ readonly storeQueries?: boolean | undefined;
145
+ readonly timestamp?: boolean | undefined;
146
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
147
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
148
+ } & Omit<{
149
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
150
+ }, "schema">, "schema"> & {
151
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
152
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
153
+ accountDerivationPath?: string | undefined;
154
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
155
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
156
+ readonly name?: string | undefined;
157
+ readonly paging?: Record<string, {
158
+ size?: number | undefined;
159
+ }> | undefined;
160
+ readonly security?: {
161
+ readonly allowAnonymous?: boolean | undefined;
162
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
163
+ readonly disallowed?: Record<string, string[]> | undefined;
164
+ } | undefined;
165
+ readonly sign?: boolean | undefined;
166
+ readonly storeQueries?: boolean | undefined;
167
+ readonly timestamp?: boolean | undefined;
168
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
169
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
170
+ } & Omit<{
171
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
172
+ }, "schema">, "schema"> & {
173
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
174
+ } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
175
+ accountDerivationPath?: string | undefined;
176
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
177
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
178
+ readonly name?: string | undefined;
179
+ readonly paging?: Record<string, {
180
+ size?: number | undefined;
181
+ }> | undefined;
182
+ readonly security?: {
183
+ readonly allowAnonymous?: boolean | undefined;
184
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
185
+ readonly disallowed?: Record<string, string[]> | undefined;
186
+ } | undefined;
187
+ readonly sign?: boolean | undefined;
188
+ readonly storeQueries?: boolean | undefined;
189
+ readonly timestamp?: boolean | undefined;
190
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
191
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
192
+ } & Omit<{
193
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
194
+ }, "schema">, "schema"> & {
195
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
196
+ } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
197
+ accountDerivationPath?: string | undefined;
198
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
199
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
200
+ readonly name?: string | undefined;
201
+ readonly paging?: Record<string, {
202
+ size?: number | undefined;
203
+ }> | undefined;
204
+ readonly security?: {
205
+ readonly allowAnonymous?: boolean | undefined;
206
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
207
+ readonly disallowed?: Record<string, string[]> | undefined;
208
+ } | undefined;
209
+ readonly sign?: boolean | undefined;
210
+ readonly storeQueries?: boolean | undefined;
211
+ readonly timestamp?: boolean | undefined;
212
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
213
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
214
+ } & Omit<{
215
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
216
+ }, "schema">, "schema"> & {
217
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
218
+ }), "schema">, "schema"> & {
219
+ schema: string;
220
+ } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
221
+ accountDerivationPath?: string | undefined;
222
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
223
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
224
+ readonly name?: string | undefined;
225
+ readonly paging?: Record<string, {
226
+ size?: number | undefined;
227
+ }> | undefined;
228
+ readonly security?: {
229
+ readonly allowAnonymous?: boolean | undefined;
230
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
231
+ readonly disallowed?: Record<string, string[]> | undefined;
232
+ } | undefined;
233
+ readonly sign?: boolean | undefined;
234
+ readonly storeQueries?: boolean | undefined;
235
+ readonly timestamp?: boolean | undefined;
236
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
237
+ schema: string;
238
+ } & Omit<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
239
+ accountDerivationPath?: string | undefined;
240
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
241
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
242
+ readonly name?: string | undefined;
243
+ readonly paging?: Record<string, {
244
+ size?: number | undefined;
245
+ }> | undefined;
246
+ readonly security?: {
247
+ readonly allowAnonymous?: boolean | undefined;
248
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
249
+ readonly disallowed?: Record<string, string[]> | undefined;
250
+ } | undefined;
251
+ readonly sign?: boolean | undefined;
252
+ readonly storeQueries?: boolean | undefined;
253
+ readonly timestamp?: boolean | undefined;
254
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
255
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
256
+ } & Omit<{
257
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
258
+ }, "schema">, "schema"> & {
259
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
260
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
261
+ accountDerivationPath?: string | undefined;
262
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
263
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
264
+ readonly name?: string | undefined;
265
+ readonly paging?: Record<string, {
266
+ size?: number | undefined;
267
+ }> | undefined;
268
+ readonly security?: {
269
+ readonly allowAnonymous?: boolean | undefined;
270
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
271
+ readonly disallowed?: Record<string, string[]> | undefined;
272
+ } | undefined;
273
+ readonly sign?: boolean | undefined;
274
+ readonly storeQueries?: boolean | undefined;
275
+ readonly timestamp?: boolean | undefined;
276
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
277
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
278
+ } & Omit<{
279
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
280
+ }, "schema">, "schema"> & {
281
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
282
+ } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
283
+ accountDerivationPath?: string | undefined;
284
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
285
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
286
+ readonly name?: string | undefined;
287
+ readonly paging?: Record<string, {
288
+ size?: number | undefined;
289
+ }> | undefined;
290
+ readonly security?: {
291
+ readonly allowAnonymous?: boolean | undefined;
292
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
293
+ readonly disallowed?: Record<string, string[]> | undefined;
294
+ } | undefined;
295
+ readonly sign?: boolean | undefined;
296
+ readonly storeQueries?: boolean | undefined;
297
+ readonly timestamp?: boolean | undefined;
298
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
299
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
300
+ } & Omit<{
301
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
302
+ }, "schema">, "schema"> & {
303
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
304
+ } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
305
+ accountDerivationPath?: string | undefined;
306
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
307
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
308
+ readonly name?: string | undefined;
309
+ readonly paging?: Record<string, {
310
+ size?: number | undefined;
311
+ }> | undefined;
312
+ readonly security?: {
313
+ readonly allowAnonymous?: boolean | undefined;
314
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
315
+ readonly disallowed?: Record<string, string[]> | undefined;
316
+ } | undefined;
317
+ readonly sign?: boolean | undefined;
318
+ readonly storeQueries?: boolean | undefined;
319
+ readonly timestamp?: boolean | undefined;
320
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
321
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
322
+ } & Omit<{
323
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
324
+ }, "schema">, "schema"> & {
325
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
326
+ }), "schema">, "schema"> & {
327
+ schema: string;
328
+ } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
329
+ accountDerivationPath?: string | undefined;
330
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
331
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
332
+ readonly name?: string | undefined;
333
+ readonly paging?: Record<string, {
334
+ size?: number | undefined;
335
+ }> | undefined;
336
+ readonly security?: {
337
+ readonly allowAnonymous?: boolean | undefined;
338
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
339
+ readonly disallowed?: Record<string, string[]> | undefined;
340
+ } | undefined;
341
+ readonly sign?: boolean | undefined;
342
+ readonly storeQueries?: boolean | undefined;
343
+ readonly timestamp?: boolean | undefined;
344
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
345
+ schema: string;
346
+ } & Omit<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
347
+ accountDerivationPath?: string | undefined;
348
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
349
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
350
+ readonly name?: string | undefined;
351
+ readonly paging?: Record<string, {
352
+ size?: number | undefined;
353
+ }> | undefined;
354
+ readonly security?: {
355
+ readonly allowAnonymous?: boolean | undefined;
356
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
357
+ readonly disallowed?: Record<string, string[]> | undefined;
358
+ } | undefined;
359
+ readonly sign?: boolean | undefined;
360
+ readonly storeQueries?: boolean | undefined;
361
+ readonly timestamp?: boolean | undefined;
362
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
363
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
364
+ } & Omit<{
365
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
366
+ }, "schema">, "schema"> & {
367
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
368
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
369
+ accountDerivationPath?: string | undefined;
370
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
371
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
372
+ readonly name?: string | undefined;
373
+ readonly paging?: Record<string, {
374
+ size?: number | undefined;
375
+ }> | undefined;
376
+ readonly security?: {
377
+ readonly allowAnonymous?: boolean | undefined;
378
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
379
+ readonly disallowed?: Record<string, string[]> | undefined;
380
+ } | undefined;
381
+ readonly sign?: boolean | undefined;
382
+ readonly storeQueries?: boolean | undefined;
383
+ readonly timestamp?: boolean | undefined;
384
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
385
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
386
+ } & Omit<{
387
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
388
+ }, "schema">, "schema"> & {
389
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
390
+ } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
391
+ accountDerivationPath?: string | undefined;
392
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
393
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
394
+ readonly name?: string | undefined;
395
+ readonly paging?: Record<string, {
396
+ size?: number | undefined;
397
+ }> | undefined;
398
+ readonly security?: {
399
+ readonly allowAnonymous?: boolean | undefined;
400
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
401
+ readonly disallowed?: Record<string, string[]> | undefined;
402
+ } | undefined;
403
+ readonly sign?: boolean | undefined;
404
+ readonly storeQueries?: boolean | undefined;
405
+ readonly timestamp?: boolean | undefined;
406
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
407
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
408
+ } & Omit<{
409
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
44
410
  }, "schema">, "schema"> & {
411
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
412
+ } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
413
+ accountDerivationPath?: string | undefined;
414
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
415
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
416
+ readonly name?: string | undefined;
417
+ readonly paging?: Record<string, {
418
+ size?: number | undefined;
419
+ }> | undefined;
420
+ readonly security?: {
421
+ readonly allowAnonymous?: boolean | undefined;
422
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
423
+ readonly disallowed?: Record<string, string[]> | undefined;
424
+ } | undefined;
425
+ readonly sign?: boolean | undefined;
426
+ readonly storeQueries?: boolean | undefined;
427
+ readonly timestamp?: boolean | undefined;
428
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
429
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
430
+ } & Omit<{
431
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
432
+ }, "schema">, "schema"> & {
433
+ schema: "network.xyo.crypto.nft.collection.score.diviner.config";
434
+ }), "schema">, "schema"> & {
45
435
  schema: string;
46
- };
436
+ });
47
437
  ephemeralQueryAccountEnabled?: boolean | undefined;
48
438
  wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
49
439
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAA;AAErD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASzC,CAAA"}
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAA;AAErD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASzC,CAAA"}
@@ -1,19 +1,45 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ NftCollectionScoreDiviner: () => NftCollectionScoreDiviner,
24
+ NftCollectionScoreDivinerPlugin: () => NftCollectionScoreDivinerPlugin,
25
+ analyzeNftCollection: () => analyzeNftCollection,
26
+ default: () => src_default,
27
+ scoringCriteria: () => scoringCriteria
28
+ });
29
+ module.exports = __toCommonJS(src_exports);
30
+
1
31
  // src/Plugin.ts
2
- import { NftSchema } from "@xyo-network/crypto-nft-payload-plugin";
3
- import { PayloadSetSchema } from "@xyo-network/payload-model";
4
- import { createPayloadSetDivinerPlugin } from "@xyo-network/payloadset-plugin";
32
+ var import_crypto_nft_payload_plugin = require("@xyo-network/crypto-nft-payload-plugin");
33
+ var import_payload_model = require("@xyo-network/payload-model");
34
+ var import_payloadset_plugin = require("@xyo-network/payloadset-plugin");
5
35
 
6
36
  // src/Diviner.ts
7
- import { AbstractDiviner } from "@xyo-network/abstract-diviner";
8
- import { PayloadHasher } from "@xyo-network/core";
9
- import {
10
- isNftCollectionInfo,
11
- NftCollectionScoreDivinerConfigSchema,
12
- NftCollectionScoreSchema
13
- } from "@xyo-network/crypto-nft-collection-payload-plugin";
37
+ var import_abstract_diviner = require("@xyo-network/abstract-diviner");
38
+ var import_crypto_nft_collection_payload_plugin = require("@xyo-network/crypto-nft-collection-payload-plugin");
39
+ var import_hash = require("@xyo-network/hash");
14
40
 
15
41
  // src/lib/rating/criteria/scoring/metadata/scoreIndividualAttributes.ts
16
- import { normalize } from "@xyo-network/crypto-nft-score-model";
42
+ var import_crypto_nft_score_model = require("@xyo-network/crypto-nft-score-model");
17
43
  var maxScore = 10;
18
44
  var scoreIndividualAttributes = (info) => {
19
45
  const { attributes } = info.metrics.metadata;
@@ -27,11 +53,11 @@ var scoreIndividualAttributes = (info) => {
27
53
  });
28
54
  }).flat();
29
55
  const total = scores.reduce(([a, b], [c, d]) => [a + c, b + d], [0, 0]);
30
- return normalize(total, maxScore);
56
+ return (0, import_crypto_nft_score_model.normalize)(total, maxScore);
31
57
  };
32
58
 
33
59
  // src/lib/rating/criteria/scoring/metadata/scoreTotalAttributes.ts
34
- import { normalize as normalize2 } from "@xyo-network/crypto-nft-score-model";
60
+ var import_crypto_nft_score_model2 = require("@xyo-network/crypto-nft-score-model");
35
61
  var maxScore2 = 10;
36
62
  var defaultMu = 0.15;
37
63
  var defaultSigma = 0.1;
@@ -49,7 +75,7 @@ var scoreTotalAttributes = (info) => {
49
75
  }, 1);
50
76
  const probabilityDensity = gaussianProbabilityDensity(jointProbability);
51
77
  const score = [probabilityDensity, maxProbabilityDensity];
52
- return normalize2(score, maxScore2);
78
+ return (0, import_crypto_nft_score_model2.normalize)(score, maxScore2);
53
79
  };
54
80
 
55
81
  // src/lib/rating/criteria/scoring/metadata/metadata.ts
@@ -62,7 +88,7 @@ var scoreMetadata = {
62
88
  };
63
89
 
64
90
  // src/lib/rating/criteria/scoring/total.ts
65
- import { normalize as normalize3 } from "@xyo-network/crypto-nft-score-model";
91
+ var import_crypto_nft_score_model3 = require("@xyo-network/crypto-nft-score-model");
66
92
  var median = 810308398217352e-7;
67
93
  var defaultMu2 = Math.log(median);
68
94
  var defaultSigma2 = 3;
@@ -78,7 +104,7 @@ var maxScore3 = 10;
78
104
  var scoreTotal = (nft) => {
79
105
  const density = logNormalProbabilityDensity(nft.total);
80
106
  const score = [density, maxProbabilityDensity2];
81
- return normalize3(score, maxScore3);
107
+ return (0, import_crypto_nft_score_model3.normalize)(score, maxScore3);
82
108
  };
83
109
 
84
110
  // src/lib/rating/criteria/index.ts
@@ -105,21 +131,21 @@ var analyzeNftCollection = async (nft) => {
105
131
  var toNftCollectionScore = (nftCollectionInfo, scores) => {
106
132
  const { name, symbol, address, chainId, type } = nftCollectionInfo;
107
133
  const metadata = { address, chainId, name, symbol, type };
108
- return { ...metadata, schema: NftCollectionScoreSchema, scores };
134
+ return { ...metadata, schema: import_crypto_nft_collection_payload_plugin.NftCollectionScoreSchema, scores };
109
135
  };
110
- var NftCollectionScoreDiviner = class extends AbstractDiviner {
111
- static configSchemas = [NftCollectionScoreDivinerConfigSchema];
136
+ var NftCollectionScoreDiviner = class extends import_abstract_diviner.AbstractDiviner {
137
+ static configSchemas = [import_crypto_nft_collection_payload_plugin.NftCollectionScoreDivinerConfigSchema];
112
138
  divineHandler = async (payloads) => {
113
- const nftCollectionInfos = (payloads == null ? void 0 : payloads.filter(isNftCollectionInfo)) ?? [];
139
+ const nftCollectionInfos = (payloads == null ? void 0 : payloads.filter(import_crypto_nft_collection_payload_plugin.isNftCollectionInfo)) ?? [];
114
140
  const results = await Promise.all(
115
141
  nftCollectionInfos.map(async (nftCollectionInfo) => {
116
142
  const [score, sourceHash] = await Promise.all([
117
143
  // Get score
118
144
  toNftCollectionScore(nftCollectionInfo, await analyzeNftCollection(nftCollectionInfo)),
119
145
  // Hash sources
120
- PayloadHasher.hashAsync(nftCollectionInfo)
146
+ import_hash.PayloadHasher.hashAsync(nftCollectionInfo)
121
147
  ]);
122
- return { ...score, schema: NftCollectionScoreSchema, sources: [sourceHash] };
148
+ return { ...score, schema: import_crypto_nft_collection_payload_plugin.NftCollectionScoreSchema, sources: [sourceHash] };
123
149
  })
124
150
  );
125
151
  return results;
@@ -127,8 +153,8 @@ var NftCollectionScoreDiviner = class extends AbstractDiviner {
127
153
  };
128
154
 
129
155
  // src/Plugin.ts
130
- var NftCollectionScoreDivinerPlugin = () => createPayloadSetDivinerPlugin(
131
- { required: { [NftSchema]: 1 }, schema: PayloadSetSchema },
156
+ var NftCollectionScoreDivinerPlugin = () => (0, import_payloadset_plugin.createPayloadSetDivinerPlugin)(
157
+ { required: { [import_crypto_nft_payload_plugin.NftSchema]: 1 }, schema: import_payload_model.PayloadSetSchema },
132
158
  {
133
159
  diviner: async (params) => {
134
160
  const result = await NftCollectionScoreDiviner.create(params);
@@ -139,11 +165,11 @@ var NftCollectionScoreDivinerPlugin = () => createPayloadSetDivinerPlugin(
139
165
 
140
166
  // src/index.ts
141
167
  var src_default = NftCollectionScoreDivinerPlugin;
142
- export {
168
+ // Annotate the CommonJS export names for ESM import in node:
169
+ 0 && (module.exports = {
143
170
  NftCollectionScoreDiviner,
144
171
  NftCollectionScoreDivinerPlugin,
145
172
  analyzeNftCollection,
146
- src_default as default,
147
173
  scoringCriteria
148
- };
149
- //# sourceMappingURL=index.mjs.map
174
+ });
175
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Diviner.ts","../../src/lib/rating/criteria/scoring/metadata/scoreIndividualAttributes.ts","../../src/lib/rating/criteria/scoring/metadata/scoreTotalAttributes.ts","../../src/lib/rating/criteria/scoring/metadata/metadata.ts","../../src/lib/rating/criteria/scoring/total.ts","../../src/lib/rating/criteria/index.ts","../../src/lib/rating/analyzeNftCollection.ts"],"sourcesContent":["import { NftCollectionScoreDivinerPlugin } from './Plugin'\n\nexport * from './Diviner'\nexport * from './lib'\n\nexport { NftCollectionScoreDivinerPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default NftCollectionScoreDivinerPlugin\n","import { NftSchema } from '@xyo-network/crypto-nft-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { NftCollectionScoreDiviner } from './Diviner'\n\nexport const NftCollectionScoreDivinerPlugin = () =>\n createPayloadSetDivinerPlugin<NftCollectionScoreDiviner>(\n { required: { [NftSchema]: 1 }, schema: PayloadSetSchema },\n {\n diviner: async (params) => {\n const result = await NftCollectionScoreDiviner.create(params)\n return result\n },\n },\n )\n","import { AbstractDiviner } from '@xyo-network/abstract-diviner'\nimport {\n isNftCollectionInfo,\n NftCollectionInfo,\n NftCollectionMetadata,\n NftCollectionScore,\n NftCollectionScoreDivinerConfig,\n NftCollectionScoreDivinerConfigSchema,\n NftCollectionScoreSchema,\n} from '@xyo-network/crypto-nft-collection-payload-plugin'\nimport { DivinerParams } from '@xyo-network/diviner-model'\nimport { PayloadHasher } from '@xyo-network/hash'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { analyzeNftCollection, NftCollectionAnalysis } from './lib'\n\nexport type NftCollectionScoreDivinerParams = DivinerParams<AnyConfigSchema<NftCollectionScoreDivinerConfig>>\n\nconst toNftCollectionScore = (nftCollectionInfo: NftCollectionInfo, scores: NftCollectionAnalysis): NftCollectionScore => {\n const { name, symbol, address, chainId, type } = nftCollectionInfo\n const metadata: NftCollectionMetadata = { address, chainId, name, symbol, type }\n return { ...metadata, schema: NftCollectionScoreSchema, scores }\n}\n\nexport class NftCollectionScoreDiviner<\n TParams extends NftCollectionScoreDivinerParams = NftCollectionScoreDivinerParams,\n> extends AbstractDiviner<TParams> {\n static override configSchemas = [NftCollectionScoreDivinerConfigSchema]\n\n protected override divineHandler = async (payloads?: Payload[]): Promise<Payload[]> => {\n const nftCollectionInfos = payloads?.filter(isNftCollectionInfo) ?? []\n const results = await Promise.all(\n nftCollectionInfos.map<Promise<NftCollectionScore>>(async (nftCollectionInfo) => {\n const [score, sourceHash] = await Promise.all([\n // Get score\n toNftCollectionScore(nftCollectionInfo, await analyzeNftCollection(nftCollectionInfo)),\n // Hash sources\n PayloadHasher.hashAsync(nftCollectionInfo),\n ])\n return { ...score, schema: NftCollectionScoreSchema, sources: [sourceHash] } as NftCollectionScore\n }),\n )\n return results\n }\n}\n","import { NftCollectionAttributeMetrics } from '@xyo-network/crypto-nft-collection-payload-plugin'\nimport { normalize, Score } from '@xyo-network/crypto-nft-score-model'\n\nconst maxScore = 10\n\nexport const scoreIndividualAttributes = (info: NftCollectionAttributeMetrics): Score => {\n const { attributes } = info.metrics.metadata\n const entries = Object.entries(attributes)\n if (entries.length === 0) return [0, maxScore]\n const scores = Object.entries(attributes)\n .map(([_trait, { values }]) => {\n return Object.entries(values).map<Score>(([_traitValue, metrics]) => {\n const rarity = Math.min(Math.round((1 - metrics.binomial.p) * maxScore), maxScore)\n return [rarity, maxScore]\n })\n })\n .flat()\n const total = scores.reduce<Score>(([a, b], [c, d]) => [a + c, b + d], [0, 0])\n return normalize(total, maxScore)\n}\n","import { NftCollectionAttributeMetrics } from '@xyo-network/crypto-nft-collection-payload-plugin'\nimport { normalize, Score } from '@xyo-network/crypto-nft-score-model'\n\nconst maxScore = 10\n\n/**\n * Mean: What value is the distribution centered around\n */\nconst defaultMu = 0.15\n\n/**\n * Standard Deviation: How spread out is the distribution\n */\nconst defaultSigma = 0.1\n\n/**\n * Calculates the Gaussian probability density\n * @param x\n * @param mu Mean\n * @param sigma Standard Deviation\n * @returns\n */\nconst gaussianProbabilityDensity = (x: number, mu: number = defaultMu, sigma: number = defaultSigma): number => {\n const sqrtTwoPi = Math.sqrt(2 * Math.PI)\n const denominator = sigma * sqrtTwoPi\n const power = -0.5 * Math.pow((x - mu) / sigma, 2)\n return (1 / denominator) * Math.exp(power)\n}\n\n/**\n * For a Gaussian distribution, the peak of the distribution is the mean\n */\nconst maxProbabilityDensity = gaussianProbabilityDensity(defaultMu)\n\n/**\n * We're working on some assumptions here:\n *\n * - If you have a 100% chance of getting a trait, everyone get's a trophy\n * - If you have a 50% chance of getting a trait, it's not rare\n * - If you have a 0% chance of getting a trait, it's not fun\n *\n * So we're looking for something Pareto-ish (somewhere between\n * 80/20 or 90/10) as that's a good & sustainable model for the\n * distribution of many traits in real life.\n * However, we also don't want to maximally reward collections\n * that have a lot of single attributes distributed uniformly\n * (basically a 0% trait probably) as that's perfectly entropic\n * but not very interesting (some overlap is desirable).\n * So we're using a Gaussian distribution to model the\n * probability density of the joint probability of all traits\n * centered around 15%.\n * @param info\n * @returns\n */\nexport const scoreTotalAttributes = (info: NftCollectionAttributeMetrics): Score => {\n const { attributes } = info.metrics.metadata\n // This has somewhat of a filtering function by causing anything with 100% probability to\n // add no value to the end score\n const jointProbability = Object.entries(attributes).reduce((acc, [_trait, { metrics }]) => {\n return acc * metrics.binomial.p\n }, 1)\n const probabilityDensity = gaussianProbabilityDensity(jointProbability)\n const score: Score = [probabilityDensity, maxProbabilityDensity]\n return normalize(score, maxScore)\n}\n","import { NftCollectionInfo } from '@xyo-network/crypto-nft-collection-payload-plugin'\nimport { WeightedScoringCriteria } from '@xyo-network/crypto-nft-score-model'\n\nimport { scoreIndividualAttributes } from './scoreIndividualAttributes'\nimport { scoreTotalAttributes } from './scoreTotalAttributes'\n\nexport const attributeScoringCriteria: { [key: string]: WeightedScoringCriteria<NftCollectionInfo> } = {\n 'Metadata Attributes Individual': { score: scoreIndividualAttributes, weight: 2 },\n 'Metadata Attributes Total': { score: scoreTotalAttributes, weight: 2 },\n}\n\nexport const scoreMetadata: { [key: string]: WeightedScoringCriteria<NftCollectionInfo> } = {\n ...attributeScoringCriteria,\n}\n","import { NftCollectionCount } from '@xyo-network/crypto-nft-collection-payload-plugin'\nimport { normalize, Score } from '@xyo-network/crypto-nft-score-model'\n\n/**\n * This \"magic\" value was obtained using Solver in Excel\n * to find the median, with mu/sigma fixed, which maximizes\n * the distribution (the mode for lognormal) at 10,000\n */\nconst median = 81030839.8217352\nconst defaultMu = Math.log(median)\nconst defaultSigma = 3\nconst mode = Math.exp(defaultMu - Math.pow(defaultSigma, 2))\n/**\n * Calculates the log-normal probability density\n * @param x the value at which you want to calculate the probability density\n * @param mu mean of the associated normal distribution\n * @param sigma standard deviation of the associated normal distribution\n * @returns\n */\nconst logNormalProbabilityDensity = (x: number, mu: number = defaultMu, sigma: number = defaultSigma): number => {\n if (x <= 0) return 0\n const logX = Math.log(x)\n return (1 / (x * sigma * Math.sqrt(2 * Math.PI))) * Math.exp(-0.5 * Math.pow((logX - mu) / sigma, 2))\n}\n\n/**\n * For a lognormal distribution, the peak of the distribution is the mode\n */\nconst maxProbabilityDensity = logNormalProbabilityDensity(mode)\n\nconst maxScore = 10\n\n/**\n * We're working on some assumptions here:\n * - If there's < 1000 NFTs in your collection it starts becoming too niche\n * - If there's > 20,000 NFTs in your collection it starts becoming too broad\n * So there's a sweet spot somewhere between 2000 and 10,000\n * where a collection has enough NFTs to be interesting, but\n * not so many that it's teetering on a diluted money grab.\n * To model that we're using a log-normal distribution optimized\n * to maximally reward collections in the aforementioned range\n * @param nft\n * @returns\n */\nexport const scoreTotal = (nft: NftCollectionCount): Score => {\n const density = logNormalProbabilityDensity(nft.total)\n const score: Score = [density, maxProbabilityDensity]\n return normalize(score, maxScore)\n}\n","import { NftCollectionInfo } from '@xyo-network/crypto-nft-collection-payload-plugin'\nimport { WeightedScoringCriteria } from '@xyo-network/crypto-nft-score-model'\n\nimport { scoreMetadata, scoreTotal } from './scoring'\n\nexport const scoringCriteria: { [key: string]: WeightedScoringCriteria<NftCollectionInfo> } = {\n ...scoreMetadata,\n Total: { score: scoreTotal, weight: 2 },\n}\n","import { NftCollectionInfo } from '@xyo-network/crypto-nft-collection-payload-plugin'\nimport { Score } from '@xyo-network/crypto-nft-score-model'\n\nimport { scoringCriteria } from './criteria'\n\nexport type ScoringCriteriaKey = keyof typeof scoringCriteria & PropertyKey\n\nexport type NftCollectionAnalysis = {\n [key in ScoringCriteriaKey]: Score\n}\n\nexport const analyzeNftCollection = async (\n /**\n * The NFT to evaluate\n */\n nft: NftCollectionInfo,\n): Promise<NftCollectionAnalysis> => {\n const result = Object.fromEntries(\n await Promise.all(\n Object.entries(scoringCriteria).map(async ([key, { score, weight }]) => {\n const rawScore = await score(nft)\n const weighted = rawScore.map((v) => v * weight) as Score\n return [key, weighted] as const\n }),\n ),\n ) as NftCollectionAnalysis\n return result\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,uCAA0B;AAC1B,2BAAiC;AACjC,+BAA8C;;;ACF9C,8BAAgC;AAChC,kDAQO;AAEP,kBAA8B;;;ACV9B,oCAAiC;AAEjC,IAAM,WAAW;AAEV,IAAM,4BAA4B,CAAC,SAA+C;AACvF,QAAM,EAAE,WAAW,IAAI,KAAK,QAAQ;AACpC,QAAM,UAAU,OAAO,QAAQ,UAAU;AACzC,MAAI,QAAQ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