@pwngh/economy-lab
    Preparing search index...

    Interface PromoGrant

    One stored marketing promo grant, for the promo-expiry sweep to reverse (see PromoStore).

    interface PromoGrant {
        amount: Amount;
        expiresAt: number;
        id: string;
        reversed: boolean;
        userId: string;
    }
    Index
    amount: Amount

    The full grant, in CREDIT; the sweep reverses only what the user hasn't already spent.

    expiresAt: number
    id: string

    Reuses the grant posting's txn_ id, so open is idempotent on it.

    reversed: boolean

    Set true once the unspent remainder is reversed; claimDue skips it thereafter.

    userId: string