@nucypher/taco 0.7.0-alpha.6 → 0.7.0-alpha.7
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/schemas/context-variable.d.ts +15 -15
- package/dist/cjs/conditions/schemas/contract.d.ts +15 -15
- 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 +13 -13
- package/dist/cjs/conditions/schemas/time.d.ts +13 -13
- 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/schemas/context-variable.d.ts +15 -15
- package/dist/es/conditions/schemas/contract.d.ts +15 -15
- 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 +13 -13
- package/dist/es/conditions/schemas/time.d.ts +13 -13
- 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
|
@@ -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
|
};
|
|
@@ -3,25 +3,25 @@ export declare const returnValueTestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3
3
|
index: z.ZodOptional<z.ZodNumber>;
|
|
4
4
|
comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
|
|
5
5
|
operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
6
|
-
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
6
|
+
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
|
|
7
7
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
operation: "float" | "
|
|
9
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
10
10
|
value?: any;
|
|
11
11
|
}, {
|
|
12
|
-
operation: "float" | "
|
|
12
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
13
13
|
value?: any;
|
|
14
14
|
}>, {
|
|
15
|
-
operation: "float" | "
|
|
15
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
16
16
|
value?: any;
|
|
17
17
|
}, {
|
|
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
|
}>, "many">>;
|
|
27
27
|
} & {
|
|
@@ -31,7 +31,7 @@ export declare const returnValueTestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31
31
|
value?: any;
|
|
32
32
|
index?: number | undefined;
|
|
33
33
|
operations?: {
|
|
34
|
-
operation: "float" | "
|
|
34
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
35
35
|
value?: any;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
}, {
|
|
@@ -39,7 +39,7 @@ export declare const returnValueTestSchema: 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 returnValueTestSchema: 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 returnValueTestSchema: 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,25 +63,25 @@ export declare const blockchainReturnValueTestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
63
63
|
index: z.ZodOptional<z.ZodNumber>;
|
|
64
64
|
comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
|
|
65
65
|
operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
66
|
-
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
66
|
+
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
|
|
67
67
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
operation: "float" | "
|
|
69
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
70
70
|
value?: any;
|
|
71
71
|
}, {
|
|
72
|
-
operation: "float" | "
|
|
72
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
73
73
|
value?: any;
|
|
74
74
|
}>, {
|
|
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
|
}, {
|
|
78
|
-
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";
|
|
79
79
|
value?: any;
|
|
80
80
|
}>, {
|
|
81
|
-
operation: "float" | "
|
|
81
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
82
82
|
value?: any;
|
|
83
83
|
}, {
|
|
84
|
-
operation: "float" | "
|
|
84
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
85
85
|
value?: any;
|
|
86
86
|
}>, "many">>;
|
|
87
87
|
} & {
|
|
@@ -91,7 +91,7 @@ export declare const blockchainReturnValueTestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
91
91
|
value?: any;
|
|
92
92
|
index?: number | undefined;
|
|
93
93
|
operations?: {
|
|
94
|
-
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";
|
|
95
95
|
value?: any;
|
|
96
96
|
}[] | undefined;
|
|
97
97
|
}, {
|
|
@@ -99,7 +99,7 @@ export declare const blockchainReturnValueTestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
99
99
|
value?: any;
|
|
100
100
|
index?: number | undefined;
|
|
101
101
|
operations?: {
|
|
102
|
-
operation: "float" | "
|
|
102
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
103
103
|
value?: any;
|
|
104
104
|
}[] | undefined;
|
|
105
105
|
}>, {
|
|
@@ -107,7 +107,7 @@ export declare const blockchainReturnValueTestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
107
107
|
value?: any;
|
|
108
108
|
index?: number | undefined;
|
|
109
109
|
operations?: {
|
|
110
|
-
operation: "float" | "
|
|
110
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
111
111
|
value?: any;
|
|
112
112
|
}[] | undefined;
|
|
113
113
|
}, {
|
|
@@ -115,7 +115,7 @@ export declare const blockchainReturnValueTestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
115
115
|
value?: any;
|
|
116
116
|
index?: number | undefined;
|
|
117
117
|
operations?: {
|
|
118
|
-
operation: "float" | "
|
|
118
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
119
119
|
value?: any;
|
|
120
120
|
}[] | undefined;
|
|
121
121
|
}>;
|
|
@@ -9,25 +9,25 @@ export declare const rpcConditionSchema: z.ZodObject<{} & {
|
|
|
9
9
|
index: z.ZodOptional<z.ZodNumber>;
|
|
10
10
|
comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
|
|
11
11
|
operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12
|
-
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
12
|
+
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
|
|
13
13
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
operation: "float" | "
|
|
15
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
16
16
|
value?: any;
|
|
17
17
|
}, {
|
|
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
|
}>, "many">>;
|
|
33
33
|
} & {
|
|
@@ -37,7 +37,7 @@ export declare const rpcConditionSchema: z.ZodObject<{} & {
|
|
|
37
37
|
value?: any;
|
|
38
38
|
index?: number | undefined;
|
|
39
39
|
operations?: {
|
|
40
|
-
operation: "float" | "
|
|
40
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
41
41
|
value?: any;
|
|
42
42
|
}[] | undefined;
|
|
43
43
|
}, {
|
|
@@ -45,7 +45,7 @@ export declare const rpcConditionSchema: z.ZodObject<{} & {
|
|
|
45
45
|
value?: any;
|
|
46
46
|
index?: number | undefined;
|
|
47
47
|
operations?: {
|
|
48
|
-
operation: "float" | "
|
|
48
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
49
49
|
value?: any;
|
|
50
50
|
}[] | undefined;
|
|
51
51
|
}>, {
|
|
@@ -53,7 +53,7 @@ export declare const rpcConditionSchema: z.ZodObject<{} & {
|
|
|
53
53
|
value?: any;
|
|
54
54
|
index?: number | undefined;
|
|
55
55
|
operations?: {
|
|
56
|
-
operation: "float" | "
|
|
56
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
57
57
|
value?: any;
|
|
58
58
|
}[] | undefined;
|
|
59
59
|
}, {
|
|
@@ -61,7 +61,7 @@ export declare const rpcConditionSchema: z.ZodObject<{} & {
|
|
|
61
61
|
value?: any;
|
|
62
62
|
index?: number | undefined;
|
|
63
63
|
operations?: {
|
|
64
|
-
operation: "float" | "
|
|
64
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
65
65
|
value?: any;
|
|
66
66
|
}[] | undefined;
|
|
67
67
|
}>;
|
|
@@ -72,7 +72,7 @@ export declare const rpcConditionSchema: z.ZodObject<{} & {
|
|
|
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
|
};
|
|
@@ -85,7 +85,7 @@ export declare const rpcConditionSchema: z.ZodObject<{} & {
|
|
|
85
85
|
value?: any;
|
|
86
86
|
index?: number | undefined;
|
|
87
87
|
operations?: {
|
|
88
|
-
operation: "float" | "
|
|
88
|
+
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
|
|
89
89
|
value?: any;
|
|
90
90
|
}[] | undefined;
|
|
91
91
|
};
|