@xyo-network/crypto-contract-function-read-plugin 2.85.0 → 2.85.2
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/dist/browser/Diviner/Diviner.d.cts +3 -1
- package/dist/browser/Diviner/Diviner.d.cts.map +1 -1
- package/dist/browser/Diviner/Diviner.d.mts +3 -1
- package/dist/browser/Diviner/Diviner.d.mts.map +1 -1
- package/dist/browser/Diviner/Diviner.d.ts +3 -1
- package/dist/browser/Diviner/Diviner.d.ts.map +1 -1
- package/dist/browser/Plugin.d.cts +1 -2
- package/dist/browser/Plugin.d.cts.map +1 -1
- package/dist/browser/Plugin.d.mts +1 -2
- package/dist/browser/Plugin.d.mts.map +1 -1
- package/dist/browser/Plugin.d.ts +1 -2
- package/dist/browser/Plugin.d.ts.map +1 -1
- package/dist/browser/Witness.d.cts +2 -0
- package/dist/browser/Witness.d.cts.map +1 -1
- package/dist/browser/Witness.d.mts +2 -0
- package/dist/browser/Witness.d.mts.map +1 -1
- package/dist/browser/Witness.d.ts +2 -0
- package/dist/browser/Witness.d.ts.map +1 -1
- package/dist/browser/index.cjs +70 -72
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +1 -3
- package/dist/browser/index.d.cts.map +1 -1
- package/dist/browser/index.d.mts +1 -3
- package/dist/browser/index.d.mts.map +1 -1
- package/dist/browser/index.d.ts +1 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +73 -75
- package/dist/browser/index.js.map +1 -1
- package/dist/node/Diviner/Diviner.d.cts +3 -1
- package/dist/node/Diviner/Diviner.d.cts.map +1 -1
- package/dist/node/Diviner/Diviner.d.mts +3 -1
- package/dist/node/Diviner/Diviner.d.mts.map +1 -1
- package/dist/node/Diviner/Diviner.d.ts +3 -1
- package/dist/node/Diviner/Diviner.d.ts.map +1 -1
- package/dist/node/Plugin.d.cts +1 -2
- package/dist/node/Plugin.d.cts.map +1 -1
- package/dist/node/Plugin.d.mts +1 -2
- package/dist/node/Plugin.d.mts.map +1 -1
- package/dist/node/Plugin.d.ts +1 -2
- package/dist/node/Plugin.d.ts.map +1 -1
- package/dist/node/Witness.d.cts +2 -0
- package/dist/node/Witness.d.cts.map +1 -1
- package/dist/node/Witness.d.mts +2 -0
- package/dist/node/Witness.d.mts.map +1 -1
- package/dist/node/Witness.d.ts +2 -0
- package/dist/node/Witness.d.ts.map +1 -1
- package/dist/node/index.cjs +73 -75
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +1 -3
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.mts +1 -3
- package/dist/node/index.d.mts.map +1 -1
- package/dist/node/index.d.ts +1 -3
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +76 -78
- package/dist/node/index.js.map +1 -1
- package/package.json +31 -31
- package/src/Diviner/Diviner.ts +7 -2
- package/src/Plugin.ts +2 -0
- package/src/Witness.ts +2 -0
- package/src/index.ts +1 -7
- package/src/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.json +44 -18
- package/src/spec/AddressToContract/Erc721Sentinel.json +7 -7
- package/src/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.json +5 -3
- package/src/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.json +325 -0
- package/src/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.json +118 -28
|
@@ -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.crypto.contract.function.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.crypto.contract.function.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.evm.interface": "Erc721Enumerable"
|
|
226
|
+
},
|
|
227
|
+
"language": "javascript",
|
|
228
|
+
"name": "Erc721TokenByIndexWitness",
|
|
229
|
+
"schema": "network.xyo.crypto.contract.function.read.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
|
+
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"config": {
|
|
54
54
|
"filter": {
|
|
55
55
|
"payload_schemas": [
|
|
56
|
-
"network.xyo.
|
|
56
|
+
"network.xyo.evm.nft.index"
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
59
|
"labels": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"name": "IndexCandidateToIndexDiviner",
|
|
77
77
|
"schema": "network.xyo.diviner.indexing.temporal.stage.indexCandidateToIndexDiviner.config",
|
|
78
78
|
"schemaTransforms": {
|
|
79
|
-
"network.xyo.
|
|
79
|
+
"network.xyo.evm.nft.index": [
|
|
80
80
|
{
|
|
81
81
|
"destinationField": "address",
|
|
82
82
|
"sourcePathExpression": "$.address"
|
|
@@ -84,6 +84,10 @@
|
|
|
84
84
|
{
|
|
85
85
|
"destinationField": "chainId",
|
|
86
86
|
"sourcePathExpression": "$.chainId"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"destinationField": "index",
|
|
90
|
+
"sourcePathExpression": "$.index"
|
|
87
91
|
}
|
|
88
92
|
],
|
|
89
93
|
"network.xyo.timestamp": [
|
|
@@ -146,21 +150,40 @@
|
|
|
146
150
|
},
|
|
147
151
|
{
|
|
148
152
|
"config": {
|
|
149
|
-
"language": "javascript",
|
|
150
153
|
"name": "TimestampWitness",
|
|
151
154
|
"schema": "network.xyo.witness.timestamp.config"
|
|
152
155
|
}
|
|
153
156
|
},
|
|
154
157
|
{
|
|
155
158
|
"config": {
|
|
156
|
-
"language": "javascript",
|
|
157
159
|
"name": "RangeDiviner",
|
|
158
160
|
"schema": "network.xyo.diviner.range.config"
|
|
159
161
|
}
|
|
160
162
|
},
|
|
161
163
|
{
|
|
162
164
|
"config": {
|
|
163
|
-
"
|
|
165
|
+
"name": "InputBufferingDiviner",
|
|
166
|
+
"operations": [
|
|
167
|
+
{
|
|
168
|
+
"op": "test",
|
|
169
|
+
"path": "/schema",
|
|
170
|
+
"value": "network.xyo.crypto.contract.function.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": {
|
|
164
187
|
"name": "TotalSupplyToRangeQueryTransformDiviner",
|
|
165
188
|
"operations": [
|
|
166
189
|
{
|
|
@@ -173,13 +196,24 @@
|
|
|
173
196
|
"path": "/functionName",
|
|
174
197
|
"value": "totalSupply"
|
|
175
198
|
},
|
|
176
|
-
{
|
|
177
|
-
|
|
178
|
-
|
|
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
|
+
},
|
|
179
213
|
{
|
|
180
214
|
"op": "replace",
|
|
181
215
|
"path": "/schema",
|
|
182
|
-
"value": "network.xyo.range
|
|
216
|
+
"value": "network.xyo.range"
|
|
183
217
|
}
|
|
184
218
|
],
|
|
185
219
|
"schema": "network.xyo.diviner.jsonpatch.config"
|
|
@@ -187,7 +221,6 @@
|
|
|
187
221
|
},
|
|
188
222
|
{
|
|
189
223
|
"config": {
|
|
190
|
-
"language": "javascript",
|
|
191
224
|
"name": "RangeToNftIndexTransformDiviner",
|
|
192
225
|
"operations": [
|
|
193
226
|
{
|
|
@@ -195,8 +228,15 @@
|
|
|
195
228
|
"path": "/schema",
|
|
196
229
|
"value": "network.xyo.number"
|
|
197
230
|
},
|
|
198
|
-
{
|
|
199
|
-
|
|
231
|
+
{
|
|
232
|
+
"op": "defined",
|
|
233
|
+
"path": "/value"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"from": "/value",
|
|
237
|
+
"op": "move",
|
|
238
|
+
"path": "/index"
|
|
239
|
+
},
|
|
200
240
|
{
|
|
201
241
|
"op": "replace",
|
|
202
242
|
"path": "/schema",
|
|
@@ -209,8 +249,7 @@
|
|
|
209
249
|
{
|
|
210
250
|
"config": {
|
|
211
251
|
"destinationSchema": "network.xyo.evm.nft.index",
|
|
212
|
-
"
|
|
213
|
-
"name": "NftIndexToNftIndexTransformDiviner",
|
|
252
|
+
"name": "NftIndexPartialToNftIndexTransformDiviner",
|
|
214
253
|
"schemaTransforms": {
|
|
215
254
|
"network.xyo.evm.nft.index": [
|
|
216
255
|
{
|
|
@@ -221,16 +260,63 @@
|
|
|
221
260
|
"destinationField": "schema",
|
|
222
261
|
"sourcePathExpression": "$.schema"
|
|
223
262
|
}
|
|
263
|
+
],
|
|
264
|
+
"network.xyo.crypto.contract.function.call.result": [
|
|
265
|
+
{
|
|
266
|
+
"destinationField": "address",
|
|
267
|
+
"sourcePathExpression": "$.address"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"destinationField": "chainId",
|
|
271
|
+
"sourcePathExpression": "$.chainId"
|
|
272
|
+
}
|
|
224
273
|
]
|
|
225
274
|
},
|
|
226
275
|
"schema": "network.xyo.diviner.jsonpath.aggregate.config"
|
|
227
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
|
+
}
|
|
228
315
|
}
|
|
229
316
|
],
|
|
230
317
|
"public": [
|
|
231
318
|
{
|
|
232
319
|
"config": {
|
|
233
|
-
"language": "javascript",
|
|
234
320
|
"name": "Archivist",
|
|
235
321
|
"schema": "network.xyo.archivist.config",
|
|
236
322
|
"storeQueries": false
|
|
@@ -239,7 +325,6 @@
|
|
|
239
325
|
{
|
|
240
326
|
"config": {
|
|
241
327
|
"archivist": "Archivist",
|
|
242
|
-
"language": "javascript",
|
|
243
328
|
"name": "BoundWitnessDiviner",
|
|
244
329
|
"schema": "network.xyo.diviner.boundwitness.config"
|
|
245
330
|
}
|
|
@@ -247,7 +332,6 @@
|
|
|
247
332
|
{
|
|
248
333
|
"config": {
|
|
249
334
|
"archivist": "Archivist",
|
|
250
|
-
"language": "javascript",
|
|
251
335
|
"name": "PayloadDiviner",
|
|
252
336
|
"schema": "network.xyo.diviner.payload.config"
|
|
253
337
|
}
|
|
@@ -265,7 +349,6 @@
|
|
|
265
349
|
"indexQueryResponseToDivinerQueryResponseDiviner": "IndexQueryResponseToQueryResponseDiviner",
|
|
266
350
|
"stateToIndexCandidateDiviner": "StateToIndexCandidateDiviner"
|
|
267
351
|
},
|
|
268
|
-
"language": "javascript",
|
|
269
352
|
"name": "IndexDiviner",
|
|
270
353
|
"pollFrequency": 1,
|
|
271
354
|
"schema": "network.xyo.diviner.indexing.temporal.config",
|
|
@@ -279,28 +362,35 @@
|
|
|
279
362
|
{
|
|
280
363
|
"config": {
|
|
281
364
|
"archiving": {
|
|
282
|
-
"archivists": [
|
|
365
|
+
"archivists": [
|
|
366
|
+
"Archivist"
|
|
367
|
+
]
|
|
283
368
|
},
|
|
284
|
-
"language": "javascript",
|
|
285
369
|
"name": "Sentinel",
|
|
286
370
|
"schema": "network.xyo.sentinel.config",
|
|
287
371
|
"synchronous": "true",
|
|
288
372
|
"tasks": [
|
|
289
373
|
{
|
|
290
374
|
"input": true,
|
|
291
|
-
"module": "
|
|
375
|
+
"module": "InputBufferingSentinel"
|
|
292
376
|
},
|
|
293
377
|
{
|
|
294
|
-
"input":
|
|
295
|
-
"module": "
|
|
378
|
+
"input": true,
|
|
379
|
+
"module": "TotalSupplyToSlugsSentinel"
|
|
296
380
|
},
|
|
297
381
|
{
|
|
298
|
-
"input": [
|
|
299
|
-
|
|
382
|
+
"input": [
|
|
383
|
+
"InputBufferingSentinel",
|
|
384
|
+
"TotalSupplyToSlugsSentinel"
|
|
385
|
+
],
|
|
386
|
+
"module": "NftIndexPartialToNftIndexTransformDiviner"
|
|
300
387
|
},
|
|
301
388
|
{
|
|
302
|
-
"input": [
|
|
303
|
-
|
|
389
|
+
"input": [
|
|
390
|
+
"InputBufferingSentinel",
|
|
391
|
+
"TotalSupplyToSlugsSentinel"
|
|
392
|
+
],
|
|
393
|
+
"module": "TimestampWitness"
|
|
304
394
|
}
|
|
305
395
|
]
|
|
306
396
|
}
|
|
@@ -310,4 +400,4 @@
|
|
|
310
400
|
}
|
|
311
401
|
],
|
|
312
402
|
"schema": "network.xyo.manifest"
|
|
313
|
-
}
|
|
403
|
+
}
|