@tributary-so/sdk
    Preparing search index...

    Type Alias PolicyStatus

    PolicyStatus: IdlTypes<Tributary>["policyStatus"]

    Lifecycle status of a policy (PaymentPolicy or ComposablePolicy). Unified on-chain enum: active | paused | completed.

    • active: payments can be executed.
    • paused: owner-initiated pause (toggleable via changePaymentPolicyStatus / changeComposablePolicyStatus).
    • completed: program-internal terminal state. For PaymentPolicy this is set by the program when a subscription hits max_renewals or all milestones are released; it is NOT accepted from owners in change_payment_policy_status. PayAsYouGo never auto-completes (no global max).

    Note: accounts that terminated before the unification keep their legacy paused status; only new terminal transitions write completed.