• Creates a TriggeredWithExpiry condition. Behaves like Triggered — the program can fire it early (e.g. on a presale sell-out) — but with a hard deadline: past expiryTime it behaves like TimeAbsolute, and cranking it (via TriggerConditionsV2 or any deposit/claim) sets the triggered timestamp to exactly expiryTime.

    Use as a depositEndCondition (presale) or swapEndCondition (bonding curve): the sale ends at sell-out or at the expiry, whichever comes first. Unlike Triggered, the sale end is always bounded, so the postponable-start extension can validate postponements against expiryTime before the sale ends.

    Parameters

    • expiryTime: bigint

      Unix timestamp (seconds) at which the condition triggers unconditionally. Must be > 0 and < i64::MAX.

    Returns ConditionArgs

Generated using TypeDoc