Interface IncentiveCriteria

interface IncentiveCriteria {
    criteriaType: SignatureType;
    signature: `0x${string}`;
    fieldIndex: number;
    targetContract: `0x${string}`;
}

Properties

criteriaType: SignatureType

The type of criteria used, either function signature or event signature.

signature: `0x${string}`

The function or event signature used for criteria matching.

fieldIndex: number

The index of the field from where the scalar value is extracted.

targetContract: `0x${string}`

The address of the contract where the event/function is called/emitted.