@xyo-network/evm-call-witness 2.84.5 → 2.85.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 (69) hide show
  1. package/dist/browser/Diviner.d.cts +2 -0
  2. package/dist/browser/Diviner.d.cts.map +1 -1
  3. package/dist/browser/Diviner.d.mts +2 -0
  4. package/dist/browser/Diviner.d.mts.map +1 -1
  5. package/dist/browser/Diviner.d.ts +2 -0
  6. package/dist/browser/Diviner.d.ts.map +1 -1
  7. package/dist/browser/Labels.d.cts +12 -0
  8. package/dist/browser/Labels.d.cts.map +1 -0
  9. package/dist/browser/Labels.d.mts +12 -0
  10. package/dist/browser/Labels.d.mts.map +1 -0
  11. package/dist/browser/Labels.d.ts +12 -0
  12. package/dist/browser/Labels.d.ts.map +1 -0
  13. package/dist/browser/Payload.d.cts +1 -0
  14. package/dist/browser/Payload.d.cts.map +1 -1
  15. package/dist/browser/Payload.d.mts +1 -0
  16. package/dist/browser/Payload.d.mts.map +1 -1
  17. package/dist/browser/Payload.d.ts +1 -0
  18. package/dist/browser/Payload.d.ts.map +1 -1
  19. package/dist/browser/index.cjs +17 -6
  20. package/dist/browser/index.cjs.map +1 -1
  21. package/dist/browser/index.d.cts +1 -0
  22. package/dist/browser/index.d.cts.map +1 -1
  23. package/dist/browser/index.d.mts +1 -0
  24. package/dist/browser/index.d.mts.map +1 -1
  25. package/dist/browser/index.d.ts +1 -0
  26. package/dist/browser/index.d.ts.map +1 -1
  27. package/dist/browser/index.js +17 -6
  28. package/dist/browser/index.js.map +1 -1
  29. package/dist/node/Diviner.d.cts +2 -0
  30. package/dist/node/Diviner.d.cts.map +1 -1
  31. package/dist/node/Diviner.d.mts +2 -0
  32. package/dist/node/Diviner.d.mts.map +1 -1
  33. package/dist/node/Diviner.d.ts +2 -0
  34. package/dist/node/Diviner.d.ts.map +1 -1
  35. package/dist/node/Labels.d.cts +12 -0
  36. package/dist/node/Labels.d.cts.map +1 -0
  37. package/dist/node/Labels.d.mts +12 -0
  38. package/dist/node/Labels.d.mts.map +1 -0
  39. package/dist/node/Labels.d.ts +12 -0
  40. package/dist/node/Labels.d.ts.map +1 -0
  41. package/dist/node/Payload.d.cts +1 -0
  42. package/dist/node/Payload.d.cts.map +1 -1
  43. package/dist/node/Payload.d.mts +1 -0
  44. package/dist/node/Payload.d.mts.map +1 -1
  45. package/dist/node/Payload.d.ts +1 -0
  46. package/dist/node/Payload.d.ts.map +1 -1
  47. package/dist/node/index.cjs +19 -6
  48. package/dist/node/index.cjs.map +1 -1
  49. package/dist/node/index.d.cts +1 -0
  50. package/dist/node/index.d.cts.map +1 -1
  51. package/dist/node/index.d.mts +1 -0
  52. package/dist/node/index.d.mts.map +1 -1
  53. package/dist/node/index.d.ts +1 -0
  54. package/dist/node/index.d.ts.map +1 -1
  55. package/dist/node/index.js +17 -6
  56. package/dist/node/index.js.map +1 -1
  57. package/package.json +23 -23
  58. package/src/Diviner.ts +6 -1
  59. package/src/Labels.ts +15 -0
  60. package/src/Payload.ts +3 -1
  61. package/src/Witness.ts +1 -1
  62. package/src/index.ts +1 -0
  63. package/src/spec/imported/AddressToContract/AddressToContractIndex/Contract.Sentinel.Erc1155.Index.json +191 -0
  64. package/src/spec/imported/AddressToContract/AddressToContractIndex/Contract.Sentinel.Erc721.Index.json +191 -0
  65. package/src/spec/imported/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.json +279 -0
  66. package/src/spec/imported/AddressToContract/Erc721Sentinel.json +165 -0
  67. package/src/spec/imported/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.json +242 -0
  68. package/src/spec/imported/NftIndexToNftIdIndex/Erc721.NftId.Index.json +325 -0
  69. package/src/spec/imported/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.json +403 -0
@@ -0,0 +1,403 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/XYOracleNetwork/sdk-xyo-client-js/main/packages/manifest/src/schema.json",
3
+ "nodes": [
4
+ {
5
+ "config": {
6
+ "name": "Info",
7
+ "schema": "network.xyo.node.config"
8
+ },
9
+ "modules": {
10
+ "private": [
11
+ {
12
+ "config": {
13
+ "name": "AddressStateArchivist",
14
+ "schema": "network.xyo.archivist.config",
15
+ "storeQueries": false
16
+ }
17
+ },
18
+ {
19
+ "config": {
20
+ "archivist": "AddressStateArchivist",
21
+ "name": "AddressStateBoundWitnessDiviner",
22
+ "schema": "network.xyo.diviner.boundwitness.config"
23
+ }
24
+ },
25
+ {
26
+ "config": {
27
+ "archivist": "AddressStateArchivist",
28
+ "name": "AddressStatePayloadDiviner",
29
+ "schema": "network.xyo.diviner.payload.config"
30
+ }
31
+ },
32
+ {
33
+ "config": {
34
+ "name": "IndexArchivist",
35
+ "schema": "network.xyo.archivist.config"
36
+ }
37
+ },
38
+ {
39
+ "config": {
40
+ "archivist": "IndexArchivist",
41
+ "name": "IndexBoundWitnessDiviner",
42
+ "schema": "network.xyo.diviner.boundwitness.config"
43
+ }
44
+ },
45
+ {
46
+ "config": {
47
+ "archivist": "IndexArchivist",
48
+ "name": "IndexPayloadDiviner",
49
+ "schema": "network.xyo.diviner.payload.config"
50
+ }
51
+ },
52
+ {
53
+ "config": {
54
+ "filter": {
55
+ "payload_schemas": [
56
+ "network.xyo.evm.nft.index"
57
+ ]
58
+ },
59
+ "labels": {
60
+ "network.xyo.diviner.stage": "stateToIndexCandidateDiviner"
61
+ },
62
+ "name": "StateToIndexCandidateDiviner",
63
+ "payloadStore": {
64
+ "archivist": "Archivist",
65
+ "boundWitnessDiviner": "BoundWitnessDiviner",
66
+ "payloadDiviner": "PayloadDiviner"
67
+ },
68
+ "schema": "network.xyo.diviner.indexing.temporal.stage.stateToIndexCandidateDiviner.config"
69
+ }
70
+ },
71
+ {
72
+ "config": {
73
+ "labels": {
74
+ "network.xyo.diviner.stage": "indexCandidateToIndexDiviner"
75
+ },
76
+ "name": "IndexCandidateToIndexDiviner",
77
+ "schema": "network.xyo.diviner.indexing.temporal.stage.indexCandidateToIndexDiviner.config",
78
+ "schemaTransforms": {
79
+ "network.xyo.evm.nft.index": [
80
+ {
81
+ "destinationField": "address",
82
+ "sourcePathExpression": "$.address"
83
+ },
84
+ {
85
+ "destinationField": "chainId",
86
+ "sourcePathExpression": "$.chainId"
87
+ },
88
+ {
89
+ "destinationField": "index",
90
+ "sourcePathExpression": "$.index"
91
+ }
92
+ ],
93
+ "network.xyo.timestamp": [
94
+ {
95
+ "destinationField": "timestamp",
96
+ "sourcePathExpression": "$.timestamp"
97
+ }
98
+ ]
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "config": {
104
+ "divinerQuerySchema": "network.xyo.diviner.payload.query",
105
+ "indexQuerySchema": "network.xyo.diviner.payload.query",
106
+ "indexSchema": "network.xyo.diviner.indexing.temporal.result.index",
107
+ "labels": {
108
+ "network.xyo.diviner.stage": "divinerQueryToIndexQueryDiviner"
109
+ },
110
+ "name": "QueryToIndexQueryDiviner",
111
+ "schema": "network.xyo.diviner.indexing.temporal.stage.divinerQueryToIndexQueryDiviner.config",
112
+ "schemaTransforms": {
113
+ "network.xyo.diviner.payload.query": [
114
+ {
115
+ "destinationField": "address",
116
+ "sourcePathExpression": "$.address"
117
+ },
118
+ {
119
+ "defaultValue": 1,
120
+ "destinationField": "chainId",
121
+ "sourcePathExpression": "$.chainId"
122
+ },
123
+ {
124
+ "defaultValue": 1,
125
+ "destinationField": "limit",
126
+ "sourcePathExpression": "$.limit"
127
+ },
128
+ {
129
+ "defaultValue": 0,
130
+ "destinationField": "offset",
131
+ "sourcePathExpression": "$.offset"
132
+ },
133
+ {
134
+ "defaultValue": "desc",
135
+ "destinationField": "order",
136
+ "sourcePathExpression": "$.order"
137
+ }
138
+ ]
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "config": {
144
+ "labels": {
145
+ "network.xyo.diviner.stage": "indexQueryResponseToDivinerQueryResponseDiviner"
146
+ },
147
+ "name": "IndexQueryResponseToQueryResponseDiviner",
148
+ "schema": "network.xyo.diviner.indexing.temporal.stage.indexQueryResponseToDivinerQueryResponseDiviner.config"
149
+ }
150
+ },
151
+ {
152
+ "config": {
153
+ "name": "TimestampWitness",
154
+ "schema": "network.xyo.witness.timestamp.config"
155
+ }
156
+ },
157
+ {
158
+ "config": {
159
+ "name": "RangeDiviner",
160
+ "schema": "network.xyo.diviner.range.config"
161
+ }
162
+ },
163
+ {
164
+ "config": {
165
+ "name": "InputBufferingDiviner",
166
+ "operations": [
167
+ {
168
+ "op": "test",
169
+ "path": "/schema",
170
+ "value": "network.xyo.evm.call.result"
171
+ },
172
+ {
173
+ "op": "test",
174
+ "path": "/functionName",
175
+ "value": "totalSupply"
176
+ },
177
+ {
178
+ "op": "defined",
179
+ "path": "/result"
180
+ }
181
+ ],
182
+ "schema": "network.xyo.diviner.jsonpatch.config"
183
+ }
184
+ },
185
+ {
186
+ "config": {
187
+ "name": "TotalSupplyToRangeQueryTransformDiviner",
188
+ "operations": [
189
+ {
190
+ "op": "test",
191
+ "path": "/schema",
192
+ "value": "network.xyo.evm.call.result"
193
+ },
194
+ {
195
+ "op": "test",
196
+ "path": "/functionName",
197
+ "value": "totalSupply"
198
+ },
199
+ {
200
+ "op": "defined",
201
+ "path": "/result"
202
+ },
203
+ {
204
+ "op": "add",
205
+ "path": "/start",
206
+ "value": 0
207
+ },
208
+ {
209
+ "from": "/result",
210
+ "op": "move",
211
+ "path": "/count"
212
+ },
213
+ {
214
+ "op": "replace",
215
+ "path": "/schema",
216
+ "value": "network.xyo.range"
217
+ }
218
+ ],
219
+ "schema": "network.xyo.diviner.jsonpatch.config"
220
+ }
221
+ },
222
+ {
223
+ "config": {
224
+ "name": "RangeToNftIndexTransformDiviner",
225
+ "operations": [
226
+ {
227
+ "op": "test",
228
+ "path": "/schema",
229
+ "value": "network.xyo.number"
230
+ },
231
+ {
232
+ "op": "defined",
233
+ "path": "/value"
234
+ },
235
+ {
236
+ "from": "/value",
237
+ "op": "move",
238
+ "path": "/index"
239
+ },
240
+ {
241
+ "op": "replace",
242
+ "path": "/schema",
243
+ "value": "network.xyo.evm.nft.index"
244
+ }
245
+ ],
246
+ "schema": "network.xyo.diviner.jsonpatch.config"
247
+ }
248
+ },
249
+ {
250
+ "config": {
251
+ "destinationSchema": "network.xyo.evm.nft.index",
252
+ "name": "NftIndexPartialToNftIndexTransformDiviner",
253
+ "schemaTransforms": {
254
+ "network.xyo.evm.nft.index": [
255
+ {
256
+ "destinationField": "index",
257
+ "sourcePathExpression": "$.index"
258
+ },
259
+ {
260
+ "destinationField": "schema",
261
+ "sourcePathExpression": "$.schema"
262
+ }
263
+ ],
264
+ "network.xyo.evm.call.result": [
265
+ {
266
+ "destinationField": "address",
267
+ "sourcePathExpression": "$.address"
268
+ },
269
+ {
270
+ "destinationField": "chainId",
271
+ "sourcePathExpression": "$.chainId"
272
+ }
273
+ ]
274
+ },
275
+ "schema": "network.xyo.diviner.jsonpath.aggregate.config"
276
+ }
277
+ },
278
+ {
279
+ "config": {
280
+ "name": "InputBufferingSentinel",
281
+ "schema": "network.xyo.sentinel.config",
282
+ "synchronous": "true",
283
+ "tasks": [
284
+ {
285
+ "input": true,
286
+ "module": "InputBufferingDiviner"
287
+ }
288
+ ]
289
+ }
290
+ },
291
+ {
292
+ "config": {
293
+ "name": "TotalSupplyToSlugsSentinel",
294
+ "schema": "network.xyo.sentinel.config",
295
+ "synchronous": "true",
296
+ "tasks": [
297
+ {
298
+ "input": true,
299
+ "module": "TotalSupplyToRangeQueryTransformDiviner"
300
+ },
301
+ {
302
+ "input": [
303
+ "TotalSupplyToRangeQueryTransformDiviner"
304
+ ],
305
+ "module": "RangeDiviner"
306
+ },
307
+ {
308
+ "input": [
309
+ "RangeDiviner"
310
+ ],
311
+ "module": "RangeToNftIndexTransformDiviner"
312
+ }
313
+ ]
314
+ }
315
+ }
316
+ ],
317
+ "public": [
318
+ {
319
+ "config": {
320
+ "name": "Archivist",
321
+ "schema": "network.xyo.archivist.config",
322
+ "storeQueries": false
323
+ }
324
+ },
325
+ {
326
+ "config": {
327
+ "archivist": "Archivist",
328
+ "name": "BoundWitnessDiviner",
329
+ "schema": "network.xyo.diviner.boundwitness.config"
330
+ }
331
+ },
332
+ {
333
+ "config": {
334
+ "archivist": "Archivist",
335
+ "name": "PayloadDiviner",
336
+ "schema": "network.xyo.diviner.payload.config"
337
+ }
338
+ },
339
+ {
340
+ "config": {
341
+ "indexStore": {
342
+ "archivist": "IndexArchivist",
343
+ "boundWitnessDiviner": "IndexBoundWitnessDiviner",
344
+ "payloadDiviner": "IndexPayloadDiviner"
345
+ },
346
+ "indexingDivinerStages": {
347
+ "divinerQueryToIndexQueryDiviner": "QueryToIndexQueryDiviner",
348
+ "indexCandidateToIndexDiviner": "IndexCandidateToIndexDiviner",
349
+ "indexQueryResponseToDivinerQueryResponseDiviner": "IndexQueryResponseToQueryResponseDiviner",
350
+ "stateToIndexCandidateDiviner": "StateToIndexCandidateDiviner"
351
+ },
352
+ "name": "IndexDiviner",
353
+ "pollFrequency": 1,
354
+ "schema": "network.xyo.diviner.indexing.temporal.config",
355
+ "stateStore": {
356
+ "archivist": "AddressStateArchivist",
357
+ "boundWitnessDiviner": "AddressStateBoundWitnessDiviner",
358
+ "payloadDiviner": "AddressStatePayloadDiviner"
359
+ }
360
+ }
361
+ },
362
+ {
363
+ "config": {
364
+ "archiving": {
365
+ "archivists": [
366
+ "Archivist"
367
+ ]
368
+ },
369
+ "name": "Sentinel",
370
+ "schema": "network.xyo.sentinel.config",
371
+ "synchronous": "true",
372
+ "tasks": [
373
+ {
374
+ "input": true,
375
+ "module": "InputBufferingSentinel"
376
+ },
377
+ {
378
+ "input": true,
379
+ "module": "TotalSupplyToSlugsSentinel"
380
+ },
381
+ {
382
+ "input": [
383
+ "InputBufferingSentinel",
384
+ "TotalSupplyToSlugsSentinel"
385
+ ],
386
+ "module": "NftIndexPartialToNftIndexTransformDiviner"
387
+ },
388
+ {
389
+ "input": [
390
+ "InputBufferingSentinel",
391
+ "TotalSupplyToSlugsSentinel"
392
+ ],
393
+ "module": "TimestampWitness"
394
+ }
395
+ ]
396
+ }
397
+ }
398
+ ]
399
+ }
400
+ }
401
+ ],
402
+ "schema": "network.xyo.manifest"
403
+ }