@nucypher/taco 0.7.0-alpha.10 → 0.7.0-alpha.12

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 (39) hide show
  1. package/dist/cjs/conditions/const.d.ts +1 -0
  2. package/dist/cjs/conditions/const.js +2 -1
  3. package/dist/cjs/conditions/const.js.map +1 -1
  4. package/dist/cjs/conditions/context/context.js +2 -0
  5. package/dist/cjs/conditions/context/context.js.map +1 -1
  6. package/dist/cjs/conditions/schemas/context-variable.d.ts +93 -33
  7. package/dist/cjs/conditions/schemas/contract.d.ts +121 -49
  8. package/dist/cjs/conditions/schemas/json-api.d.ts +121 -49
  9. package/dist/cjs/conditions/schemas/json-rpc.d.ts +121 -49
  10. package/dist/cjs/conditions/schemas/json.d.ts +95 -35
  11. package/dist/cjs/conditions/schemas/return-value-test.d.ts +156 -60
  12. package/dist/cjs/conditions/schemas/rpc.d.ts +97 -37
  13. package/dist/cjs/conditions/schemas/signing.js +60 -31
  14. package/dist/cjs/conditions/schemas/signing.js.map +1 -1
  15. package/dist/cjs/conditions/schemas/time.d.ts +94 -34
  16. package/dist/cjs/conditions/schemas/variable-operation.d.ts +67 -19
  17. package/dist/cjs/conditions/schemas/variable-operation.js +27 -3
  18. package/dist/cjs/conditions/schemas/variable-operation.js.map +1 -1
  19. package/dist/es/conditions/const.d.ts +1 -0
  20. package/dist/es/conditions/const.js +1 -0
  21. package/dist/es/conditions/const.js.map +1 -1
  22. package/dist/es/conditions/context/context.js +3 -1
  23. package/dist/es/conditions/context/context.js.map +1 -1
  24. package/dist/es/conditions/schemas/context-variable.d.ts +95 -35
  25. package/dist/es/conditions/schemas/contract.d.ts +121 -49
  26. package/dist/es/conditions/schemas/json-api.d.ts +121 -49
  27. package/dist/es/conditions/schemas/json-rpc.d.ts +121 -49
  28. package/dist/es/conditions/schemas/json.d.ts +95 -35
  29. package/dist/es/conditions/schemas/return-value-test.d.ts +156 -60
  30. package/dist/es/conditions/schemas/rpc.d.ts +97 -37
  31. package/dist/es/conditions/schemas/signing.js +60 -31
  32. package/dist/es/conditions/schemas/signing.js.map +1 -1
  33. package/dist/es/conditions/schemas/time.d.ts +94 -34
  34. package/dist/es/conditions/schemas/variable-operation.d.ts +67 -19
  35. package/dist/es/conditions/schemas/variable-operation.js +28 -4
  36. package/dist/es/conditions/schemas/variable-operation.js.map +1 -1
  37. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  38. package/dist/tsconfig.es.tsbuildinfo +1 -1
  39. package/package.json +3 -3
@@ -11,92 +11,152 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
11
11
  returnValueTest: z.ZodEffects<z.ZodObject<{
12
12
  index: z.ZodOptional<z.ZodNumber>;
13
13
  comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
14
- operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
15
- operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "toTokenBaseUnits", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
14
+ operations: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{} & {
15
+ operation: z.ZodEnum<[string, ...string[]]>;
16
16
  value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
17
17
  }, "strip", z.ZodTypeAny, {
18
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
18
+ operation: string;
19
19
  value?: any;
20
20
  }, {
21
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
21
+ operation: string;
22
22
  value?: any;
23
23
  }>, {
24
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
24
+ operation: string;
25
25
  value?: any;
26
26
  }, {
27
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
27
+ operation: string;
28
28
  value?: any;
29
29
  }>, {
30
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
30
+ operation: string;
31
31
  value?: any;
32
32
  }, {
33
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
33
+ operation: string;
34
34
  value?: any;
35
- }>, "many">>;
35
+ }>, z.ZodObject<{} & {
36
+ operation: z.ZodLiteral<"create2">;
37
+ value: z.ZodObject<{
38
+ deployerAddress: z.ZodUnion<[z.ZodString, z.ZodString]>;
39
+ bytecodeHash: z.ZodUnion<[z.ZodString, z.ZodString]>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ deployerAddress: string;
42
+ bytecodeHash: string;
43
+ }, {
44
+ deployerAddress: string;
45
+ bytecodeHash: string;
46
+ }>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ value: {
49
+ deployerAddress: string;
50
+ bytecodeHash: string;
51
+ };
52
+ operation: "create2";
53
+ }, {
54
+ value: {
55
+ deployerAddress: string;
56
+ bytecodeHash: string;
57
+ };
58
+ operation: "create2";
59
+ }>]>, "many">>;
36
60
  } & {
37
61
  value: z.ZodType<any, z.ZodTypeDef, any>;
38
62
  }, "strip", z.ZodTypeAny, {
39
63
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
40
- index?: number | undefined;
41
64
  value?: any;
42
- operations?: {
43
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
65
+ index?: number | undefined;
66
+ operations?: ({
67
+ operation: string;
44
68
  value?: any;
45
- }[] | undefined;
69
+ } | {
70
+ value: {
71
+ deployerAddress: string;
72
+ bytecodeHash: string;
73
+ };
74
+ operation: "create2";
75
+ })[] | undefined;
46
76
  }, {
47
77
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
48
- index?: number | undefined;
49
78
  value?: any;
50
- operations?: {
51
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
79
+ index?: number | undefined;
80
+ operations?: ({
81
+ operation: string;
52
82
  value?: any;
53
- }[] | undefined;
83
+ } | {
84
+ value: {
85
+ deployerAddress: string;
86
+ bytecodeHash: string;
87
+ };
88
+ operation: "create2";
89
+ })[] | undefined;
54
90
  }>, {
55
91
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
56
- index?: number | undefined;
57
92
  value?: any;
58
- operations?: {
59
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
93
+ index?: number | undefined;
94
+ operations?: ({
95
+ operation: string;
60
96
  value?: any;
61
- }[] | undefined;
97
+ } | {
98
+ value: {
99
+ deployerAddress: string;
100
+ bytecodeHash: string;
101
+ };
102
+ operation: "create2";
103
+ })[] | undefined;
62
104
  }, {
63
105
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
64
- index?: number | undefined;
65
106
  value?: any;
66
- operations?: {
67
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
107
+ index?: number | undefined;
108
+ operations?: ({
109
+ operation: string;
68
110
  value?: any;
69
- }[] | undefined;
111
+ } | {
112
+ value: {
113
+ deployerAddress: string;
114
+ bytecodeHash: string;
115
+ };
116
+ operation: "create2";
117
+ })[] | undefined;
70
118
  }>;
71
119
  }, "strip", z.ZodTypeAny, {
72
120
  conditionType: "json-rpc";
73
- endpoint: string;
74
- method: string;
75
121
  returnValueTest: {
76
122
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
77
- index?: number | undefined;
78
123
  value?: any;
79
- operations?: {
80
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
124
+ index?: number | undefined;
125
+ operations?: ({
126
+ operation: string;
81
127
  value?: any;
82
- }[] | undefined;
128
+ } | {
129
+ value: {
130
+ deployerAddress: string;
131
+ bytecodeHash: string;
132
+ };
133
+ operation: "create2";
134
+ })[] | undefined;
83
135
  };
136
+ method: string;
137
+ endpoint: string;
84
138
  params?: unknown[] | Record<string, unknown> | undefined;
85
139
  query?: string | undefined;
86
140
  authorizationToken?: string | undefined;
87
141
  authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
88
142
  }, {
89
- endpoint: string;
90
- method: string;
91
143
  returnValueTest: {
92
144
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
93
- index?: number | undefined;
94
145
  value?: any;
95
- operations?: {
96
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
146
+ index?: number | undefined;
147
+ operations?: ({
148
+ operation: string;
97
149
  value?: any;
98
- }[] | undefined;
150
+ } | {
151
+ value: {
152
+ deployerAddress: string;
153
+ bytecodeHash: string;
154
+ };
155
+ operation: "create2";
156
+ })[] | undefined;
99
157
  };
158
+ method: string;
159
+ endpoint: string;
100
160
  params?: unknown[] | Record<string, unknown> | undefined;
101
161
  conditionType?: "json-rpc" | undefined;
102
162
  query?: string | undefined;
@@ -104,33 +164,45 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
104
164
  authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
105
165
  }>, {
106
166
  conditionType: "json-rpc";
107
- endpoint: string;
108
- method: string;
109
167
  returnValueTest: {
110
168
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
111
- index?: number | undefined;
112
169
  value?: any;
113
- operations?: {
114
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
170
+ index?: number | undefined;
171
+ operations?: ({
172
+ operation: string;
115
173
  value?: any;
116
- }[] | undefined;
174
+ } | {
175
+ value: {
176
+ deployerAddress: string;
177
+ bytecodeHash: string;
178
+ };
179
+ operation: "create2";
180
+ })[] | undefined;
117
181
  };
182
+ method: string;
183
+ endpoint: string;
118
184
  params?: unknown[] | Record<string, unknown> | undefined;
119
185
  query?: string | undefined;
120
186
  authorizationToken?: string | undefined;
121
187
  authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
122
188
  }, {
123
- endpoint: string;
124
- method: string;
125
189
  returnValueTest: {
126
190
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
127
- index?: number | undefined;
128
191
  value?: any;
129
- operations?: {
130
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
192
+ index?: number | undefined;
193
+ operations?: ({
194
+ operation: string;
131
195
  value?: any;
132
- }[] | undefined;
196
+ } | {
197
+ value: {
198
+ deployerAddress: string;
199
+ bytecodeHash: string;
200
+ };
201
+ operation: "create2";
202
+ })[] | undefined;
133
203
  };
204
+ method: string;
205
+ endpoint: string;
134
206
  params?: unknown[] | Record<string, unknown> | undefined;
135
207
  conditionType?: "json-rpc" | undefined;
136
208
  query?: string | undefined;
@@ -7,87 +7,147 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
7
7
  returnValueTest: z.ZodEffects<z.ZodObject<{
8
8
  index: z.ZodOptional<z.ZodNumber>;
9
9
  comparator: z.ZodEnum<["==", ">", "<", ">=", "<=", "!=", "in", "!in"]>;
10
- operations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
11
- operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "toTokenBaseUnits", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str", "fromJson", "toJson", "fromHex", "toHex", "keccak"]>;
10
+ operations: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{} & {
11
+ operation: z.ZodEnum<[string, ...string[]]>;
12
12
  value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
13
13
  }, "strip", z.ZodTypeAny, {
14
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
14
+ operation: string;
15
15
  value?: any;
16
16
  }, {
17
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
17
+ operation: string;
18
18
  value?: any;
19
19
  }>, {
20
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
20
+ operation: string;
21
21
  value?: any;
22
22
  }, {
23
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
23
+ operation: string;
24
24
  value?: any;
25
25
  }>, {
26
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
26
+ operation: string;
27
27
  value?: any;
28
28
  }, {
29
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
29
+ operation: string;
30
30
  value?: any;
31
- }>, "many">>;
31
+ }>, z.ZodObject<{} & {
32
+ operation: z.ZodLiteral<"create2">;
33
+ value: z.ZodObject<{
34
+ deployerAddress: z.ZodUnion<[z.ZodString, z.ZodString]>;
35
+ bytecodeHash: z.ZodUnion<[z.ZodString, z.ZodString]>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ deployerAddress: string;
38
+ bytecodeHash: string;
39
+ }, {
40
+ deployerAddress: string;
41
+ bytecodeHash: string;
42
+ }>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ value: {
45
+ deployerAddress: string;
46
+ bytecodeHash: string;
47
+ };
48
+ operation: "create2";
49
+ }, {
50
+ value: {
51
+ deployerAddress: string;
52
+ bytecodeHash: string;
53
+ };
54
+ operation: "create2";
55
+ }>]>, "many">>;
32
56
  } & {
33
57
  value: z.ZodType<any, z.ZodTypeDef, any>;
34
58
  }, "strip", z.ZodTypeAny, {
35
59
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
36
- index?: number | undefined;
37
60
  value?: any;
38
- operations?: {
39
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
61
+ index?: number | undefined;
62
+ operations?: ({
63
+ operation: string;
40
64
  value?: any;
41
- }[] | undefined;
65
+ } | {
66
+ value: {
67
+ deployerAddress: string;
68
+ bytecodeHash: string;
69
+ };
70
+ operation: "create2";
71
+ })[] | undefined;
42
72
  }, {
43
73
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
44
- index?: number | undefined;
45
74
  value?: any;
46
- operations?: {
47
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
75
+ index?: number | undefined;
76
+ operations?: ({
77
+ operation: string;
48
78
  value?: any;
49
- }[] | undefined;
79
+ } | {
80
+ value: {
81
+ deployerAddress: string;
82
+ bytecodeHash: string;
83
+ };
84
+ operation: "create2";
85
+ })[] | undefined;
50
86
  }>, {
51
87
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
52
- index?: number | undefined;
53
88
  value?: any;
54
- operations?: {
55
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
89
+ index?: number | undefined;
90
+ operations?: ({
91
+ operation: string;
56
92
  value?: any;
57
- }[] | undefined;
93
+ } | {
94
+ value: {
95
+ deployerAddress: string;
96
+ bytecodeHash: string;
97
+ };
98
+ operation: "create2";
99
+ })[] | undefined;
58
100
  }, {
59
101
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
60
- index?: number | undefined;
61
102
  value?: any;
62
- operations?: {
63
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
103
+ index?: number | undefined;
104
+ operations?: ({
105
+ operation: string;
64
106
  value?: any;
65
- }[] | undefined;
107
+ } | {
108
+ value: {
109
+ deployerAddress: string;
110
+ bytecodeHash: string;
111
+ };
112
+ operation: "create2";
113
+ })[] | undefined;
66
114
  }>;
67
115
  }, "strip", z.ZodTypeAny, {
68
116
  conditionType: "json";
117
+ data: string;
69
118
  returnValueTest: {
70
119
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
71
- index?: number | undefined;
72
120
  value?: any;
73
- operations?: {
74
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
121
+ index?: number | undefined;
122
+ operations?: ({
123
+ operation: string;
75
124
  value?: any;
76
- }[] | undefined;
125
+ } | {
126
+ value: {
127
+ deployerAddress: string;
128
+ bytecodeHash: string;
129
+ };
130
+ operation: "create2";
131
+ })[] | undefined;
77
132
  };
78
- data: string;
79
133
  query?: string | undefined;
80
134
  }, {
135
+ data: string;
81
136
  returnValueTest: {
82
137
  comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
83
- index?: number | undefined;
84
138
  value?: any;
85
- operations?: {
86
- operation: "+=" | "-=" | "*=" | "/=" | "%=" | "toTokenBaseUnits" | "index" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "float" | "int" | "str" | "fromJson" | "toJson" | "fromHex" | "toHex" | "keccak";
139
+ index?: number | undefined;
140
+ operations?: ({
141
+ operation: string;
87
142
  value?: any;
88
- }[] | undefined;
143
+ } | {
144
+ value: {
145
+ deployerAddress: string;
146
+ bytecodeHash: string;
147
+ };
148
+ operation: "create2";
149
+ })[] | undefined;
89
150
  };
90
- data: string;
91
151
  conditionType?: "json" | undefined;
92
152
  query?: string | undefined;
93
153
  }>;