@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,325 @@
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"
171
+ },
172
+ {
173
+ "op": "test",
174
+ "path": "/functionName",
175
+ "value": "tokenByIndex"
176
+ },
177
+ {
178
+ "op": "defined",
179
+ "path": "/address"
180
+ }
181
+ ],
182
+ "schema": "network.xyo.diviner.jsonpatch.config"
183
+ }
184
+ },
185
+ {
186
+ "config": {
187
+ "destinationSchema": "network.xyo.evm.nft.id",
188
+ "name": "NftIdPartialToNftIdTransformDiviner",
189
+ "schemaTransforms": {
190
+ "network.xyo.evm.call.result": [
191
+ {
192
+ "destinationField": "address",
193
+ "sourcePathExpression": "$.address"
194
+ },
195
+ {
196
+ "destinationField": "chainId",
197
+ "sourcePathExpression": "$.chainId"
198
+ },
199
+ {
200
+ "destinationField": "tokenId",
201
+ "sourcePathExpression": "$.result"
202
+ }
203
+ ]
204
+ },
205
+ "schema": "network.xyo.diviner.jsonpath.aggregate.config"
206
+ }
207
+ },
208
+ {
209
+ "config": {
210
+ "name": "InputBufferingSentinel",
211
+ "schema": "network.xyo.sentinel.config",
212
+ "synchronous": "true",
213
+ "tasks": [
214
+ {
215
+ "input": true,
216
+ "module": "InputBufferingDiviner"
217
+ }
218
+ ]
219
+ }
220
+ },
221
+ {
222
+ "config": {
223
+ "functionName": "tokenByIndex",
224
+ "labels": {
225
+ "network.xyo.crypto.contract.interface": "Erc721Enumerable"
226
+ },
227
+ "language": "javascript",
228
+ "name": "Erc721TokenByIndexWitness",
229
+ "schema": "network.xyo.evm.call.witness.config"
230
+ }
231
+ },
232
+ {
233
+ "config": {
234
+ "archiving": {
235
+ "archivists": [
236
+ "Archivist"
237
+ ]
238
+ },
239
+ "name": "TokenIndexToTokenIdSentinel",
240
+ "schema": "network.xyo.sentinel.config",
241
+ "synchronous": "true",
242
+ "tasks": [
243
+ {
244
+ "input": true,
245
+ "module": "Erc721TokenByIndexWitness"
246
+ }
247
+ ]
248
+ }
249
+ }
250
+ ],
251
+ "public": [
252
+ {
253
+ "config": {
254
+ "name": "Archivist",
255
+ "schema": "network.xyo.archivist.config",
256
+ "storeQueries": false
257
+ }
258
+ },
259
+ {
260
+ "config": {
261
+ "archivist": "Archivist",
262
+ "name": "BoundWitnessDiviner",
263
+ "schema": "network.xyo.diviner.boundwitness.config"
264
+ }
265
+ },
266
+ {
267
+ "config": {
268
+ "archivist": "Archivist",
269
+ "name": "PayloadDiviner",
270
+ "schema": "network.xyo.diviner.payload.config"
271
+ }
272
+ },
273
+ {
274
+ "config": {
275
+ "indexStore": {
276
+ "archivist": "IndexArchivist",
277
+ "boundWitnessDiviner": "IndexBoundWitnessDiviner",
278
+ "payloadDiviner": "IndexPayloadDiviner"
279
+ },
280
+ "indexingDivinerStages": {
281
+ "divinerQueryToIndexQueryDiviner": "QueryToIndexQueryDiviner",
282
+ "indexCandidateToIndexDiviner": "IndexCandidateToIndexDiviner",
283
+ "indexQueryResponseToDivinerQueryResponseDiviner": "IndexQueryResponseToQueryResponseDiviner",
284
+ "stateToIndexCandidateDiviner": "StateToIndexCandidateDiviner"
285
+ },
286
+ "name": "IndexDiviner",
287
+ "pollFrequency": 1,
288
+ "schema": "network.xyo.diviner.indexing.temporal.config",
289
+ "stateStore": {
290
+ "archivist": "AddressStateArchivist",
291
+ "boundWitnessDiviner": "AddressStateBoundWitnessDiviner",
292
+ "payloadDiviner": "AddressStatePayloadDiviner"
293
+ }
294
+ }
295
+ },
296
+ {
297
+ "config": {
298
+ "archiving": {
299
+ "archivists": [
300
+ "Archivist"
301
+ ]
302
+ },
303
+ "name": "Sentinel",
304
+ "schema": "network.xyo.sentinel.config",
305
+ "synchronous": "true",
306
+ "tasks": [
307
+ {
308
+ "input": true,
309
+ "module": "Erc721TokenByIndexWitness"
310
+ },
311
+ {
312
+ "input": [
313
+ "Erc721TokenByIndexWitness"
314
+ ],
315
+ "module": "NftIdPartialToNftIdTransformDiviner"
316
+ }
317
+ ]
318
+ }
319
+ }
320
+ ]
321
+ }
322
+ }
323
+ ],
324
+ "schema": "network.xyo.manifest"
325
+ }