Reference
Addresses
Every address Pook uses on Solana mainnet: the program, the accounts derived from it, the launch hooks, the Rings accounts it composes with and the protocols its launch hooks call.
The program
| Account | Type | Meaning |
|---|---|---|
7qvNkZjiikySgCNbr8jbWbUziVka3Rw1NLwcxwmwwRwd | Program | pook. Every instruction on this site is one of its nine. |
F5LdT1ZsevWdh2HQviGQtUhoBn8nn9UYScqi3pE3F2Yr | Authority | Derived from the seed authority. It owns every holder’s notes, is the tag every Pook note carries, and signs only calls to the Solana Privacy Program. |
9hqmRBsxBtGkEywAuZ89McRqccDuVm68NJXcXNUQQdFf | Stage | Derived from the seed stage. It holds a run’s amount for the length of that run and signs a flow hook’s call to its protocol. |
9JtAtvLC4PNsKjEEiB1tNQN95GBgLfnRxqHotjaNfgZX | Config | Derived from the seed config. It holds the admin, the fee recipient, the run fee rate and the author’s share. |
AFMxmWEUi1oDVA9SHay9BV4jg1GZHfZPZawt8H8Tk4hW | Fee recipient | Receives the protocol share of every run fee, which buys POOK and burns it. |
Derived for each hook, author and seat
These addresses are derived from the program ID and the seeds below. The program reference gives each account's layout.
| Account | Seeds |
|---|---|
| A hook | hook, then the SHA-256 of the hook's name with its first byte set to zero |
| An author's fees in one asset | author_fees, the author's address, the mint (32 zero bytes for SOL) |
| A seat | seat, the seat's commitment |
| A seat's state | seat_state, the seat's commitment |
A token held by the stage, by a seat or by an author's fee account sits in that address's associated token account for the mint.
The launch hooks
| Hook | Type | Meaning |
|---|---|---|
jupiter.swap | flow | 8HiKfGPnbznq9TitBzaDQk7LJDx7XSuAijZAjLUpLycy |
kamino.supply | flow | EAMGsytxDxoa9zSa5fXThWBqrpvtbyYmjthSroCZN9k6 |
kamino.withdraw | flow | 3zEMRjd5ZHJxWkYVR5a7AdqA6iyKwXTwB939LYjRivLT |
jito.stake | flow | 2U6t4LZsA28f2YWt98oF71fpT8pg6NXQRaNz62UWwHnh |
jito.unstake | flow | AAviWNGwWm325DVMtdns7KRYdCQHv8LSGYaD14pSixjb |
kamino.collateral.deposit | seat | 81UHc9nTGtkRQUrx6goTRJTT2mq6NdP3bgXztysHW4dt |
kamino.borrow | seat | GSAZ7nQjpHKQ3c4GADa2qrgRHXnyPZriD9pwDa651YUo |
kamino.repay | seat | 366X4TkqkqJKn1FB5EMEmUbgRScfNUu2U8YceoC4UZL2 |
kamino.collateral.withdraw | seat | 41kReRwdfXXgBdB8U6pJVEFjxArTbvMCnGTjuQBdhLPa |
The registry lists every hook with its address, these and the ones published since.
Solana Privacy Rings
| Account | Type | Meaning |
|---|---|---|
ring1GaLCuJnkUMVkX2JeZLTTX17wKsV4fZmPVzXANW | Program | The Solana Privacy Program. It holds every note and verifies every spend. |
777pvSGe5LaBd9nCczvE2FXEauiwtfGJ5XRpjKyniGor | State tree | The tree Pook’s notes are written to. |
CiNmas621VuyofiDSrEPfTXHKrdZuB6jMKECyNiMpLXE | SOL interface | The account native SOL passes through on its way into and out of notes. |
Protocols the launch hooks call
| Program | Type | Meaning |
|---|---|---|
JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 | Jupiter | Swap |
KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | Kamino | Lend and borrow |
SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy | Jito | Stake |
Mints used in these docs
| Mint | Type | Meaning |
|---|---|---|
So11111111111111111111111111111111111111112 | SOL | The wrapped SOL mint. Name SOL by it in the SDK and the API. Notes hold native SOL. |
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | USDC | USD Coin. |
J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn | JitoSOL | Jito’s staked SOL. |
B8V6WVjPxW1UGwVDfxH2d2r8SyT4cqn7dQRK6XneVa7D | kUSDC | The deposit token of Kamino’s USDC reserve. |
GET /v1/config returns the assets the API knows by symbol, under supportedAssets.
Read from the API
GET /v1/config returns the program ID, the authority, stage and config addresses, the Solana Privacy Program, the state tree, the fee recipient and the POOK mint as the API is running with them. API reference.