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