# Programs

Programs are not open yet in the app. This page describes their contracts on Robinhood Chain.

One program covers up to 8 pools. Anyone can create one, the creator or a sponsor.

## Modes

| Mode | What it rewards |
| --- | --- |
| Instant | Creator points on each swap a trader opts into, at a fixed rate. Points only. |
| Daily swap | A share of each UTC day's budget of points and cash, by the trader's opted-in volume |
| Daily LP fees | A share of each day's budget, by the LP fees a position actually earned |
| Daily referral | A separate points budget, by the activity of traders a referrer brought |

## What a creator sets

| Setting | What it takes |
| --- | --- |
| Dates | Whole UTC days, up to 366 |
| Pools | Up to 8, each with a fixed rate that turns its quote into program units |
| Points | A budget and a lifetime cap per wallet, or a rate per unit for instant programs |
| Cash | A token budget, funded in full when the program is created, with a lifetime cap per wallet. Daily swap and LP-fee programs only. |
| Milestone NFTs | Up to 16, each a points threshold with a fixed number of awards |
| Checker and reviewer | Two different accounts, with a review wait of 6 days to 30 days |

## Opting in

A trader opts in by swapping through Hookr's router with the program's id, up to 8 programs a swap. Ordinary swaps never touch a program, so any wallet or app that routes through Hookr's router can enroll its users.

## How a day is paid

1. After the day ends, the checker posts its results within 90 days.
2. The reviewer can veto them during the review wait. A vetoed day finalizes only with the reviewer's approval of one exact version.
3. Once a day is final, people claim. Anyone can trigger a claim to the person who earned it.

A day nobody posts, or that stays vetoed, lapses after 90 days, and its cash goes back to the creator. Unused cash always goes back, and earned claims never expire.

## Points, Bux and NFTs

- Points and Bux are counters that cannot be moved and promise no cash.
- Hookr Bux add up across every program Hookr approves. Hookr approves a Bux program before it starts, in two steps at least 30 minutes apart and within 14 days.
- A milestone NFT is claimed, never minted during a swap. Whether it can be transferred is fixed when the program is created.

## Trust

The day's results are attested, not proved on chain. A creator who controls both the checker and the reviewer can zero days after people opt in, so read such a program as self-attested. Hookr takes no cut of a program.

---

This page: https://hookr.fun/docs/pools/programs. Every docs page as Markdown: https://hookr.fun/docs.md.
