@xyo-network/evm-plugins 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/package.json
CHANGED
|
@@ -10,17 +10,36 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/erc1822-witness": "~2.85.
|
|
14
|
-
"@xyo-network/erc1967-witness": "~2.85.
|
|
15
|
-
"@xyo-network/ethereum-blockchain-plugins": "~2.85.
|
|
16
|
-
"@xyo-network/evm-abi-diviner": "~2.85.
|
|
17
|
-
"@xyo-network/evm-call-witness": "~2.85.
|
|
18
|
-
"@xyo-network/evm-contract-witness": "~2.85.
|
|
19
|
-
"@xyo-network/payloadset-plugin": "^2.85.
|
|
13
|
+
"@xyo-network/erc1822-witness": "~2.85.2",
|
|
14
|
+
"@xyo-network/erc1967-witness": "~2.85.2",
|
|
15
|
+
"@xyo-network/ethereum-blockchain-plugins": "~2.85.2",
|
|
16
|
+
"@xyo-network/evm-abi-diviner": "~2.85.2",
|
|
17
|
+
"@xyo-network/evm-call-witness": "~2.85.2",
|
|
18
|
+
"@xyo-network/evm-contract-witness": "~2.85.2",
|
|
19
|
+
"@xyo-network/payloadset-plugin": "^2.85.8"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"@xylabs/delay": "^2.13.23",
|
|
23
|
+
"@xylabs/jest-helpers": "^2.13.23",
|
|
22
24
|
"@xylabs/ts-scripts-yarn3": "^3.2.25",
|
|
23
25
|
"@xylabs/tsconfig": "^3.2.25",
|
|
26
|
+
"@xyo-network/account": "^2.85.8",
|
|
27
|
+
"@xyo-network/diviner-boundwitness-memory": "^2.85.8",
|
|
28
|
+
"@xyo-network/diviner-evm-call-result-to-token-uri": "~2.85.2",
|
|
29
|
+
"@xyo-network/diviner-model": "^2.85.8",
|
|
30
|
+
"@xyo-network/diviner-payload-memory": "^2.85.8",
|
|
31
|
+
"@xyo-network/diviner-payload-model": "^2.85.8",
|
|
32
|
+
"@xyo-network/diviner-temporal-indexing": "^2.85.8",
|
|
33
|
+
"@xyo-network/evm-nft-id-payload-plugin": "~2.85.2",
|
|
34
|
+
"@xyo-network/manifest": "^2.85.8",
|
|
35
|
+
"@xyo-network/module-model": "^2.85.8",
|
|
36
|
+
"@xyo-network/node-memory": "^2.85.8",
|
|
37
|
+
"@xyo-network/open-zeppelin-typechain": "^3.0.5",
|
|
38
|
+
"@xyo-network/payload-model": "^2.85.8",
|
|
39
|
+
"@xyo-network/sentinel-model": "^2.85.8",
|
|
40
|
+
"@xyo-network/witness-evm-abstract": "^2.85.8",
|
|
41
|
+
"@xyo-network/witness-timestamp": "^2.85.8",
|
|
42
|
+
"jest": "^29.7.0",
|
|
24
43
|
"typescript": "^5.3.3"
|
|
25
44
|
},
|
|
26
45
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
@@ -62,6 +81,6 @@
|
|
|
62
81
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
63
82
|
},
|
|
64
83
|
"sideEffects": false,
|
|
65
|
-
"version": "2.85.
|
|
84
|
+
"version": "2.85.2",
|
|
66
85
|
"type": "module"
|
|
67
86
|
}
|
|
@@ -0,0 +1,261 @@
|
|
|
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": "NftTokenUriNode",
|
|
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": ["network.xyo.evm.nft.metadata.uri"]
|
|
56
|
+
},
|
|
57
|
+
"labels": {
|
|
58
|
+
"network.xyo.diviner.stage": "stateToIndexCandidateDiviner"
|
|
59
|
+
},
|
|
60
|
+
"name": "StateToIndexCandidateDiviner",
|
|
61
|
+
"payloadStore": {
|
|
62
|
+
"archivist": "Archivist",
|
|
63
|
+
"boundWitnessDiviner": "BoundWitnessDiviner",
|
|
64
|
+
"payloadDiviner": "PayloadDiviner"
|
|
65
|
+
},
|
|
66
|
+
"schema": "network.xyo.diviner.indexing.temporal.stage.stateToIndexCandidateDiviner.config"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"config": {
|
|
71
|
+
"labels": {
|
|
72
|
+
"network.xyo.diviner.stage": "indexCandidateToIndexDiviner"
|
|
73
|
+
},
|
|
74
|
+
"name": "IndexCandidateToIndexDiviner",
|
|
75
|
+
"schema": "network.xyo.diviner.indexing.temporal.stage.indexCandidateToIndexDiviner.config",
|
|
76
|
+
"schemaTransforms": {
|
|
77
|
+
"network.xyo.evm.nft.metadata.uri": [
|
|
78
|
+
{
|
|
79
|
+
"destinationField": "address",
|
|
80
|
+
"sourcePathExpression": "$.address"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"destinationField": "chainId",
|
|
84
|
+
"sourcePathExpression": "$.chainId"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"destinationField": "tokenId",
|
|
88
|
+
"sourcePathExpression": "$.tokenId"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"network.xyo.timestamp": [
|
|
92
|
+
{
|
|
93
|
+
"destinationField": "timestamp",
|
|
94
|
+
"sourcePathExpression": "$.timestamp"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"config": {
|
|
102
|
+
"divinerQuerySchema": "network.xyo.diviner.payload.query",
|
|
103
|
+
"indexQuerySchema": "network.xyo.diviner.payload.query",
|
|
104
|
+
"indexSchema": "network.xyo.diviner.indexing.temporal.result.index",
|
|
105
|
+
"labels": {
|
|
106
|
+
"network.xyo.diviner.stage": "divinerQueryToIndexQueryDiviner"
|
|
107
|
+
},
|
|
108
|
+
"name": "QueryToIndexQueryDiviner",
|
|
109
|
+
"schema": "network.xyo.diviner.indexing.temporal.stage.divinerQueryToIndexQueryDiviner.config",
|
|
110
|
+
"schemaTransforms": {
|
|
111
|
+
"network.xyo.diviner.payload.query": [
|
|
112
|
+
{
|
|
113
|
+
"destinationField": "address",
|
|
114
|
+
"sourcePathExpression": "$.address"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"defaultValue": 1,
|
|
118
|
+
"destinationField": "chainId",
|
|
119
|
+
"sourcePathExpression": "$.chainId"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"defaultValue": 1,
|
|
123
|
+
"destinationField": "tokenId",
|
|
124
|
+
"sourcePathExpression": "$.tokenId"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"defaultValue": 1,
|
|
128
|
+
"destinationField": "limit",
|
|
129
|
+
"sourcePathExpression": "$.limit"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"defaultValue": 0,
|
|
133
|
+
"destinationField": "offset",
|
|
134
|
+
"sourcePathExpression": "$.offset"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"defaultValue": "desc",
|
|
138
|
+
"destinationField": "order",
|
|
139
|
+
"sourcePathExpression": "$.order"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"config": {
|
|
147
|
+
"labels": {
|
|
148
|
+
"network.xyo.diviner.stage": "indexQueryResponseToDivinerQueryResponseDiviner"
|
|
149
|
+
},
|
|
150
|
+
"name": "IndexQueryResponseToQueryResponseDiviner",
|
|
151
|
+
"schema": "network.xyo.diviner.indexing.temporal.stage.indexQueryResponseToDivinerQueryResponseDiviner.config"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"config": {
|
|
156
|
+
"name": "TimestampWitness",
|
|
157
|
+
"schema": "network.xyo.witness.timestamp.config"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"config": {
|
|
162
|
+
"functionName": "tokenURI",
|
|
163
|
+
"labels": {
|
|
164
|
+
"network.xyo.evm.interface": "ERC721TokenUri"
|
|
165
|
+
},
|
|
166
|
+
"name": "Erc721TokenURIWitness",
|
|
167
|
+
"schema": "network.xyo.evm.call.witness.config"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"config": {
|
|
172
|
+
"name": "EvmCallDiviner",
|
|
173
|
+
"schema": "network.xyo.evm.call.diviner.config"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"config": {
|
|
178
|
+
"name": "EvmCallResultToNftTokenUriDiviner",
|
|
179
|
+
"schema": "network.xyo.evm.call.results.metadata.uri.diviner.config"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"public": [
|
|
184
|
+
{
|
|
185
|
+
"config": {
|
|
186
|
+
"name": "Archivist",
|
|
187
|
+
"schema": "network.xyo.archivist.config",
|
|
188
|
+
"storeQueries": false
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"config": {
|
|
193
|
+
"archivist": "Archivist",
|
|
194
|
+
"name": "BoundWitnessDiviner",
|
|
195
|
+
"schema": "network.xyo.diviner.boundwitness.config"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"config": {
|
|
200
|
+
"archivist": "Archivist",
|
|
201
|
+
"name": "PayloadDiviner",
|
|
202
|
+
"schema": "network.xyo.diviner.payload.config"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"config": {
|
|
207
|
+
"indexStore": {
|
|
208
|
+
"archivist": "IndexArchivist",
|
|
209
|
+
"boundWitnessDiviner": "IndexBoundWitnessDiviner",
|
|
210
|
+
"payloadDiviner": "IndexPayloadDiviner"
|
|
211
|
+
},
|
|
212
|
+
"indexingDivinerStages": {
|
|
213
|
+
"divinerQueryToIndexQueryDiviner": "QueryToIndexQueryDiviner",
|
|
214
|
+
"indexCandidateToIndexDiviner": "IndexCandidateToIndexDiviner",
|
|
215
|
+
"indexQueryResponseToDivinerQueryResponseDiviner": "IndexQueryResponseToQueryResponseDiviner",
|
|
216
|
+
"stateToIndexCandidateDiviner": "StateToIndexCandidateDiviner"
|
|
217
|
+
},
|
|
218
|
+
"name": "IndexDiviner",
|
|
219
|
+
"pollFrequency": 1,
|
|
220
|
+
"schema": "network.xyo.diviner.indexing.temporal.config",
|
|
221
|
+
"stateStore": {
|
|
222
|
+
"archivist": "AddressStateArchivist",
|
|
223
|
+
"boundWitnessDiviner": "AddressStateBoundWitnessDiviner",
|
|
224
|
+
"payloadDiviner": "AddressStatePayloadDiviner"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"config": {
|
|
230
|
+
"archiving": {
|
|
231
|
+
"archivists": ["Archivist"]
|
|
232
|
+
},
|
|
233
|
+
"name": "NftTokenUriSentinel",
|
|
234
|
+
"schema": "network.xyo.sentinel.config",
|
|
235
|
+
"synchronous": "true",
|
|
236
|
+
"tasks": [
|
|
237
|
+
{
|
|
238
|
+
"input": true,
|
|
239
|
+
"module": "Erc721TokenURIWitness"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"input": ["Erc721TokenURIWitness"],
|
|
243
|
+
"module": "EvmCallDiviner"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"input": ["EvmCallDiviner"],
|
|
247
|
+
"module": "EvmCallResultToNftTokenUriDiviner"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"input": ["EvmCallDiviner"],
|
|
251
|
+
"module": "TimestampWitness"
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"schema": "network.xyo.manifest"
|
|
261
|
+
}
|