@xyo-network/crypto-contract-function-read-plugin 4.0.0 → 4.1.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.
- package/dist/browser/index.d.ts +41 -0
- package/dist/browser/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.d.ts +2 -0
- package/dist/browser/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.d.ts.map +1 -0
- package/dist/browser/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.d.ts +2 -0
- package/dist/browser/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.d.ts.map +1 -0
- package/dist/browser/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.d.ts +2 -0
- package/dist/browser/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.d.ts.map +1 -0
- package/dist/browser/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.d.ts +2 -0
- package/dist/browser/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.d.ts.map +1 -0
- package/dist/browser/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.d.ts +2 -0
- package/dist/browser/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.d.ts.map +1 -0
- package/dist/browser/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.d.ts +2 -0
- package/dist/browser/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.d.ts.map +1 -0
- package/dist/browser/spec/Witness.spec.d.ts +2 -0
- package/dist/browser/spec/Witness.spec.d.ts.map +1 -0
- package/dist/neutral/Diviner/Diviner.d.ts +19 -0
- package/dist/neutral/Diviner/Diviner.d.ts.map +1 -0
- package/dist/neutral/Diviner/index.d.ts +2 -0
- package/dist/neutral/Diviner/index.d.ts.map +1 -0
- package/dist/neutral/Plugin.d.ts +4 -0
- package/dist/neutral/Plugin.d.ts.map +1 -0
- package/dist/neutral/Witness.d.ts +18 -0
- package/dist/neutral/Witness.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +41 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.d.ts +2 -0
- package/dist/neutral/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.d.ts.map +1 -0
- package/dist/neutral/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.d.ts +2 -0
- package/dist/neutral/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.d.ts.map +1 -0
- package/dist/neutral/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.d.ts +2 -0
- package/dist/neutral/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.d.ts.map +1 -0
- package/dist/neutral/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.d.ts +2 -0
- package/dist/neutral/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.d.ts.map +1 -0
- package/dist/neutral/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.d.ts +2 -0
- package/dist/neutral/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.d.ts.map +1 -0
- package/dist/neutral/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.d.ts +2 -0
- package/dist/neutral/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.d.ts.map +1 -0
- package/dist/neutral/spec/Witness.spec.d.ts +2 -0
- package/dist/neutral/spec/Witness.spec.d.ts.map +1 -0
- package/dist/node/Diviner/Diviner.d.ts +19 -0
- package/dist/node/Diviner/Diviner.d.ts.map +1 -0
- package/dist/node/Diviner/index.d.ts +2 -0
- package/dist/node/Diviner/index.d.ts.map +1 -0
- package/dist/node/Plugin.d.ts +4 -0
- package/dist/node/Plugin.d.ts.map +1 -0
- package/dist/node/Witness.d.ts +18 -0
- package/dist/node/Witness.d.ts.map +1 -0
- package/dist/node/index.d.ts +41 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.d.ts +2 -0
- package/dist/node/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.d.ts.map +1 -0
- package/dist/node/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.d.ts +2 -0
- package/dist/node/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.d.ts.map +1 -0
- package/dist/node/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.d.ts +2 -0
- package/dist/node/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.d.ts.map +1 -0
- package/dist/node/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.d.ts +2 -0
- package/dist/node/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.d.ts.map +1 -0
- package/dist/node/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.d.ts +2 -0
- package/dist/node/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.d.ts.map +1 -0
- package/dist/node/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.d.ts +2 -0
- package/dist/node/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.d.ts.map +1 -0
- package/dist/node/spec/Witness.spec.d.ts +2 -0
- package/dist/node/spec/Witness.spec.d.ts.map +1 -0
- package/package.json +38 -38
- package/dist/types/index.d.ts +0 -4
- /package/dist/{types → browser}/Diviner/Diviner.d.ts +0 -0
- /package/dist/{types → browser}/Diviner/Diviner.d.ts.map +0 -0
- /package/dist/{types → browser}/Diviner/index.d.ts +0 -0
- /package/dist/{types → browser}/Diviner/index.d.ts.map +0 -0
- /package/dist/{types → browser}/Plugin.d.ts +0 -0
- /package/dist/{types → browser}/Plugin.d.ts.map +0 -0
- /package/dist/{types → browser}/Witness.d.ts +0 -0
- /package/dist/{types → browser}/Witness.d.ts.map +0 -0
- /package/dist/{types → browser}/index.d.ts.map +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { CryptoContractDivinerParams, CryptoContractDivinerLabels, CryptoContractFunctionCallResult, ContractInfo, CryptoContractFunctionReadWitnessConfig, CryptoContractFunctionCall } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
3
|
+
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
4
|
+
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
|
+
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
6
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
7
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
8
|
+
import { WitnessParams } from '@xyo-network/witness-model';
|
|
9
|
+
import { Provider, InterfaceAbi } from 'ethers';
|
|
10
|
+
|
|
11
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
12
|
+
type FindCallResult<TResult = string, TPayload = Payload> = [TResult, TPayload] | [undefined, TPayload] | [undefined, undefined];
|
|
13
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
14
|
+
declare class CryptoContractDiviner<TParams extends CryptoContractDivinerParams = CryptoContractDivinerParams> extends AbstractDiviner<TParams> {
|
|
15
|
+
static readonly configSchemas: Schema[];
|
|
16
|
+
static readonly defaultConfigSchema: Schema;
|
|
17
|
+
static readonly labels: CryptoContractDivinerLabels;
|
|
18
|
+
protected static findCallResult<TResult = string>(address: string, functionName: string, payloads: CryptoContractFunctionCallResult[]): TResult | undefined;
|
|
19
|
+
protected static matchingExistingField<R = string, T extends Payload = Payload>(objs: T[], field: keyof T): R | undefined;
|
|
20
|
+
protected contractInfoRequiredFields(callResults: CryptoContractFunctionCallResult[]): ContractInfo;
|
|
21
|
+
protected divineHandler(inPayloads?: CryptoContractFunctionCallResult[]): Promise<ContractInfo[]>;
|
|
22
|
+
protected reduceResults(callResults: CryptoContractFunctionCallResult[]): Promisable<ContractInfo['results']>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @deprecated use EvmCallWitness instead */
|
|
26
|
+
interface CryptoContractFunctionReadWitnessParams extends WitnessParams<AnyConfigSchema<CryptoContractFunctionReadWitnessConfig>> {
|
|
27
|
+
providers: Provider[];
|
|
28
|
+
}
|
|
29
|
+
/** @deprecated use EvmCallWitness instead */
|
|
30
|
+
declare class CryptoContractFunctionReadWitness<TParams extends CryptoContractFunctionReadWitnessParams = CryptoContractFunctionReadWitnessParams> extends AbstractWitness<TParams, CryptoContractFunctionCall, CryptoContractFunctionCallResult> {
|
|
31
|
+
static readonly configSchemas: Schema[];
|
|
32
|
+
static readonly defaultConfigSchema: Schema;
|
|
33
|
+
get abi(): InterfaceAbi;
|
|
34
|
+
protected observeHandler(inPayloads?: CryptoContractFunctionCall[]): Promise<CryptoContractFunctionCallResult[]>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** @deprecated use EvmCallWitness instead */
|
|
38
|
+
declare const CryptoContractFunctionReadWitnessPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoContractFunctionReadWitness<CryptoContractFunctionReadWitnessParams>>;
|
|
39
|
+
|
|
40
|
+
export { CryptoContractDiviner, CryptoContractFunctionReadWitness, CryptoContractFunctionReadWitnessPlugin, CryptoContractFunctionReadWitnessPlugin as default };
|
|
41
|
+
export type { CryptoContractFunctionReadWitnessParams, FindCallResult };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contract.Sentinel.Node.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sentinel.collection.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sentinel.token.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.TotalSupply.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.NftId.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.NftIndex.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Witness.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Promisable } from '@xylabs/promise';
|
|
2
|
+
import type { ContractInfo, CryptoContractDivinerParams, CryptoContractFunctionCallResult } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
3
|
+
import { CryptoContractDivinerLabels } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
4
|
+
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
5
|
+
import type { Payload, Schema } from '@xyo-network/payload-model';
|
|
6
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
7
|
+
export type FindCallResult<TResult = string, TPayload = Payload> = [TResult, TPayload] | [undefined, TPayload] | [undefined, undefined];
|
|
8
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
9
|
+
export declare class CryptoContractDiviner<TParams extends CryptoContractDivinerParams = CryptoContractDivinerParams> extends AbstractDiviner<TParams> {
|
|
10
|
+
static readonly configSchemas: Schema[];
|
|
11
|
+
static readonly defaultConfigSchema: Schema;
|
|
12
|
+
static readonly labels: CryptoContractDivinerLabels;
|
|
13
|
+
protected static findCallResult<TResult = string>(address: string, functionName: string, payloads: CryptoContractFunctionCallResult[]): TResult | undefined;
|
|
14
|
+
protected static matchingExistingField<R = string, T extends Payload = Payload>(objs: T[], field: keyof T): R | undefined;
|
|
15
|
+
protected contractInfoRequiredFields(callResults: CryptoContractFunctionCallResult[]): ContractInfo;
|
|
16
|
+
protected divineHandler(inPayloads?: CryptoContractFunctionCallResult[]): Promise<ContractInfo[]>;
|
|
17
|
+
protected reduceResults(callResults: CryptoContractFunctionCallResult[]): Promisable<ContractInfo['results']>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/Diviner/Diviner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EACV,YAAY,EACZ,2BAA2B,EAC3B,gCAAgC,EACjC,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAIL,2BAA2B,EAE5B,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAGjE,6CAA6C;AAC7C,MAAM,MAAM,cAAc,CAAC,OAAO,GAAG,MAAM,EAAE,QAAQ,GAAG,OAAO,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;AAEvI,6CAA6C;AAC7C,qBAAa,qBAAqB,CAAC,OAAO,SAAS,2BAA2B,GAAG,2BAA2B,CAAE,SAAQ,eAAe,CAAC,OAAO,CAAC;IAC5I,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA8D;IAC9G,gBAAyB,mBAAmB,EAAE,MAAM,CAAoC;IACxF,gBAAyB,MAAM,EAAE,2BAA2B,CAAsD;IAElH,SAAS,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,GAAG,MAAM,EAC9C,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,gCAAgC,EAAE,GAC3C,OAAO,GAAG,SAAS;IAKtB,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,GAAG,MAAM,EAAE,CAAC,SAAS,OAAO,GAAG,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS;IASzH,SAAS,CAAC,0BAA0B,CAAC,WAAW,EAAE,gCAAgC,EAAE,GAAG,YAAY;cAQ1E,aAAa,CAAC,UAAU,GAAE,gCAAgC,EAAO,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAyBpH,SAAS,CAAC,aAAa,CAAC,WAAW,EAAE,gCAAgC,EAAE,GAAG,UAAU,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;CAO9G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Diviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CryptoContractFunctionReadWitness } from './Witness.ts';
|
|
2
|
+
/** @deprecated use EvmCallWitness instead */
|
|
3
|
+
export declare const CryptoContractFunctionReadWitnessPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoContractFunctionReadWitness<import("./Witness.ts").CryptoContractFunctionReadWitnessParams>>;
|
|
4
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iCAAiC,EAAE,MAAM,cAAc,CAAA;AAEhE,6CAA6C;AAC7C,eAAO,MAAM,uCAAuC,2KAUjD,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
2
|
+
import type { CryptoContractFunctionCall, CryptoContractFunctionCallResult, CryptoContractFunctionReadWitnessConfig } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
3
|
+
import type { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
|
+
import type { Schema } from '@xyo-network/payload-model';
|
|
5
|
+
import type { WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
+
import type { InterfaceAbi, Provider } from 'ethers';
|
|
7
|
+
/** @deprecated use EvmCallWitness instead */
|
|
8
|
+
export interface CryptoContractFunctionReadWitnessParams extends WitnessParams<AnyConfigSchema<CryptoContractFunctionReadWitnessConfig>> {
|
|
9
|
+
providers: Provider[];
|
|
10
|
+
}
|
|
11
|
+
/** @deprecated use EvmCallWitness instead */
|
|
12
|
+
export declare class CryptoContractFunctionReadWitness<TParams extends CryptoContractFunctionReadWitnessParams = CryptoContractFunctionReadWitnessParams> extends AbstractWitness<TParams, CryptoContractFunctionCall, CryptoContractFunctionCallResult> {
|
|
13
|
+
static readonly configSchemas: Schema[];
|
|
14
|
+
static readonly defaultConfigSchema: Schema;
|
|
15
|
+
get abi(): InterfaceAbi;
|
|
16
|
+
protected observeHandler(inPayloads?: CryptoContractFunctionCall[]): Promise<CryptoContractFunctionCallResult[]>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Witness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EACV,0BAA0B,EAE1B,gCAAgC,EAEhC,uCAAuC,EACxC,MAAM,2DAA2D,CAAA;AAMlE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAGpD,6CAA6C;AAC7C,MAAM,WAAW,uCAAwC,SAAQ,aAAa,CAC5E,eAAe,CAAC,uCAAuC,CAAC,CAAC;IAEzD,SAAS,EAAE,QAAQ,EAAE,CAAA;CACtB;AAED,6CAA6C;AAC7C,qBAAa,iCAAiC,CAC5C,OAAO,SAAS,uCAAuC,GAAG,uCAAuC,CACjG,SAAQ,eAAe,CAAC,OAAO,EAAE,0BAA0B,EAAE,gCAAgC,CAAC;IAC9F,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA0E;IAC1H,gBAAyB,mBAAmB,EAAE,MAAM,CAAgD;IAEpG,IAAI,GAAG,IACoD,YAAY,CACtE;cAEwB,cAAc,CAAC,UAAU,GAAE,0BAA0B,EAAO,GAAG,OAAO,CAAC,gCAAgC,EAAE,CAAC;CAgDpI"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { CryptoContractDivinerParams, CryptoContractDivinerLabels, CryptoContractFunctionCallResult, ContractInfo, CryptoContractFunctionReadWitnessConfig, CryptoContractFunctionCall } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
3
|
+
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
4
|
+
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
|
+
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
6
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
7
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
8
|
+
import { WitnessParams } from '@xyo-network/witness-model';
|
|
9
|
+
import { Provider, InterfaceAbi } from 'ethers';
|
|
10
|
+
|
|
11
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
12
|
+
type FindCallResult<TResult = string, TPayload = Payload> = [TResult, TPayload] | [undefined, TPayload] | [undefined, undefined];
|
|
13
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
14
|
+
declare class CryptoContractDiviner<TParams extends CryptoContractDivinerParams = CryptoContractDivinerParams> extends AbstractDiviner<TParams> {
|
|
15
|
+
static readonly configSchemas: Schema[];
|
|
16
|
+
static readonly defaultConfigSchema: Schema;
|
|
17
|
+
static readonly labels: CryptoContractDivinerLabels;
|
|
18
|
+
protected static findCallResult<TResult = string>(address: string, functionName: string, payloads: CryptoContractFunctionCallResult[]): TResult | undefined;
|
|
19
|
+
protected static matchingExistingField<R = string, T extends Payload = Payload>(objs: T[], field: keyof T): R | undefined;
|
|
20
|
+
protected contractInfoRequiredFields(callResults: CryptoContractFunctionCallResult[]): ContractInfo;
|
|
21
|
+
protected divineHandler(inPayloads?: CryptoContractFunctionCallResult[]): Promise<ContractInfo[]>;
|
|
22
|
+
protected reduceResults(callResults: CryptoContractFunctionCallResult[]): Promisable<ContractInfo['results']>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @deprecated use EvmCallWitness instead */
|
|
26
|
+
interface CryptoContractFunctionReadWitnessParams extends WitnessParams<AnyConfigSchema<CryptoContractFunctionReadWitnessConfig>> {
|
|
27
|
+
providers: Provider[];
|
|
28
|
+
}
|
|
29
|
+
/** @deprecated use EvmCallWitness instead */
|
|
30
|
+
declare class CryptoContractFunctionReadWitness<TParams extends CryptoContractFunctionReadWitnessParams = CryptoContractFunctionReadWitnessParams> extends AbstractWitness<TParams, CryptoContractFunctionCall, CryptoContractFunctionCallResult> {
|
|
31
|
+
static readonly configSchemas: Schema[];
|
|
32
|
+
static readonly defaultConfigSchema: Schema;
|
|
33
|
+
get abi(): InterfaceAbi;
|
|
34
|
+
protected observeHandler(inPayloads?: CryptoContractFunctionCall[]): Promise<CryptoContractFunctionCallResult[]>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** @deprecated use EvmCallWitness instead */
|
|
38
|
+
declare const CryptoContractFunctionReadWitnessPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoContractFunctionReadWitness<CryptoContractFunctionReadWitnessParams>>;
|
|
39
|
+
|
|
40
|
+
export { CryptoContractDiviner, CryptoContractFunctionReadWitness, CryptoContractFunctionReadWitnessPlugin, CryptoContractFunctionReadWitnessPlugin as default };
|
|
41
|
+
export type { CryptoContractFunctionReadWitnessParams, FindCallResult };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,uCAAuC,EAAE,uCAAuC,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACzH,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contract.Sentinel.Node.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sentinel.collection.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sentinel.token.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.TotalSupply.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.NftId.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.NftIndex.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Witness.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Promisable } from '@xylabs/promise';
|
|
2
|
+
import type { ContractInfo, CryptoContractDivinerParams, CryptoContractFunctionCallResult } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
3
|
+
import { CryptoContractDivinerLabels } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
4
|
+
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
5
|
+
import type { Payload, Schema } from '@xyo-network/payload-model';
|
|
6
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
7
|
+
export type FindCallResult<TResult = string, TPayload = Payload> = [TResult, TPayload] | [undefined, TPayload] | [undefined, undefined];
|
|
8
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
9
|
+
export declare class CryptoContractDiviner<TParams extends CryptoContractDivinerParams = CryptoContractDivinerParams> extends AbstractDiviner<TParams> {
|
|
10
|
+
static readonly configSchemas: Schema[];
|
|
11
|
+
static readonly defaultConfigSchema: Schema;
|
|
12
|
+
static readonly labels: CryptoContractDivinerLabels;
|
|
13
|
+
protected static findCallResult<TResult = string>(address: string, functionName: string, payloads: CryptoContractFunctionCallResult[]): TResult | undefined;
|
|
14
|
+
protected static matchingExistingField<R = string, T extends Payload = Payload>(objs: T[], field: keyof T): R | undefined;
|
|
15
|
+
protected contractInfoRequiredFields(callResults: CryptoContractFunctionCallResult[]): ContractInfo;
|
|
16
|
+
protected divineHandler(inPayloads?: CryptoContractFunctionCallResult[]): Promise<ContractInfo[]>;
|
|
17
|
+
protected reduceResults(callResults: CryptoContractFunctionCallResult[]): Promisable<ContractInfo['results']>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/Diviner/Diviner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EACV,YAAY,EACZ,2BAA2B,EAC3B,gCAAgC,EACjC,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAIL,2BAA2B,EAE5B,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAGjE,6CAA6C;AAC7C,MAAM,MAAM,cAAc,CAAC,OAAO,GAAG,MAAM,EAAE,QAAQ,GAAG,OAAO,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;AAEvI,6CAA6C;AAC7C,qBAAa,qBAAqB,CAAC,OAAO,SAAS,2BAA2B,GAAG,2BAA2B,CAAE,SAAQ,eAAe,CAAC,OAAO,CAAC;IAC5I,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA8D;IAC9G,gBAAyB,mBAAmB,EAAE,MAAM,CAAoC;IACxF,gBAAyB,MAAM,EAAE,2BAA2B,CAAsD;IAElH,SAAS,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,GAAG,MAAM,EAC9C,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,gCAAgC,EAAE,GAC3C,OAAO,GAAG,SAAS;IAKtB,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,GAAG,MAAM,EAAE,CAAC,SAAS,OAAO,GAAG,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS;IASzH,SAAS,CAAC,0BAA0B,CAAC,WAAW,EAAE,gCAAgC,EAAE,GAAG,YAAY;cAQ1E,aAAa,CAAC,UAAU,GAAE,gCAAgC,EAAO,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAyBpH,SAAS,CAAC,aAAa,CAAC,WAAW,EAAE,gCAAgC,EAAE,GAAG,UAAU,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;CAO9G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Diviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CryptoContractFunctionReadWitness } from './Witness.ts';
|
|
2
|
+
/** @deprecated use EvmCallWitness instead */
|
|
3
|
+
export declare const CryptoContractFunctionReadWitnessPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoContractFunctionReadWitness<import("./Witness.ts").CryptoContractFunctionReadWitnessParams>>;
|
|
4
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iCAAiC,EAAE,MAAM,cAAc,CAAA;AAEhE,6CAA6C;AAC7C,eAAO,MAAM,uCAAuC,2KAUjD,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
2
|
+
import type { CryptoContractFunctionCall, CryptoContractFunctionCallResult, CryptoContractFunctionReadWitnessConfig } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
3
|
+
import type { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
|
+
import type { Schema } from '@xyo-network/payload-model';
|
|
5
|
+
import type { WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
+
import type { InterfaceAbi, Provider } from 'ethers';
|
|
7
|
+
/** @deprecated use EvmCallWitness instead */
|
|
8
|
+
export interface CryptoContractFunctionReadWitnessParams extends WitnessParams<AnyConfigSchema<CryptoContractFunctionReadWitnessConfig>> {
|
|
9
|
+
providers: Provider[];
|
|
10
|
+
}
|
|
11
|
+
/** @deprecated use EvmCallWitness instead */
|
|
12
|
+
export declare class CryptoContractFunctionReadWitness<TParams extends CryptoContractFunctionReadWitnessParams = CryptoContractFunctionReadWitnessParams> extends AbstractWitness<TParams, CryptoContractFunctionCall, CryptoContractFunctionCallResult> {
|
|
13
|
+
static readonly configSchemas: Schema[];
|
|
14
|
+
static readonly defaultConfigSchema: Schema;
|
|
15
|
+
get abi(): InterfaceAbi;
|
|
16
|
+
protected observeHandler(inPayloads?: CryptoContractFunctionCall[]): Promise<CryptoContractFunctionCallResult[]>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Witness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EACV,0BAA0B,EAE1B,gCAAgC,EAEhC,uCAAuC,EACxC,MAAM,2DAA2D,CAAA;AAMlE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAGpD,6CAA6C;AAC7C,MAAM,WAAW,uCAAwC,SAAQ,aAAa,CAC5E,eAAe,CAAC,uCAAuC,CAAC,CAAC;IAEzD,SAAS,EAAE,QAAQ,EAAE,CAAA;CACtB;AAED,6CAA6C;AAC7C,qBAAa,iCAAiC,CAC5C,OAAO,SAAS,uCAAuC,GAAG,uCAAuC,CACjG,SAAQ,eAAe,CAAC,OAAO,EAAE,0BAA0B,EAAE,gCAAgC,CAAC;IAC9F,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA0E;IAC1H,gBAAyB,mBAAmB,EAAE,MAAM,CAAgD;IAEpG,IAAI,GAAG,IACoD,YAAY,CACtE;cAEwB,cAAc,CAAC,UAAU,GAAE,0BAA0B,EAAO,GAAG,OAAO,CAAC,gCAAgC,EAAE,CAAC;CAgDpI"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { CryptoContractDivinerParams, CryptoContractDivinerLabels, CryptoContractFunctionCallResult, ContractInfo, CryptoContractFunctionReadWitnessConfig, CryptoContractFunctionCall } from '@xyo-network/crypto-contract-function-read-payload-plugin';
|
|
3
|
+
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
4
|
+
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
|
+
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
6
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
7
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
8
|
+
import { WitnessParams } from '@xyo-network/witness-model';
|
|
9
|
+
import { Provider, InterfaceAbi } from 'ethers';
|
|
10
|
+
|
|
11
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
12
|
+
type FindCallResult<TResult = string, TPayload = Payload> = [TResult, TPayload] | [undefined, TPayload] | [undefined, undefined];
|
|
13
|
+
/** @deprecated use EvmCallDiviner instead */
|
|
14
|
+
declare class CryptoContractDiviner<TParams extends CryptoContractDivinerParams = CryptoContractDivinerParams> extends AbstractDiviner<TParams> {
|
|
15
|
+
static readonly configSchemas: Schema[];
|
|
16
|
+
static readonly defaultConfigSchema: Schema;
|
|
17
|
+
static readonly labels: CryptoContractDivinerLabels;
|
|
18
|
+
protected static findCallResult<TResult = string>(address: string, functionName: string, payloads: CryptoContractFunctionCallResult[]): TResult | undefined;
|
|
19
|
+
protected static matchingExistingField<R = string, T extends Payload = Payload>(objs: T[], field: keyof T): R | undefined;
|
|
20
|
+
protected contractInfoRequiredFields(callResults: CryptoContractFunctionCallResult[]): ContractInfo;
|
|
21
|
+
protected divineHandler(inPayloads?: CryptoContractFunctionCallResult[]): Promise<ContractInfo[]>;
|
|
22
|
+
protected reduceResults(callResults: CryptoContractFunctionCallResult[]): Promisable<ContractInfo['results']>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @deprecated use EvmCallWitness instead */
|
|
26
|
+
interface CryptoContractFunctionReadWitnessParams extends WitnessParams<AnyConfigSchema<CryptoContractFunctionReadWitnessConfig>> {
|
|
27
|
+
providers: Provider[];
|
|
28
|
+
}
|
|
29
|
+
/** @deprecated use EvmCallWitness instead */
|
|
30
|
+
declare class CryptoContractFunctionReadWitness<TParams extends CryptoContractFunctionReadWitnessParams = CryptoContractFunctionReadWitnessParams> extends AbstractWitness<TParams, CryptoContractFunctionCall, CryptoContractFunctionCallResult> {
|
|
31
|
+
static readonly configSchemas: Schema[];
|
|
32
|
+
static readonly defaultConfigSchema: Schema;
|
|
33
|
+
get abi(): InterfaceAbi;
|
|
34
|
+
protected observeHandler(inPayloads?: CryptoContractFunctionCall[]): Promise<CryptoContractFunctionCallResult[]>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** @deprecated use EvmCallWitness instead */
|
|
38
|
+
declare const CryptoContractFunctionReadWitnessPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoContractFunctionReadWitness<CryptoContractFunctionReadWitnessParams>>;
|
|
39
|
+
|
|
40
|
+
export { CryptoContractDiviner, CryptoContractFunctionReadWitness, CryptoContractFunctionReadWitnessPlugin, CryptoContractFunctionReadWitnessPlugin as default };
|
|
41
|
+
export type { CryptoContractFunctionReadWitnessParams, FindCallResult };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,uCAAuC,EAAE,uCAAuC,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACzH,cAAc,cAAc,CAAA"}
|
package/dist/node/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contract.Sentinel.Node.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/AddressToContractIndex/Contract.Sentinel.Node.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sentinel.collection.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/CollectionInfo/Sentinel.collection.spec.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sentinel.token.spec.d.ts","sourceRoot":"","sources":["../../../../../src/spec/AddressToContract/ManualTokenIteration/Sentinel.token.spec.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.TotalSupply.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/AddressToTotalSupplyIndex/Erc721.TotalSupply.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.NftId.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/NftIndexToNftIdIndex/Erc721.NftId.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Erc721.NftIndex.Index.spec.d.ts","sourceRoot":"","sources":["../../../../src/spec/TotalSupplyToNftIndexIndex/Erc721.NftIndex.Index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Witness.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/crypto-contract-function-read-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -21,54 +21,54 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/neutral/index.d.ts",
|
|
25
25
|
"default": "./dist/neutral/index.mjs"
|
|
26
26
|
},
|
|
27
27
|
"./package.json": "./package.json"
|
|
28
28
|
},
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
|
-
"types": "dist/
|
|
30
|
+
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.
|
|
33
|
-
"@xylabs/promise": "^4.
|
|
34
|
-
"@xyo-network/abstract-witness": "^4.
|
|
35
|
-
"@xyo-network/crypto-contract-function-read-payload-plugin": "^4.
|
|
36
|
-
"@xyo-network/crypto-nft-payload-plugin": "^4.
|
|
37
|
-
"@xyo-network/diviner-abstract": "^4.
|
|
38
|
-
"@xyo-network/module-model": "^4.
|
|
39
|
-
"@xyo-network/payload-model": "^4.
|
|
40
|
-
"@xyo-network/payloadset-plugin": "^4.
|
|
41
|
-
"@xyo-network/witness-model": "^4.
|
|
32
|
+
"@xylabs/assert": "^4.13.23",
|
|
33
|
+
"@xylabs/promise": "^4.13.23",
|
|
34
|
+
"@xyo-network/abstract-witness": "^4.1.7",
|
|
35
|
+
"@xyo-network/crypto-contract-function-read-payload-plugin": "^4.1.1",
|
|
36
|
+
"@xyo-network/crypto-nft-payload-plugin": "^4.1.1",
|
|
37
|
+
"@xyo-network/diviner-abstract": "^4.1.7",
|
|
38
|
+
"@xyo-network/module-model": "^4.1.7",
|
|
39
|
+
"@xyo-network/payload-model": "^4.1.7",
|
|
40
|
+
"@xyo-network/payloadset-plugin": "^4.1.7",
|
|
41
|
+
"@xyo-network/witness-model": "^4.1.7",
|
|
42
42
|
"ethers": "^6.15.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@xylabs/delay": "^4.
|
|
46
|
-
"@xylabs/hex": "^4.
|
|
47
|
-
"@xylabs/object": "^4.
|
|
48
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
49
|
-
"@xylabs/tsconfig": "^
|
|
50
|
-
"@xylabs/vitest-extended": "^4.
|
|
51
|
-
"@xyo-network/archivist-memory": "^4.
|
|
52
|
-
"@xyo-network/diviner-boundwitness-memory": "^4.
|
|
53
|
-
"@xyo-network/diviner-jsonpatch": "^4.
|
|
54
|
-
"@xyo-network/diviner-jsonpath-aggregate-memory": "^4.
|
|
55
|
-
"@xyo-network/diviner-model": "^4.
|
|
56
|
-
"@xyo-network/diviner-payload-generic": "^4.
|
|
57
|
-
"@xyo-network/diviner-payload-model": "^4.
|
|
58
|
-
"@xyo-network/diviner-range": "^4.
|
|
59
|
-
"@xyo-network/diviner-temporal-indexing": "^4.
|
|
60
|
-
"@xyo-network/evm-nft-id-payload-plugin": "^4.
|
|
61
|
-
"@xyo-network/manifest": "^4.
|
|
62
|
-
"@xyo-network/module-factory-locator": "^4.
|
|
63
|
-
"@xyo-network/node-memory": "^4.
|
|
45
|
+
"@xylabs/delay": "^4.13.23",
|
|
46
|
+
"@xylabs/hex": "^4.13.23",
|
|
47
|
+
"@xylabs/object": "^4.13.23",
|
|
48
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
|
|
49
|
+
"@xylabs/tsconfig": "^7.0.0-rc.24",
|
|
50
|
+
"@xylabs/vitest-extended": "^4.13.23",
|
|
51
|
+
"@xyo-network/archivist-memory": "^4.1.7",
|
|
52
|
+
"@xyo-network/diviner-boundwitness-memory": "^4.1.7",
|
|
53
|
+
"@xyo-network/diviner-jsonpatch": "^4.1.7",
|
|
54
|
+
"@xyo-network/diviner-jsonpath-aggregate-memory": "^4.1.7",
|
|
55
|
+
"@xyo-network/diviner-model": "^4.1.7",
|
|
56
|
+
"@xyo-network/diviner-payload-generic": "^4.1.7",
|
|
57
|
+
"@xyo-network/diviner-payload-model": "^4.1.7",
|
|
58
|
+
"@xyo-network/diviner-range": "^4.1.7",
|
|
59
|
+
"@xyo-network/diviner-temporal-indexing": "^4.1.7",
|
|
60
|
+
"@xyo-network/evm-nft-id-payload-plugin": "^4.1.1",
|
|
61
|
+
"@xyo-network/manifest": "^4.1.7",
|
|
62
|
+
"@xyo-network/module-factory-locator": "^4.1.7",
|
|
63
|
+
"@xyo-network/node-memory": "^4.1.7",
|
|
64
64
|
"@xyo-network/open-zeppelin-typechain": "^3.5.4",
|
|
65
|
-
"@xyo-network/sentinel-model": "^4.
|
|
66
|
-
"@xyo-network/wallet": "^4.
|
|
67
|
-
"@xyo-network/wallet-model": "^4.
|
|
68
|
-
"@xyo-network/witness-blockchain-abstract": "^4.
|
|
69
|
-
"@xyo-network/witness-timestamp": "^4.
|
|
65
|
+
"@xyo-network/sentinel-model": "^4.1.7",
|
|
66
|
+
"@xyo-network/wallet": "^4.1.7",
|
|
67
|
+
"@xyo-network/wallet-model": "^4.1.7",
|
|
68
|
+
"@xyo-network/witness-blockchain-abstract": "^4.1.7",
|
|
69
|
+
"@xyo-network/witness-timestamp": "^4.1.7",
|
|
70
70
|
"async-mutex": "^0.5.0",
|
|
71
|
-
"knip": "^5.
|
|
71
|
+
"knip": "^5.62.0",
|
|
72
72
|
"typescript": "^5.8.3",
|
|
73
73
|
"vitest": "^3.2.4"
|
|
74
74
|
},
|
package/dist/types/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|