Preset counter. SATISFIED while the current count is still below the preset target (accumulating). Becomes UNSATISFIED once the current count reaches or exceeds the preset value. No Tapscript equivalent exists.
PLCInvertible
Ladder Diagram
Fields
Field
Data Type
Size
Side
Description
current
NUMERIC
1-4 B
Conditions
Current counter value (NUMERIC[0])
preset
NUMERIC
1-4 B
Conditions
Target preset value (NUMERIC[1])
No witness fields required — evaluation uses only the two NUMERIC condition fields.
Gate a spending path on reaching a specific event count. The UTXO remains spendable (SATISFIED) while accumulating, and locks (UNSATISFIED) once the threshold is hit — triggering a transition to a different covenant path.
Accumulation Targets
Track deposit counts or confirmation milestones. A treasury UTXO can enforce that at least N contributions have been recorded before releasing funds by combining COUNTER_PRESET with other covenant blocks.
Batch Size Enforcement
Enforce that a batch processing covenant only fires after a preset number of items have been queued, preventing premature batch execution and ensuring efficiency.