Enum SwapTrigger
- Namespace
- NArk.ArkadeIntents.Services
- Assembly
- NArk.ArkadeIntents.dll
What makes a step happen.
public enum SwapTrigger
Fields
Client = 0We do it.
Solver = 1The counterparty does it, and we find out by watching.
Time = 2Nobody does it; a deadline passes.
Remarks
Deliberately not "who does it". Waiting out a locktime has no doer — nobody acts, a condition simply becomes true — and forcing that into an actor means inventing an agent that does not exist. Asking what causes a step instead covers both cases honestly, and it is the question a caller actually has: is this mine to do, am I waiting on someone, or am I waiting on nothing but time?