@xyo-network/evm-abi-diviner 4.1.1 → 4.2.0
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/neutral/index.d.ts +3 -32
- package/package.json +11 -12
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
-
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
6
|
-
import { Fragment, JsonFragment } from 'ethers';
|
|
7
|
-
|
|
8
|
-
type InterfaceAbi = string | ReadonlyArray<Fragment | JsonFragment | string>;
|
|
9
|
-
declare const EvmFunctionImplementedSchema = "network.xyo.evm.function.implemented";
|
|
10
|
-
type EvmFunctionImplementedSchema = typeof EvmFunctionImplementedSchema;
|
|
11
|
-
type EvmFunctionImplemented = Payload<{
|
|
12
|
-
address: string;
|
|
13
|
-
implemented: boolean;
|
|
14
|
-
selector: string;
|
|
15
|
-
}, EvmFunctionImplementedSchema>;
|
|
16
|
-
|
|
17
|
-
declare const EvmAbiImplementedDivinerConfigSchema = "network.xyo.evm.abi.implemented.diviner.config";
|
|
18
|
-
type EvmAbiImplementedDivinerConfigSchema = typeof EvmAbiImplementedDivinerConfigSchema;
|
|
19
|
-
type EvmAbiImplementedDivinerConfig = DivinerConfig<{
|
|
20
|
-
abi?: InterfaceAbi;
|
|
21
|
-
schema: EvmAbiImplementedDivinerConfigSchema;
|
|
22
|
-
}>;
|
|
23
|
-
type EvmAbiImplementedDivinerParams = DivinerParams<AnyConfigSchema<EvmAbiImplementedDivinerConfig>>;
|
|
24
|
-
declare class EvmAbiImplementedDiviner<TParams extends EvmAbiImplementedDivinerParams = EvmAbiImplementedDivinerParams> extends AbstractDiviner<TParams, EvmContract, EvmFunctionImplemented> {
|
|
25
|
-
static readonly configSchemas: Schema[];
|
|
26
|
-
static readonly defaultConfigSchema: Schema;
|
|
27
|
-
get abi(): InterfaceAbi;
|
|
28
|
-
protected divineHandler(inPayloads?: EvmContract[]): Promise<EvmFunctionImplemented[]>;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { EvmAbiImplementedDiviner, EvmAbiImplementedDivinerConfigSchema, EvmFunctionImplementedSchema };
|
|
32
|
-
export type { EvmAbiImplementedDivinerConfig, EvmAbiImplementedDivinerParams, EvmFunctionImplemented, InterfaceAbi };
|
|
1
|
+
export * from './Diviner.ts';
|
|
2
|
+
export * from './Payload.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/evm-abi-diviner",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,21 +29,20 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.
|
|
33
|
-
"@xyo-network/diviner-abstract": "^4.
|
|
34
|
-
"@xyo-network/diviner-model": "^4.
|
|
35
|
-
"@xyo-network/evm-contract-witness": "^4.
|
|
36
|
-
"@xyo-network/module-model": "^4.
|
|
37
|
-
"@xyo-network/payload-model": "^4.
|
|
32
|
+
"@xylabs/assert": "^4.15.1",
|
|
33
|
+
"@xyo-network/diviner-abstract": "^4.3.0",
|
|
34
|
+
"@xyo-network/diviner-model": "^4.3.0",
|
|
35
|
+
"@xyo-network/evm-contract-witness": "^4.2.0",
|
|
36
|
+
"@xyo-network/module-model": "^4.3.0",
|
|
37
|
+
"@xyo-network/payload-model": "^4.3.0",
|
|
38
38
|
"ethers": "^6.15.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
42
|
-
"@xylabs/tsconfig": "^7.0.
|
|
43
|
-
"@xylabs/vitest-extended": "^4.
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
42
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
43
|
+
"@xylabs/vitest-extended": "^4.15.1",
|
|
44
44
|
"@xyo-network/open-zeppelin-typechain": "^3.5.4",
|
|
45
|
-
"@xyo-network/witness-evm-abstract": "^4.
|
|
46
|
-
"knip": "^5.62.0",
|
|
45
|
+
"@xyo-network/witness-evm-abstract": "^4.3.0",
|
|
47
46
|
"typescript": "^5.8.3",
|
|
48
47
|
"vitest": "^3.2.4"
|
|
49
48
|
},
|