A schema for specifying a criterion for the data field of an EVM transaction.

interface EvmDataCriterion {
    abi: EvmDataCriterionAbi;
    conditions: EvmDataCondition[];
    type: "evmData";
}

Properties

Properties

The ABI of the smart contract being called. This can be a partial structure with only specific functions.

conditions: EvmDataCondition[]

A list of conditions to apply against the function and encoded arguments in the transaction's data field. Each condition must be met in order for this policy to be accepted or rejected.

type: "evmData"

The type of criterion to use. This should be evmData.