@xyo-network/crypto-contract-function-read-plugin 3.3.0 → 3.4.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.
Files changed (35) hide show
  1. package/dist/browser/index.d.ts +316 -4
  2. package/dist/browser/index.mjs.map +1 -1
  3. package/dist/neutral/index.d.ts +316 -4
  4. package/dist/neutral/index.mjs.map +1 -1
  5. package/dist/node/index.d.ts +316 -4
  6. package/dist/node/index.mjs.map +1 -1
  7. package/package.json +29 -29
  8. package/src/Diviner/Diviner.ts +1 -1
  9. package/dist/browser/Diviner/Diviner.d.ts +0 -19
  10. package/dist/browser/Diviner/Diviner.d.ts.map +0 -1
  11. package/dist/browser/Diviner/index.d.ts +0 -2
  12. package/dist/browser/Diviner/index.d.ts.map +0 -1
  13. package/dist/browser/Plugin.d.ts +0 -279
  14. package/dist/browser/Plugin.d.ts.map +0 -1
  15. package/dist/browser/Witness.d.ts +0 -18
  16. package/dist/browser/Witness.d.ts.map +0 -1
  17. package/dist/browser/index.d.ts.map +0 -1
  18. package/dist/neutral/Diviner/Diviner.d.ts +0 -19
  19. package/dist/neutral/Diviner/Diviner.d.ts.map +0 -1
  20. package/dist/neutral/Diviner/index.d.ts +0 -2
  21. package/dist/neutral/Diviner/index.d.ts.map +0 -1
  22. package/dist/neutral/Plugin.d.ts +0 -279
  23. package/dist/neutral/Plugin.d.ts.map +0 -1
  24. package/dist/neutral/Witness.d.ts +0 -18
  25. package/dist/neutral/Witness.d.ts.map +0 -1
  26. package/dist/neutral/index.d.ts.map +0 -1
  27. package/dist/node/Diviner/Diviner.d.ts +0 -19
  28. package/dist/node/Diviner/Diviner.d.ts.map +0 -1
  29. package/dist/node/Diviner/index.d.ts +0 -2
  30. package/dist/node/Diviner/index.d.ts.map +0 -1
  31. package/dist/node/Plugin.d.ts +0 -279
  32. package/dist/node/Plugin.d.ts.map +0 -1
  33. package/dist/node/Witness.d.ts +0 -18
  34. package/dist/node/Witness.d.ts.map +0 -1
  35. package/dist/node/index.d.ts.map +0 -1
@@ -1,279 +0,0 @@
1
- import { CryptoContractFunctionReadWitness } from './Witness.ts';
2
- /** @deprecated use EvmCallWitness instead */
3
- export declare const CryptoContractFunctionReadWitnessPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoContractFunctionReadWitness<import("@xylabs/object").BaseParamsFields & {
4
- account?: import(".store/@xyo-network-account-model-virtual-281bb6acc0/package").AccountInstance | "random";
5
- addToResolvers?: boolean;
6
- additionalSigners?: import(".store/@xyo-network-account-model-virtual-281bb6acc0/package").AccountInstance[];
7
- allowNameResolution?: boolean;
8
- config: import("@xylabs/object").DeepRestrictToStringKeys<{
9
- schema: import("@xyo-network/payload-model").Schema;
10
- readonly archiving?: {
11
- readonly archivists?: string[] | undefined;
12
- readonly queries?: string[] | undefined;
13
- } | undefined;
14
- readonly allowedQueries?: string[] | undefined;
15
- readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
16
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
17
- readonly labels?: {
18
- [x: string]: string | undefined;
19
- } | undefined;
20
- readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
21
- readonly paging?: {
22
- [x: string]: {
23
- size?: number | undefined;
24
- };
25
- } | undefined;
26
- readonly retry?: {
27
- backoff?: number | undefined;
28
- interval?: number | undefined;
29
- retries?: number | undefined;
30
- } | undefined;
31
- readonly security?: {
32
- readonly allowAnonymous?: boolean | undefined;
33
- readonly allowed?: {
34
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
35
- } | undefined;
36
- readonly disallowed?: {
37
- [x: string]: Lowercase<string>[];
38
- } | undefined;
39
- } | undefined;
40
- readonly sign?: boolean | undefined;
41
- readonly storeQueries?: boolean | undefined;
42
- readonly timestamp?: boolean | undefined;
43
- address?: string | undefined;
44
- args?: unknown[] | undefined;
45
- functionName?: string | undefined;
46
- abi: string | {
47
- readonly [x: number]: string | {
48
- readonly name?: string | undefined;
49
- readonly type?: string | undefined;
50
- readonly anonymous?: boolean | undefined;
51
- readonly payable?: boolean | undefined;
52
- readonly constant?: boolean | undefined;
53
- readonly stateMutability?: string | undefined;
54
- readonly inputs?: {
55
- readonly [x: number]: {
56
- readonly name?: string | undefined;
57
- readonly indexed?: boolean | undefined;
58
- readonly type?: string | undefined;
59
- readonly internalType?: string | undefined;
60
- readonly components?: /*elided*/ any | undefined;
61
- };
62
- readonly length: number;
63
- toString: {};
64
- toLocaleString: {};
65
- concat: {};
66
- join: {};
67
- slice: {};
68
- indexOf: {};
69
- lastIndexOf: {};
70
- every: {};
71
- some: {};
72
- forEach: {};
73
- map: {};
74
- filter: {};
75
- reduce: {};
76
- reduceRight: {};
77
- find: {};
78
- findIndex: {};
79
- entries: {};
80
- keys: {};
81
- values: {};
82
- includes: {};
83
- flatMap: {};
84
- flat: {};
85
- at: {};
86
- findLast: {};
87
- findLastIndex: {};
88
- toReversed: {};
89
- toSorted: {};
90
- toSpliced: {};
91
- with: {};
92
- [Symbol.iterator]: {};
93
- readonly [Symbol.unscopables]: {
94
- readonly [x: number]: boolean | undefined;
95
- readonly length?: boolean | undefined;
96
- toString?: boolean | undefined;
97
- toLocaleString?: boolean | undefined;
98
- concat?: boolean | undefined;
99
- join?: boolean | undefined;
100
- slice?: boolean | undefined;
101
- indexOf?: boolean | undefined;
102
- lastIndexOf?: boolean | undefined;
103
- every?: boolean | undefined;
104
- some?: boolean | undefined;
105
- forEach?: boolean | undefined;
106
- map?: boolean | undefined;
107
- filter?: boolean | undefined;
108
- reduce?: boolean | undefined;
109
- reduceRight?: boolean | undefined;
110
- find?: boolean | undefined;
111
- findIndex?: boolean | undefined;
112
- entries?: boolean | undefined;
113
- keys?: boolean | undefined;
114
- values?: boolean | undefined;
115
- includes?: boolean | undefined;
116
- flatMap?: boolean | undefined;
117
- flat?: boolean | undefined;
118
- at?: boolean | undefined;
119
- findLast?: boolean | undefined;
120
- findLastIndex?: boolean | undefined;
121
- toReversed?: boolean | undefined;
122
- toSorted?: boolean | undefined;
123
- toSpliced?: boolean | undefined;
124
- with?: boolean | undefined;
125
- [Symbol.iterator]?: boolean | undefined;
126
- readonly [Symbol.unscopables]?: boolean | undefined;
127
- };
128
- } | undefined;
129
- readonly outputs?: {
130
- readonly [x: number]: {
131
- readonly name?: string | undefined;
132
- readonly indexed?: boolean | undefined;
133
- readonly type?: string | undefined;
134
- readonly internalType?: string | undefined;
135
- readonly components?: /*elided*/ any | undefined;
136
- };
137
- readonly length: number;
138
- toString: {};
139
- toLocaleString: {};
140
- concat: {};
141
- join: {};
142
- slice: {};
143
- indexOf: {};
144
- lastIndexOf: {};
145
- every: {};
146
- some: {};
147
- forEach: {};
148
- map: {};
149
- filter: {};
150
- reduce: {};
151
- reduceRight: {};
152
- find: {};
153
- findIndex: {};
154
- entries: {};
155
- keys: {};
156
- values: {};
157
- includes: {};
158
- flatMap: {};
159
- flat: {};
160
- at: {};
161
- findLast: {};
162
- findLastIndex: {};
163
- toReversed: {};
164
- toSorted: {};
165
- toSpliced: {};
166
- with: {};
167
- [Symbol.iterator]: {};
168
- readonly [Symbol.unscopables]: {
169
- readonly [x: number]: boolean | undefined;
170
- readonly length?: boolean | undefined;
171
- toString?: boolean | undefined;
172
- toLocaleString?: boolean | undefined;
173
- concat?: boolean | undefined;
174
- join?: boolean | undefined;
175
- slice?: boolean | undefined;
176
- indexOf?: boolean | undefined;
177
- lastIndexOf?: boolean | undefined;
178
- every?: boolean | undefined;
179
- some?: boolean | undefined;
180
- forEach?: boolean | undefined;
181
- map?: boolean | undefined;
182
- filter?: boolean | undefined;
183
- reduce?: boolean | undefined;
184
- reduceRight?: boolean | undefined;
185
- find?: boolean | undefined;
186
- findIndex?: boolean | undefined;
187
- entries?: boolean | undefined;
188
- keys?: boolean | undefined;
189
- values?: boolean | undefined;
190
- includes?: boolean | undefined;
191
- flatMap?: boolean | undefined;
192
- flat?: boolean | undefined;
193
- at?: boolean | undefined;
194
- findLast?: boolean | undefined;
195
- findLastIndex?: boolean | undefined;
196
- toReversed?: boolean | undefined;
197
- toSorted?: boolean | undefined;
198
- toSpliced?: boolean | undefined;
199
- with?: boolean | undefined;
200
- [Symbol.iterator]?: boolean | undefined;
201
- readonly [Symbol.unscopables]?: boolean | undefined;
202
- };
203
- } | undefined;
204
- readonly gas?: string | undefined;
205
- };
206
- readonly length: number;
207
- toString: {};
208
- toLocaleString: {};
209
- concat: {};
210
- join: {};
211
- slice: {};
212
- indexOf: {};
213
- lastIndexOf: {};
214
- every: {};
215
- some: {};
216
- forEach: {};
217
- map: {};
218
- filter: {};
219
- reduce: {};
220
- reduceRight: {};
221
- find: {};
222
- findIndex: {};
223
- entries: {};
224
- keys: {};
225
- values: {};
226
- includes: {};
227
- flatMap: {};
228
- flat: {};
229
- at: {};
230
- findLast: {};
231
- findLastIndex: {};
232
- toReversed: {};
233
- toSorted: {};
234
- toSpliced: {};
235
- with: {};
236
- [Symbol.iterator]: {};
237
- readonly [Symbol.unscopables]: {
238
- readonly [x: number]: boolean | undefined;
239
- readonly length?: boolean | undefined;
240
- toString?: boolean | undefined;
241
- toLocaleString?: boolean | undefined;
242
- concat?: boolean | undefined;
243
- join?: boolean | undefined;
244
- slice?: boolean | undefined;
245
- indexOf?: boolean | undefined;
246
- lastIndexOf?: boolean | undefined;
247
- every?: boolean | undefined;
248
- some?: boolean | undefined;
249
- forEach?: boolean | undefined;
250
- map?: boolean | undefined;
251
- filter?: boolean | undefined;
252
- reduce?: boolean | undefined;
253
- reduceRight?: boolean | undefined;
254
- find?: boolean | undefined;
255
- findIndex?: boolean | undefined;
256
- entries?: boolean | undefined;
257
- keys?: boolean | undefined;
258
- values?: boolean | undefined;
259
- includes?: boolean | undefined;
260
- flatMap?: boolean | undefined;
261
- flat?: boolean | undefined;
262
- at?: boolean | undefined;
263
- findLast?: boolean | undefined;
264
- findLastIndex?: boolean | undefined;
265
- toReversed?: boolean | undefined;
266
- toSorted?: boolean | undefined;
267
- toSpliced?: boolean | undefined;
268
- with?: boolean | undefined;
269
- [Symbol.iterator]?: boolean | undefined;
270
- readonly [Symbol.unscopables]?: boolean | undefined;
271
- };
272
- };
273
- }>;
274
- ephemeralQueryAccountEnabled?: boolean;
275
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
276
- } & {
277
- providers: import("ethers").Provider[];
278
- }>>;
279
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUjD,CAAA"}
@@ -1,18 +0,0 @@
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 type CryptoContractFunctionReadWitnessParams = 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
@@ -1 +0,0 @@
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,MAAM,uCAAuC,GAAG,aAAa,CACjE,eAAe,CAAC,uCAAuC,CAAC,EACxD;IACE,SAAS,EAAE,QAAQ,EAAE,CAAA;CACtB,CACF,CAAA;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"}
@@ -1 +0,0 @@
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"}
@@ -1,19 +0,0 @@
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 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
@@ -1 +0,0 @@
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,OAAgB,MAAM,EAAE,2BAA2B,CAAsD;IAEzG,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"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Diviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,279 +0,0 @@
1
- import { CryptoContractFunctionReadWitness } from './Witness.ts';
2
- /** @deprecated use EvmCallWitness instead */
3
- export declare const CryptoContractFunctionReadWitnessPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoContractFunctionReadWitness<import("@xylabs/object").BaseParamsFields & {
4
- account?: import(".store/@xyo-network-account-model-virtual-281bb6acc0/package").AccountInstance | "random";
5
- addToResolvers?: boolean;
6
- additionalSigners?: import(".store/@xyo-network-account-model-virtual-281bb6acc0/package").AccountInstance[];
7
- allowNameResolution?: boolean;
8
- config: import("@xylabs/object").DeepRestrictToStringKeys<{
9
- schema: import("@xyo-network/payload-model").Schema;
10
- readonly archiving?: {
11
- readonly archivists?: string[] | undefined;
12
- readonly queries?: string[] | undefined;
13
- } | undefined;
14
- readonly allowedQueries?: string[] | undefined;
15
- readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
16
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
17
- readonly labels?: {
18
- [x: string]: string | undefined;
19
- } | undefined;
20
- readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
21
- readonly paging?: {
22
- [x: string]: {
23
- size?: number | undefined;
24
- };
25
- } | undefined;
26
- readonly retry?: {
27
- backoff?: number | undefined;
28
- interval?: number | undefined;
29
- retries?: number | undefined;
30
- } | undefined;
31
- readonly security?: {
32
- readonly allowAnonymous?: boolean | undefined;
33
- readonly allowed?: {
34
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
35
- } | undefined;
36
- readonly disallowed?: {
37
- [x: string]: Lowercase<string>[];
38
- } | undefined;
39
- } | undefined;
40
- readonly sign?: boolean | undefined;
41
- readonly storeQueries?: boolean | undefined;
42
- readonly timestamp?: boolean | undefined;
43
- address?: string | undefined;
44
- args?: unknown[] | undefined;
45
- functionName?: string | undefined;
46
- abi: string | {
47
- readonly [x: number]: string | {
48
- readonly name?: string | undefined;
49
- readonly type?: string | undefined;
50
- readonly anonymous?: boolean | undefined;
51
- readonly payable?: boolean | undefined;
52
- readonly constant?: boolean | undefined;
53
- readonly stateMutability?: string | undefined;
54
- readonly inputs?: {
55
- readonly [x: number]: {
56
- readonly name?: string | undefined;
57
- readonly indexed?: boolean | undefined;
58
- readonly type?: string | undefined;
59
- readonly internalType?: string | undefined;
60
- readonly components?: /*elided*/ any | undefined;
61
- };
62
- readonly length: number;
63
- toString: {};
64
- toLocaleString: {};
65
- concat: {};
66
- join: {};
67
- slice: {};
68
- indexOf: {};
69
- lastIndexOf: {};
70
- every: {};
71
- some: {};
72
- forEach: {};
73
- map: {};
74
- filter: {};
75
- reduce: {};
76
- reduceRight: {};
77
- find: {};
78
- findIndex: {};
79
- entries: {};
80
- keys: {};
81
- values: {};
82
- includes: {};
83
- flatMap: {};
84
- flat: {};
85
- at: {};
86
- findLast: {};
87
- findLastIndex: {};
88
- toReversed: {};
89
- toSorted: {};
90
- toSpliced: {};
91
- with: {};
92
- [Symbol.iterator]: {};
93
- readonly [Symbol.unscopables]: {
94
- readonly [x: number]: boolean | undefined;
95
- readonly length?: boolean | undefined;
96
- toString?: boolean | undefined;
97
- toLocaleString?: boolean | undefined;
98
- concat?: boolean | undefined;
99
- join?: boolean | undefined;
100
- slice?: boolean | undefined;
101
- indexOf?: boolean | undefined;
102
- lastIndexOf?: boolean | undefined;
103
- every?: boolean | undefined;
104
- some?: boolean | undefined;
105
- forEach?: boolean | undefined;
106
- map?: boolean | undefined;
107
- filter?: boolean | undefined;
108
- reduce?: boolean | undefined;
109
- reduceRight?: boolean | undefined;
110
- find?: boolean | undefined;
111
- findIndex?: boolean | undefined;
112
- entries?: boolean | undefined;
113
- keys?: boolean | undefined;
114
- values?: boolean | undefined;
115
- includes?: boolean | undefined;
116
- flatMap?: boolean | undefined;
117
- flat?: boolean | undefined;
118
- at?: boolean | undefined;
119
- findLast?: boolean | undefined;
120
- findLastIndex?: boolean | undefined;
121
- toReversed?: boolean | undefined;
122
- toSorted?: boolean | undefined;
123
- toSpliced?: boolean | undefined;
124
- with?: boolean | undefined;
125
- [Symbol.iterator]?: boolean | undefined;
126
- readonly [Symbol.unscopables]?: boolean | undefined;
127
- };
128
- } | undefined;
129
- readonly outputs?: {
130
- readonly [x: number]: {
131
- readonly name?: string | undefined;
132
- readonly indexed?: boolean | undefined;
133
- readonly type?: string | undefined;
134
- readonly internalType?: string | undefined;
135
- readonly components?: /*elided*/ any | undefined;
136
- };
137
- readonly length: number;
138
- toString: {};
139
- toLocaleString: {};
140
- concat: {};
141
- join: {};
142
- slice: {};
143
- indexOf: {};
144
- lastIndexOf: {};
145
- every: {};
146
- some: {};
147
- forEach: {};
148
- map: {};
149
- filter: {};
150
- reduce: {};
151
- reduceRight: {};
152
- find: {};
153
- findIndex: {};
154
- entries: {};
155
- keys: {};
156
- values: {};
157
- includes: {};
158
- flatMap: {};
159
- flat: {};
160
- at: {};
161
- findLast: {};
162
- findLastIndex: {};
163
- toReversed: {};
164
- toSorted: {};
165
- toSpliced: {};
166
- with: {};
167
- [Symbol.iterator]: {};
168
- readonly [Symbol.unscopables]: {
169
- readonly [x: number]: boolean | undefined;
170
- readonly length?: boolean | undefined;
171
- toString?: boolean | undefined;
172
- toLocaleString?: boolean | undefined;
173
- concat?: boolean | undefined;
174
- join?: boolean | undefined;
175
- slice?: boolean | undefined;
176
- indexOf?: boolean | undefined;
177
- lastIndexOf?: boolean | undefined;
178
- every?: boolean | undefined;
179
- some?: boolean | undefined;
180
- forEach?: boolean | undefined;
181
- map?: boolean | undefined;
182
- filter?: boolean | undefined;
183
- reduce?: boolean | undefined;
184
- reduceRight?: boolean | undefined;
185
- find?: boolean | undefined;
186
- findIndex?: boolean | undefined;
187
- entries?: boolean | undefined;
188
- keys?: boolean | undefined;
189
- values?: boolean | undefined;
190
- includes?: boolean | undefined;
191
- flatMap?: boolean | undefined;
192
- flat?: boolean | undefined;
193
- at?: boolean | undefined;
194
- findLast?: boolean | undefined;
195
- findLastIndex?: boolean | undefined;
196
- toReversed?: boolean | undefined;
197
- toSorted?: boolean | undefined;
198
- toSpliced?: boolean | undefined;
199
- with?: boolean | undefined;
200
- [Symbol.iterator]?: boolean | undefined;
201
- readonly [Symbol.unscopables]?: boolean | undefined;
202
- };
203
- } | undefined;
204
- readonly gas?: string | undefined;
205
- };
206
- readonly length: number;
207
- toString: {};
208
- toLocaleString: {};
209
- concat: {};
210
- join: {};
211
- slice: {};
212
- indexOf: {};
213
- lastIndexOf: {};
214
- every: {};
215
- some: {};
216
- forEach: {};
217
- map: {};
218
- filter: {};
219
- reduce: {};
220
- reduceRight: {};
221
- find: {};
222
- findIndex: {};
223
- entries: {};
224
- keys: {};
225
- values: {};
226
- includes: {};
227
- flatMap: {};
228
- flat: {};
229
- at: {};
230
- findLast: {};
231
- findLastIndex: {};
232
- toReversed: {};
233
- toSorted: {};
234
- toSpliced: {};
235
- with: {};
236
- [Symbol.iterator]: {};
237
- readonly [Symbol.unscopables]: {
238
- readonly [x: number]: boolean | undefined;
239
- readonly length?: boolean | undefined;
240
- toString?: boolean | undefined;
241
- toLocaleString?: boolean | undefined;
242
- concat?: boolean | undefined;
243
- join?: boolean | undefined;
244
- slice?: boolean | undefined;
245
- indexOf?: boolean | undefined;
246
- lastIndexOf?: boolean | undefined;
247
- every?: boolean | undefined;
248
- some?: boolean | undefined;
249
- forEach?: boolean | undefined;
250
- map?: boolean | undefined;
251
- filter?: boolean | undefined;
252
- reduce?: boolean | undefined;
253
- reduceRight?: boolean | undefined;
254
- find?: boolean | undefined;
255
- findIndex?: boolean | undefined;
256
- entries?: boolean | undefined;
257
- keys?: boolean | undefined;
258
- values?: boolean | undefined;
259
- includes?: boolean | undefined;
260
- flatMap?: boolean | undefined;
261
- flat?: boolean | undefined;
262
- at?: boolean | undefined;
263
- findLast?: boolean | undefined;
264
- findLastIndex?: boolean | undefined;
265
- toReversed?: boolean | undefined;
266
- toSorted?: boolean | undefined;
267
- toSpliced?: boolean | undefined;
268
- with?: boolean | undefined;
269
- [Symbol.iterator]?: boolean | undefined;
270
- readonly [Symbol.unscopables]?: boolean | undefined;
271
- };
272
- };
273
- }>;
274
- ephemeralQueryAccountEnabled?: boolean;
275
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
276
- } & {
277
- providers: import("ethers").Provider[];
278
- }>>;
279
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUjD,CAAA"}
@@ -1,18 +0,0 @@
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 type CryptoContractFunctionReadWitnessParams = 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
@@ -1 +0,0 @@
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,MAAM,uCAAuC,GAAG,aAAa,CACjE,eAAe,CAAC,uCAAuC,CAAC,EACxD;IACE,SAAS,EAAE,QAAQ,EAAE,CAAA;CACtB,CACF,CAAA;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"}
@@ -1 +0,0 @@
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"}