@xyo-network/evm-plugins 5.3.2 → 5.3.4

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.
@@ -0,0 +1,10 @@
1
+ export * from '@xyo-network/erc1822-witness';
2
+ export * from '@xyo-network/erc1967-witness';
3
+ export * from '@xyo-network/ethereum-blockchain-plugins';
4
+ export * from '@xyo-network/evm-abi-diviner';
5
+ export * from '@xyo-network/evm-call-witness';
6
+ export * from '@xyo-network/evm-contract-witness';
7
+ import type { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin';
8
+ export declare const EvmPlugins: PayloadSetPluginFunc[];
9
+ export default EvmPlugins;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0CAA0C,CAAA;AACxD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,mCAAmC,CAAA;AAGjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAA;AAE1E,eAAO,MAAM,UAAU,EAAE,oBAAoB,EAAyB,CAAA;AAEtE,eAAe,UAAU,CAAA"}
@@ -0,0 +1,15 @@
1
+ // src/index.ts
2
+ export * from "@xyo-network/erc1822-witness";
3
+ export * from "@xyo-network/erc1967-witness";
4
+ export * from "@xyo-network/ethereum-blockchain-plugins";
5
+ export * from "@xyo-network/evm-abi-diviner";
6
+ export * from "@xyo-network/evm-call-witness";
7
+ export * from "@xyo-network/evm-contract-witness";
8
+ import { EthereumPlugins } from "@xyo-network/ethereum-blockchain-plugins";
9
+ var EvmPlugins = [...EthereumPlugins];
10
+ var index_default = EvmPlugins;
11
+ export {
12
+ EvmPlugins,
13
+ index_default as default
14
+ };
15
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/erc1822-witness'\nexport * from '@xyo-network/erc1967-witness'\nexport * from '@xyo-network/ethereum-blockchain-plugins'\nexport * from '@xyo-network/evm-abi-diviner'\nexport * from '@xyo-network/evm-call-witness'\nexport * from '@xyo-network/evm-contract-witness'\n\nimport { EthereumPlugins } from '@xyo-network/ethereum-blockchain-plugins'\nimport type { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin'\n\nexport const EvmPlugins: PayloadSetPluginFunc[] = [...EthereumPlugins]\n\nexport default EvmPlugins\n"],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,SAAS,uBAAuB;AAGzB,IAAM,aAAqC,CAAC,GAAG,eAAe;AAErE,IAAO,gBAAQ;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/evm-plugins",
3
- "version": "5.3.2",
3
+ "version": "5.3.4",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,25 +30,31 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
33
- "src",
34
- "!**/*.bench.*",
35
- "!**/*.spec.*",
36
- "!**/*.test.*"
33
+ "README.md"
37
34
  ],
35
+ "dependencies": {
36
+ "@xyo-network/erc1822-witness": "~5.3.4",
37
+ "@xyo-network/erc1967-witness": "~5.3.4",
38
+ "@xyo-network/ethereum-blockchain-plugins": "~5.3.4",
39
+ "@xyo-network/evm-abi-diviner": "~5.3.4",
40
+ "@xyo-network/evm-call-witness": "~5.3.4",
41
+ "@xyo-network/evm-contract-witness": "~5.3.4"
42
+ },
38
43
  "devDependencies": {
39
44
  "@xylabs/sdk-js": "^5.0.90",
45
+ "@xylabs/ts-scripts-common": "~7.5.10",
40
46
  "@xylabs/ts-scripts-yarn3": "~7.5.10",
41
47
  "@xylabs/tsconfig": "~7.5.10",
42
48
  "@xylabs/vitest-extended": "~5.0.90",
43
- "@xyo-network/api-call-witness": "5.3.2",
49
+ "@xyo-network/api-call-witness": "5.3.4",
44
50
  "@xyo-network/archivist-memory": "~5.3.5",
45
51
  "@xyo-network/archivist-model": "~5.3.5",
46
52
  "@xyo-network/boundwitness-model": "~5.3.5",
47
- "@xyo-network/crypto-contract-function-read-payload-plugin": "~5.3.2",
48
- "@xyo-network/crypto-nft-payload-plugin": "5.3.2",
53
+ "@xyo-network/crypto-contract-function-read-payload-plugin": "~5.3.4",
54
+ "@xyo-network/crypto-nft-payload-plugin": "5.3.4",
49
55
  "@xyo-network/diviner-abstract": "~5.3.5",
50
56
  "@xyo-network/diviner-boundwitness-memory": "~5.3.5",
51
- "@xyo-network/diviner-evm-call-result-to-token-uri": "5.3.2",
57
+ "@xyo-network/diviner-evm-call-result-to-token-uri": "5.3.4",
52
58
  "@xyo-network/diviner-jsonpatch": "~5.3.5",
53
59
  "@xyo-network/diviner-jsonpatch-memory": "~5.3.5",
54
60
  "@xyo-network/diviner-jsonpath-aggregate-memory": "~5.3.5",
@@ -58,14 +64,8 @@
58
64
  "@xyo-network/diviner-range": "~5.3.5",
59
65
  "@xyo-network/diviner-stateful": "~5.3.5",
60
66
  "@xyo-network/diviner-temporal-indexing": "~5.3.5",
61
- "@xyo-network/erc1822-witness": "5.3.2",
62
- "@xyo-network/erc1967-witness": "5.3.2",
63
- "@xyo-network/ethereum-blockchain-plugins": "5.3.2",
64
- "@xyo-network/evm-abi-diviner": "5.3.2",
65
- "@xyo-network/evm-call-witness": "5.3.2",
66
- "@xyo-network/evm-contract-witness": "5.3.2",
67
- "@xyo-network/evm-nft-id-payload-plugin": "5.3.2",
68
- "@xyo-network/evm-token-interface-diviner": "~5.3.2",
67
+ "@xyo-network/evm-nft-id-payload-plugin": "5.3.4",
68
+ "@xyo-network/evm-token-interface-diviner": "~5.3.4",
69
69
  "@xyo-network/module-factory-locator": "~5.3.5",
70
70
  "@xyo-network/module-model": "~5.3.5",
71
71
  "@xyo-network/node-memory": "~5.3.5",
@@ -88,6 +88,7 @@
88
88
  },
89
89
  "peerDependencies": {
90
90
  "@xylabs/sdk-js": "^5",
91
+ "@xyo-network/payloadset-plugin": "^5",
91
92
  "ethers": "^6",
92
93
  "zod": "^4"
93
94
  },
package/src/index.ts DELETED
@@ -1,13 +0,0 @@
1
- export * from '@xyo-network/erc1822-witness'
2
- export * from '@xyo-network/erc1967-witness'
3
- export * from '@xyo-network/ethereum-blockchain-plugins'
4
- export * from '@xyo-network/evm-abi-diviner'
5
- export * from '@xyo-network/evm-call-witness'
6
- export * from '@xyo-network/evm-contract-witness'
7
-
8
- import { EthereumPlugins } from '@xyo-network/ethereum-blockchain-plugins'
9
- import type { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin'
10
-
11
- export const EvmPlugins: PayloadSetPluginFunc[] = [...EthereumPlugins]
12
-
13
- export default EvmPlugins
@@ -1,271 +0,0 @@
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": [
56
- "network.xyo.evm.nft.metadata.uri"
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.metadata.uri": [
80
- {
81
- "destinationField": "address",
82
- "sourcePathExpression": "$.address"
83
- },
84
- {
85
- "destinationField": "chainId",
86
- "sourcePathExpression": "$.chainId"
87
- },
88
- {
89
- "destinationField": "tokenId",
90
- "sourcePathExpression": "$.tokenId"
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": "tokenId",
126
- "sourcePathExpression": "$.tokenId"
127
- },
128
- {
129
- "defaultValue": 1,
130
- "destinationField": "limit",
131
- "sourcePathExpression": "$.limit"
132
- },
133
- {
134
- "defaultValue": 0,
135
- "destinationField": "offset",
136
- "sourcePathExpression": "$.offset"
137
- },
138
- {
139
- "defaultValue": "desc",
140
- "destinationField": "order",
141
- "sourcePathExpression": "$.order"
142
- }
143
- ]
144
- }
145
- }
146
- },
147
- {
148
- "config": {
149
- "labels": {
150
- "network.xyo.diviner.stage": "indexQueryResponseToDivinerQueryResponseDiviner"
151
- },
152
- "name": "IndexQueryResponseToQueryResponseDiviner",
153
- "schema": "network.xyo.diviner.indexing.temporal.stage.indexQueryResponseToDivinerQueryResponseDiviner.config"
154
- }
155
- },
156
- {
157
- "config": {
158
- "name": "TimestampWitness",
159
- "schema": "network.xyo.witness.timestamp.config"
160
- }
161
- },
162
- {
163
- "config": {
164
- "functionName": "tokenURI",
165
- "labels": {
166
- "network.xyo.evm.interface": "ERC721TokenUri"
167
- },
168
- "name": "Erc721TokenURIWitness",
169
- "schema": "network.xyo.evm.call.witness.config"
170
- }
171
- },
172
- {
173
- "config": {
174
- "name": "EvmCallDiviner",
175
- "schema": "network.xyo.evm.call.diviner.config"
176
- }
177
- },
178
- {
179
- "config": {
180
- "name": "EvmCallResultToNftTokenUriDiviner",
181
- "schema": "network.xyo.evm.call.results.metadata.uri.diviner.config"
182
- }
183
- }
184
- ],
185
- "public": [
186
- {
187
- "config": {
188
- "name": "Archivist",
189
- "schema": "network.xyo.archivist.config",
190
- "storeQueries": false
191
- }
192
- },
193
- {
194
- "config": {
195
- "archivist": "Archivist",
196
- "name": "BoundWitnessDiviner",
197
- "schema": "network.xyo.diviner.boundwitness.config"
198
- }
199
- },
200
- {
201
- "config": {
202
- "archivist": "Archivist",
203
- "name": "PayloadDiviner",
204
- "schema": "network.xyo.diviner.payload.config"
205
- }
206
- },
207
- {
208
- "config": {
209
- "indexStore": {
210
- "archivist": "IndexArchivist",
211
- "boundWitnessDiviner": "IndexBoundWitnessDiviner",
212
- "payloadDiviner": "IndexPayloadDiviner"
213
- },
214
- "indexingDivinerStages": {
215
- "divinerQueryToIndexQueryDiviner": "QueryToIndexQueryDiviner",
216
- "indexCandidateToIndexDiviner": "IndexCandidateToIndexDiviner",
217
- "indexQueryResponseToDivinerQueryResponseDiviner": "IndexQueryResponseToQueryResponseDiviner",
218
- "stateToIndexCandidateDiviner": "StateToIndexCandidateDiviner"
219
- },
220
- "name": "IndexDiviner",
221
- "pollFrequency": 1,
222
- "schema": "network.xyo.diviner.indexing.temporal.config",
223
- "stateStore": {
224
- "archivist": "AddressStateArchivist",
225
- "boundWitnessDiviner": "AddressStateBoundWitnessDiviner",
226
- "payloadDiviner": "AddressStatePayloadDiviner"
227
- }
228
- }
229
- },
230
- {
231
- "config": {
232
- "archiving": {
233
- "archivists": [
234
- "Archivist"
235
- ]
236
- },
237
- "name": "NftTokenUriSentinel",
238
- "schema": "network.xyo.sentinel.config",
239
- "synchronous": "true",
240
- "tasks": [
241
- {
242
- "input": true,
243
- "mod": "Erc721TokenURIWitness"
244
- },
245
- {
246
- "input": [
247
- "Erc721TokenURIWitness"
248
- ],
249
- "mod": "EvmCallDiviner"
250
- },
251
- {
252
- "input": [
253
- "EvmCallDiviner"
254
- ],
255
- "mod": "EvmCallResultToNftTokenUriDiviner"
256
- },
257
- {
258
- "input": [
259
- "EvmCallDiviner"
260
- ],
261
- "mod": "TimestampWitness"
262
- }
263
- ]
264
- }
265
- }
266
- ]
267
- }
268
- }
269
- ],
270
- "schema": "network.xyo.manifest"
271
- }
@@ -1,223 +0,0 @@
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": [
56
- "network.xyo.api.call.result"
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.api.call.result": [
80
- {
81
- "destinationField": "uri",
82
- "sourcePathExpression": "$.call"
83
- }
84
- ],
85
- "network.xyo.timestamp": [
86
- {
87
- "destinationField": "timestamp",
88
- "sourcePathExpression": "$.timestamp"
89
- }
90
- ]
91
- }
92
- }
93
- },
94
- {
95
- "config": {
96
- "divinerQuerySchema": "network.xyo.diviner.payload.query",
97
- "indexQuerySchema": "network.xyo.diviner.payload.query",
98
- "indexSchema": "network.xyo.diviner.indexing.temporal.result.index",
99
- "labels": {
100
- "network.xyo.diviner.stage": "divinerQueryToIndexQueryDiviner"
101
- },
102
- "name": "QueryToIndexQueryDiviner",
103
- "schema": "network.xyo.diviner.indexing.temporal.stage.divinerQueryToIndexQueryDiviner.config",
104
- "schemaTransforms": {
105
- "network.xyo.diviner.payload.query": [
106
- {
107
- "destinationField": "uri",
108
- "sourcePathExpression": "$.uri"
109
- },
110
- {
111
- "defaultValue": 1,
112
- "destinationField": "limit",
113
- "sourcePathExpression": "$.limit"
114
- },
115
- {
116
- "defaultValue": 0,
117
- "destinationField": "offset",
118
- "sourcePathExpression": "$.offset"
119
- },
120
- {
121
- "defaultValue": "desc",
122
- "destinationField": "order",
123
- "sourcePathExpression": "$.order"
124
- }
125
- ]
126
- }
127
- }
128
- },
129
- {
130
- "config": {
131
- "labels": {
132
- "network.xyo.diviner.stage": "indexQueryResponseToDivinerQueryResponseDiviner"
133
- },
134
- "name": "IndexQueryResponseToQueryResponseDiviner",
135
- "schema": "network.xyo.diviner.indexing.temporal.stage.indexQueryResponseToDivinerQueryResponseDiviner.config"
136
- }
137
- },
138
- {
139
- "config": {
140
- "name": "TimestampWitness",
141
- "schema": "network.xyo.witness.timestamp.config"
142
- }
143
- },
144
- {
145
- "config": {
146
- "name": "ApiCallWitness",
147
- "schema": "network.xyo.api.call.witness.config"
148
- }
149
- }
150
- ],
151
- "public": [
152
- {
153
- "config": {
154
- "name": "Archivist",
155
- "schema": "network.xyo.archivist.config",
156
- "storeQueries": false
157
- }
158
- },
159
- {
160
- "config": {
161
- "archivist": "Archivist",
162
- "name": "BoundWitnessDiviner",
163
- "schema": "network.xyo.diviner.boundwitness.config"
164
- }
165
- },
166
- {
167
- "config": {
168
- "archivist": "Archivist",
169
- "name": "PayloadDiviner",
170
- "schema": "network.xyo.diviner.payload.config"
171
- }
172
- },
173
- {
174
- "config": {
175
- "indexStore": {
176
- "archivist": "IndexArchivist",
177
- "boundWitnessDiviner": "IndexBoundWitnessDiviner",
178
- "payloadDiviner": "IndexPayloadDiviner"
179
- },
180
- "indexingDivinerStages": {
181
- "divinerQueryToIndexQueryDiviner": "QueryToIndexQueryDiviner",
182
- "indexCandidateToIndexDiviner": "IndexCandidateToIndexDiviner",
183
- "indexQueryResponseToDivinerQueryResponseDiviner": "IndexQueryResponseToQueryResponseDiviner",
184
- "stateToIndexCandidateDiviner": "StateToIndexCandidateDiviner"
185
- },
186
- "name": "IndexDiviner",
187
- "pollFrequency": 1,
188
- "schema": "network.xyo.diviner.indexing.temporal.config",
189
- "stateStore": {
190
- "archivist": "AddressStateArchivist",
191
- "boundWitnessDiviner": "AddressStateBoundWitnessDiviner",
192
- "payloadDiviner": "AddressStatePayloadDiviner"
193
- }
194
- }
195
- },
196
- {
197
- "config": {
198
- "archiving": {
199
- "archivists": [
200
- "Archivist"
201
- ]
202
- },
203
- "name": "NftMetadataSentinel",
204
- "schema": "network.xyo.sentinel.config",
205
- "synchronous": "true",
206
- "tasks": [
207
- {
208
- "input": true,
209
- "mod": "ApiCallWitness"
210
- },
211
- {
212
- "input": true,
213
- "mod": "TimestampWitness"
214
- }
215
- ]
216
- }
217
- }
218
- ]
219
- }
220
- }
221
- ],
222
- "schema": "network.xyo.manifest"
223
- }