@nucypher/taco 0.7.0-alpha.6 → 0.7.0-alpha.8
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/cjs/conditions/context/context.js +25 -2
- package/dist/cjs/conditions/context/context.js.map +1 -1
- package/dist/cjs/conditions/schemas/context-variable.d.ts +15 -15
- package/dist/cjs/conditions/schemas/contract.d.ts +31 -31
- package/dist/cjs/conditions/schemas/json-api.d.ts +15 -15
- package/dist/cjs/conditions/schemas/json-rpc.d.ts +19 -19
- package/dist/cjs/conditions/schemas/json.d.ts +14 -14
- package/dist/cjs/conditions/schemas/return-value-test.d.ts +22 -22
- package/dist/cjs/conditions/schemas/rpc.d.ts +17 -17
- package/dist/cjs/conditions/schemas/sequential.d.ts +2 -0
- package/dist/cjs/conditions/schemas/sequential.js +9 -8
- package/dist/cjs/conditions/schemas/sequential.js.map +1 -1
- package/dist/cjs/conditions/schemas/time.d.ts +16 -16
- package/dist/cjs/conditions/schemas/utils.js +2 -0
- package/dist/cjs/conditions/schemas/utils.js.map +1 -1
- package/dist/cjs/conditions/schemas/variable-operation.d.ts +15 -15
- package/dist/cjs/conditions/schemas/variable-operation.js +16 -0
- package/dist/cjs/conditions/schemas/variable-operation.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/sign.js +15 -10
- package/dist/cjs/sign.js.map +1 -1
- package/dist/es/conditions/context/context.js +25 -2
- package/dist/es/conditions/context/context.js.map +1 -1
- package/dist/es/conditions/schemas/context-variable.d.ts +15 -15
- package/dist/es/conditions/schemas/contract.d.ts +31 -31
- package/dist/es/conditions/schemas/json-api.d.ts +15 -15
- package/dist/es/conditions/schemas/json-rpc.d.ts +19 -19
- package/dist/es/conditions/schemas/json.d.ts +14 -14
- package/dist/es/conditions/schemas/return-value-test.d.ts +22 -22
- package/dist/es/conditions/schemas/rpc.d.ts +17 -17
- package/dist/es/conditions/schemas/sequential.d.ts +2 -0
- package/dist/es/conditions/schemas/sequential.js +2 -2
- package/dist/es/conditions/schemas/sequential.js.map +1 -1
- package/dist/es/conditions/schemas/time.d.ts +16 -16
- package/dist/es/conditions/schemas/utils.js +2 -0
- package/dist/es/conditions/schemas/utils.js.map +1 -1
- package/dist/es/conditions/schemas/variable-operation.d.ts +15 -15
- package/dist/es/conditions/schemas/variable-operation.js +16 -0
- package/dist/es/conditions/schemas/variable-operation.js.map +1 -1
- package/dist/es/index.d.ts +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/es/sign.js +15 -10
- package/dist/es/sign.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.es.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -159,25 +159,25 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
159
159
|
index: z.ZodOptional<z.ZodNumber>;
|
|
160
160
|
comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
|
|
161
161
|
operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
162
|
-
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
162
|
+
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
|
|
163
163
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
operation: "float" | "
|
|
165
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
166
166
|
value?: any;
|
|
167
167
|
}, {
|
|
168
|
-
operation: "float" | "
|
|
168
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
169
169
|
value?: any;
|
|
170
170
|
}>, {
|
|
171
|
-
operation: "float" | "
|
|
171
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
172
172
|
value?: any;
|
|
173
173
|
}, {
|
|
174
|
-
operation: "float" | "
|
|
174
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
175
175
|
value?: any;
|
|
176
176
|
}>, {
|
|
177
|
-
operation: "float" | "
|
|
177
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
178
178
|
value?: any;
|
|
179
179
|
}, {
|
|
180
|
-
operation: "float" | "
|
|
180
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
181
181
|
value?: any;
|
|
182
182
|
}>, "many">>;
|
|
183
183
|
} & {
|
|
@@ -187,7 +187,7 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
187
187
|
value?: any;
|
|
188
188
|
index?: number | undefined;
|
|
189
189
|
operations?: {
|
|
190
|
-
operation: "float" | "
|
|
190
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
191
191
|
value?: any;
|
|
192
192
|
}[] | undefined;
|
|
193
193
|
}, {
|
|
@@ -195,7 +195,7 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
195
195
|
value?: any;
|
|
196
196
|
index?: number | undefined;
|
|
197
197
|
operations?: {
|
|
198
|
-
operation: "float" | "
|
|
198
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
199
199
|
value?: any;
|
|
200
200
|
}[] | undefined;
|
|
201
201
|
}>, {
|
|
@@ -203,7 +203,7 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
203
203
|
value?: any;
|
|
204
204
|
index?: number | undefined;
|
|
205
205
|
operations?: {
|
|
206
|
-
operation: "float" | "
|
|
206
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
207
207
|
value?: any;
|
|
208
208
|
}[] | undefined;
|
|
209
209
|
}, {
|
|
@@ -211,7 +211,7 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
211
211
|
value?: any;
|
|
212
212
|
index?: number | undefined;
|
|
213
213
|
operations?: {
|
|
214
|
-
operation: "float" | "
|
|
214
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
215
215
|
value?: any;
|
|
216
216
|
}[] | undefined;
|
|
217
217
|
}>;
|
|
@@ -362,19 +362,20 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
362
362
|
parameters: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
364
364
|
conditionType: "contract";
|
|
365
|
+
chain: number;
|
|
366
|
+
method: string;
|
|
367
|
+
parameters: any[];
|
|
365
368
|
returnValueTest: {
|
|
366
369
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
367
370
|
value?: any;
|
|
368
371
|
index?: number | undefined;
|
|
369
372
|
operations?: {
|
|
370
|
-
operation: "float" | "
|
|
373
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
371
374
|
value?: any;
|
|
372
375
|
}[] | undefined;
|
|
373
376
|
};
|
|
374
|
-
chain: number;
|
|
375
|
-
method: string;
|
|
376
|
-
parameters: any[];
|
|
377
377
|
contractAddress: string;
|
|
378
|
+
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
378
379
|
functionAbi?: {
|
|
379
380
|
type: "function";
|
|
380
381
|
name: string;
|
|
@@ -394,22 +395,22 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
394
395
|
}[]];
|
|
395
396
|
stateMutability: "view" | "pure";
|
|
396
397
|
} | undefined;
|
|
397
|
-
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
398
398
|
}, {
|
|
399
|
+
chain: number;
|
|
400
|
+
method: string;
|
|
401
|
+
parameters: any[];
|
|
399
402
|
returnValueTest: {
|
|
400
403
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
401
404
|
value?: any;
|
|
402
405
|
index?: number | undefined;
|
|
403
406
|
operations?: {
|
|
404
|
-
operation: "float" | "
|
|
407
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
405
408
|
value?: any;
|
|
406
409
|
}[] | undefined;
|
|
407
410
|
};
|
|
408
|
-
chain: number;
|
|
409
|
-
method: string;
|
|
410
|
-
parameters: any[];
|
|
411
411
|
contractAddress: string;
|
|
412
412
|
conditionType?: "contract" | undefined;
|
|
413
|
+
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
413
414
|
functionAbi?: {
|
|
414
415
|
type: "function";
|
|
415
416
|
name: string;
|
|
@@ -429,22 +430,22 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
429
430
|
}[]];
|
|
430
431
|
stateMutability: "view" | "pure";
|
|
431
432
|
} | undefined;
|
|
432
|
-
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
433
433
|
}>, {
|
|
434
434
|
conditionType: "contract";
|
|
435
|
+
chain: number;
|
|
436
|
+
method: string;
|
|
437
|
+
parameters: any[];
|
|
435
438
|
returnValueTest: {
|
|
436
439
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
437
440
|
value?: any;
|
|
438
441
|
index?: number | undefined;
|
|
439
442
|
operations?: {
|
|
440
|
-
operation: "float" | "
|
|
443
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
441
444
|
value?: any;
|
|
442
445
|
}[] | undefined;
|
|
443
446
|
};
|
|
444
|
-
chain: number;
|
|
445
|
-
method: string;
|
|
446
|
-
parameters: any[];
|
|
447
447
|
contractAddress: string;
|
|
448
|
+
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
448
449
|
functionAbi?: {
|
|
449
450
|
type: "function";
|
|
450
451
|
name: string;
|
|
@@ -464,22 +465,22 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
464
465
|
}[]];
|
|
465
466
|
stateMutability: "view" | "pure";
|
|
466
467
|
} | undefined;
|
|
467
|
-
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
468
468
|
}, {
|
|
469
|
+
chain: number;
|
|
470
|
+
method: string;
|
|
471
|
+
parameters: any[];
|
|
469
472
|
returnValueTest: {
|
|
470
473
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
471
474
|
value?: any;
|
|
472
475
|
index?: number | undefined;
|
|
473
476
|
operations?: {
|
|
474
|
-
operation: "float" | "
|
|
477
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
475
478
|
value?: any;
|
|
476
479
|
}[] | undefined;
|
|
477
480
|
};
|
|
478
|
-
chain: number;
|
|
479
|
-
method: string;
|
|
480
|
-
parameters: any[];
|
|
481
481
|
contractAddress: string;
|
|
482
482
|
conditionType?: "contract" | undefined;
|
|
483
|
+
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
483
484
|
functionAbi?: {
|
|
484
485
|
type: "function";
|
|
485
486
|
name: string;
|
|
@@ -499,6 +500,5 @@ export declare const contractConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
499
500
|
}[]];
|
|
500
501
|
stateMutability: "view" | "pure";
|
|
501
502
|
} | undefined;
|
|
502
|
-
standardContractType?: "ERC20" | "ERC721" | undefined;
|
|
503
503
|
}>;
|
|
504
504
|
export type ContractConditionProps = z.infer<typeof contractConditionSchema>;
|
|
@@ -11,25 +11,25 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
11
11
|
index: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
|
|
13
13
|
operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
14
|
-
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
14
|
+
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
|
|
15
15
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
operation: "float" | "
|
|
17
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
18
18
|
value?: any;
|
|
19
19
|
}, {
|
|
20
|
-
operation: "float" | "
|
|
20
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
21
21
|
value?: any;
|
|
22
22
|
}>, {
|
|
23
|
-
operation: "float" | "
|
|
23
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
24
24
|
value?: any;
|
|
25
25
|
}, {
|
|
26
|
-
operation: "float" | "
|
|
26
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
27
27
|
value?: any;
|
|
28
28
|
}>, {
|
|
29
|
-
operation: "float" | "
|
|
29
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
30
30
|
value?: any;
|
|
31
31
|
}, {
|
|
32
|
-
operation: "float" | "
|
|
32
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
33
33
|
value?: any;
|
|
34
34
|
}>, "many">>;
|
|
35
35
|
} & {
|
|
@@ -39,7 +39,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
39
39
|
value?: any;
|
|
40
40
|
index?: number | undefined;
|
|
41
41
|
operations?: {
|
|
42
|
-
operation: "float" | "
|
|
42
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
43
43
|
value?: any;
|
|
44
44
|
}[] | undefined;
|
|
45
45
|
}, {
|
|
@@ -47,7 +47,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
47
47
|
value?: any;
|
|
48
48
|
index?: number | undefined;
|
|
49
49
|
operations?: {
|
|
50
|
-
operation: "float" | "
|
|
50
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
51
51
|
value?: any;
|
|
52
52
|
}[] | undefined;
|
|
53
53
|
}>, {
|
|
@@ -55,7 +55,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
55
55
|
value?: any;
|
|
56
56
|
index?: number | undefined;
|
|
57
57
|
operations?: {
|
|
58
|
-
operation: "float" | "
|
|
58
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
59
59
|
value?: any;
|
|
60
60
|
}[] | undefined;
|
|
61
61
|
}, {
|
|
@@ -63,7 +63,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
63
63
|
value?: any;
|
|
64
64
|
index?: number | undefined;
|
|
65
65
|
operations?: {
|
|
66
|
-
operation: "float" | "
|
|
66
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
67
67
|
value?: any;
|
|
68
68
|
}[] | undefined;
|
|
69
69
|
}>;
|
|
@@ -74,7 +74,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
74
74
|
value?: any;
|
|
75
75
|
index?: number | undefined;
|
|
76
76
|
operations?: {
|
|
77
|
-
operation: "float" | "
|
|
77
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
78
78
|
value?: any;
|
|
79
79
|
}[] | undefined;
|
|
80
80
|
};
|
|
@@ -89,7 +89,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
89
89
|
value?: any;
|
|
90
90
|
index?: number | undefined;
|
|
91
91
|
operations?: {
|
|
92
|
-
operation: "float" | "
|
|
92
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
93
93
|
value?: any;
|
|
94
94
|
}[] | undefined;
|
|
95
95
|
};
|
|
@@ -106,7 +106,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
106
106
|
value?: any;
|
|
107
107
|
index?: number | undefined;
|
|
108
108
|
operations?: {
|
|
109
|
-
operation: "float" | "
|
|
109
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
110
110
|
value?: any;
|
|
111
111
|
}[] | undefined;
|
|
112
112
|
};
|
|
@@ -121,7 +121,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
121
121
|
value?: any;
|
|
122
122
|
index?: number | undefined;
|
|
123
123
|
operations?: {
|
|
124
|
-
operation: "float" | "
|
|
124
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
125
125
|
value?: any;
|
|
126
126
|
}[] | undefined;
|
|
127
127
|
};
|
|
@@ -12,25 +12,25 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
12
12
|
index: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
|
|
14
14
|
operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
15
|
-
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
15
|
+
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
|
|
16
16
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
operation: "float" | "
|
|
18
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
19
19
|
value?: any;
|
|
20
20
|
}, {
|
|
21
|
-
operation: "float" | "
|
|
21
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
22
22
|
value?: any;
|
|
23
23
|
}>, {
|
|
24
|
-
operation: "float" | "
|
|
24
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
25
25
|
value?: any;
|
|
26
26
|
}, {
|
|
27
|
-
operation: "float" | "
|
|
27
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
28
28
|
value?: any;
|
|
29
29
|
}>, {
|
|
30
|
-
operation: "float" | "
|
|
30
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
31
31
|
value?: any;
|
|
32
32
|
}, {
|
|
33
|
-
operation: "float" | "
|
|
33
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
34
34
|
value?: any;
|
|
35
35
|
}>, "many">>;
|
|
36
36
|
} & {
|
|
@@ -40,7 +40,7 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
40
40
|
value?: any;
|
|
41
41
|
index?: number | undefined;
|
|
42
42
|
operations?: {
|
|
43
|
-
operation: "float" | "
|
|
43
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
44
44
|
value?: any;
|
|
45
45
|
}[] | undefined;
|
|
46
46
|
}, {
|
|
@@ -48,7 +48,7 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
48
48
|
value?: any;
|
|
49
49
|
index?: number | undefined;
|
|
50
50
|
operations?: {
|
|
51
|
-
operation: "float" | "
|
|
51
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
52
52
|
value?: any;
|
|
53
53
|
}[] | undefined;
|
|
54
54
|
}>, {
|
|
@@ -56,7 +56,7 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
56
56
|
value?: any;
|
|
57
57
|
index?: number | undefined;
|
|
58
58
|
operations?: {
|
|
59
|
-
operation: "float" | "
|
|
59
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
60
60
|
value?: any;
|
|
61
61
|
}[] | undefined;
|
|
62
62
|
}, {
|
|
@@ -64,38 +64,38 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
64
64
|
value?: any;
|
|
65
65
|
index?: number | undefined;
|
|
66
66
|
operations?: {
|
|
67
|
-
operation: "float" | "
|
|
67
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
68
68
|
value?: any;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
conditionType: "json-rpc";
|
|
73
|
-
method: string;
|
|
74
73
|
returnValueTest: {
|
|
75
74
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
76
75
|
value?: any;
|
|
77
76
|
index?: number | undefined;
|
|
78
77
|
operations?: {
|
|
79
|
-
operation: "float" | "
|
|
78
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
80
79
|
value?: any;
|
|
81
80
|
}[] | undefined;
|
|
82
81
|
};
|
|
82
|
+
method: string;
|
|
83
83
|
endpoint: string;
|
|
84
84
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
85
85
|
query?: string | undefined;
|
|
86
86
|
authorizationToken?: string | undefined;
|
|
87
87
|
authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
|
|
88
88
|
}, {
|
|
89
|
-
method: string;
|
|
90
89
|
returnValueTest: {
|
|
91
90
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
92
91
|
value?: any;
|
|
93
92
|
index?: number | undefined;
|
|
94
93
|
operations?: {
|
|
95
|
-
operation: "float" | "
|
|
94
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
96
95
|
value?: any;
|
|
97
96
|
}[] | undefined;
|
|
98
97
|
};
|
|
98
|
+
method: string;
|
|
99
99
|
endpoint: string;
|
|
100
100
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
101
101
|
conditionType?: "json-rpc" | undefined;
|
|
@@ -104,32 +104,32 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
104
104
|
authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
|
|
105
105
|
}>, {
|
|
106
106
|
conditionType: "json-rpc";
|
|
107
|
-
method: string;
|
|
108
107
|
returnValueTest: {
|
|
109
108
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
110
109
|
value?: any;
|
|
111
110
|
index?: number | undefined;
|
|
112
111
|
operations?: {
|
|
113
|
-
operation: "float" | "
|
|
112
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
114
113
|
value?: any;
|
|
115
114
|
}[] | undefined;
|
|
116
115
|
};
|
|
116
|
+
method: string;
|
|
117
117
|
endpoint: string;
|
|
118
118
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
119
119
|
query?: string | undefined;
|
|
120
120
|
authorizationToken?: string | undefined;
|
|
121
121
|
authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
|
|
122
122
|
}, {
|
|
123
|
-
method: string;
|
|
124
123
|
returnValueTest: {
|
|
125
124
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
126
125
|
value?: any;
|
|
127
126
|
index?: number | undefined;
|
|
128
127
|
operations?: {
|
|
129
|
-
operation: "float" | "
|
|
128
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
130
129
|
value?: any;
|
|
131
130
|
}[] | undefined;
|
|
132
131
|
};
|
|
132
|
+
method: string;
|
|
133
133
|
endpoint: string;
|
|
134
134
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
135
135
|
conditionType?: "json-rpc" | undefined;
|
|
@@ -8,25 +8,25 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
8
8
|
index: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
|
|
10
10
|
operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
11
|
-
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
11
|
+
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
|
|
12
12
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
operation: "float" | "
|
|
14
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
15
15
|
value?: any;
|
|
16
16
|
}, {
|
|
17
|
-
operation: "float" | "
|
|
17
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
18
18
|
value?: any;
|
|
19
19
|
}>, {
|
|
20
|
-
operation: "float" | "
|
|
20
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
21
21
|
value?: any;
|
|
22
22
|
}, {
|
|
23
|
-
operation: "float" | "
|
|
23
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
24
24
|
value?: any;
|
|
25
25
|
}>, {
|
|
26
|
-
operation: "float" | "
|
|
26
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
27
27
|
value?: any;
|
|
28
28
|
}, {
|
|
29
|
-
operation: "float" | "
|
|
29
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
30
30
|
value?: any;
|
|
31
31
|
}>, "many">>;
|
|
32
32
|
} & {
|
|
@@ -36,7 +36,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
36
36
|
value?: any;
|
|
37
37
|
index?: number | undefined;
|
|
38
38
|
operations?: {
|
|
39
|
-
operation: "float" | "
|
|
39
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
40
40
|
value?: any;
|
|
41
41
|
}[] | undefined;
|
|
42
42
|
}, {
|
|
@@ -44,7 +44,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
44
44
|
value?: any;
|
|
45
45
|
index?: number | undefined;
|
|
46
46
|
operations?: {
|
|
47
|
-
operation: "float" | "
|
|
47
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
48
48
|
value?: any;
|
|
49
49
|
}[] | undefined;
|
|
50
50
|
}>, {
|
|
@@ -52,7 +52,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
52
52
|
value?: any;
|
|
53
53
|
index?: number | undefined;
|
|
54
54
|
operations?: {
|
|
55
|
-
operation: "float" | "
|
|
55
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
56
56
|
value?: any;
|
|
57
57
|
}[] | undefined;
|
|
58
58
|
}, {
|
|
@@ -60,19 +60,19 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
60
60
|
value?: any;
|
|
61
61
|
index?: number | undefined;
|
|
62
62
|
operations?: {
|
|
63
|
-
operation: "float" | "
|
|
63
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
64
64
|
value?: any;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
data: string;
|
|
69
68
|
conditionType: "json";
|
|
69
|
+
data: string;
|
|
70
70
|
returnValueTest: {
|
|
71
71
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
72
72
|
value?: any;
|
|
73
73
|
index?: number | undefined;
|
|
74
74
|
operations?: {
|
|
75
|
-
operation: "float" | "
|
|
75
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
76
76
|
value?: any;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
};
|
|
@@ -84,7 +84,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
84
84
|
value?: any;
|
|
85
85
|
index?: number | undefined;
|
|
86
86
|
operations?: {
|
|
87
|
-
operation: "float" | "
|
|
87
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
88
88
|
value?: any;
|
|
89
89
|
}[] | undefined;
|
|
90
90
|
};
|