Variable EvmDataConditionSchemaConst
EvmDataConditionSchema: ZodObject<
{
function: ZodString;
params: ZodOptional<
ZodArray<
ZodUnion<
[
ZodObject<
{
name: ZodUnion<[ZodString, ZodString]>;
operator: ZodEnum<[">", ">=", "<", "<=", "=="]>;
value: ZodString;
},
"strip",
ZodTypeAny,
{
name: string;
operator: ">"
| ">="
| "<"
| "<="
| "==";
value: string;
},
{
name: string;
operator: ">"
| ">="
| "<"
| "<="
| "==";
value: string;
},
>,
ZodObject<
{
name: ZodUnion<[ZodString, ZodString]>;
operator: ZodEnum<["in", "not in"]>;
values: ZodArray<ZodString, "many">;
},
"strip",
ZodTypeAny,
{ name: string; operator: "in"
| "not in"; values: string[] },
{ name: string; operator: "in" | "not in"; values: string[] },
>,
],
>,
"many",
>,
>;
},
"strip",
ZodTypeAny,
{
function: string;
params?: (
| { name: string; operator: "in"
| "not in"; values: string[] }
| {
name: string;
operator: ">" | ">=" | "<" | "<=" | "==";
value: string;
}
)[];
},
{
function: string;
params?: (
| { name: string; operator: "in"
| "not in"; values: string[] }
| {
name: string;
operator: ">" | ">=" | "<" | "<=" | "==";
value: string;
}
)[];
},
> = ...
A single condition to apply against the function and encoded arguments in the transaction's
data
field. Eachparameter
configuration must be successfully evaluated against the corresponding function argument in order for a policy to be accepted.