Operations
Treasury accounting
Read-only accounting of what PrimerPad earned, what it has claimed and what remains claimable, per quote Primitive. Nothing in this module claims, swaps or buys back.
Accounting model
accruedcurve = Σ claimedpartner + partnerQuoteFee
accruedLP = Σ position.metrics.totalClaimedBFee + Σ unclaimed(position)
| Column | Source |
|---|---|
| Accrued | claimed + claimable |
| Claimable | pool partnerQuoteFee + unclaimed LP fees of PrimerPad positions |
| Claimed | indexed partner claims + LP totalClaimedBFee |
| Wallet balance | fee claimer token account for the quote mint |
| Reference value | Jupiter USD price (mainnet Primitives only) |
primer treasury --network mainnet
primer treasury --network devnet --treasury <FEE_CLAIMER>Current treasury data (public devnet)
PUBLIC DEVNET Each devnet test run minted its own disposable pPRIMEQUOTE, so lines are separated by mint. On every line the wallet balance equals the claimed total, as expected for a fee claimer that never moves funds.
| Quote | Mint | Markets | Accrued | Claimable | Claimed | Wallet | USD |
|---|---|---|---|---|---|---|---|
| pPRIMEQUOTE | 4FY3AP…9xyutm | 1 | 0.030313 | 0.026154 | 0.004159 | 0.004159 | n/a |
| pPRIMEQUOTE | HM9Qvw…SbkVc9 | 1 | 0.044026 | 0.026154 | 0.017872 | 0.017872 | n/a |
| pPRIMEQUOTE | 8ddK1K…a73hRY | 1 | 0.030313 | 0.026154 | 0.004159 | 0.004159 | n/a |
Buyback ledger
PrimerPad volumetrading on PrimerPad markets
Quote-asset feesaccrue natively in each market’s quote Primitive
Primer treasuryclaimed by the fee claimer
Manual buybackfounder-operated, not automated
$PRIMER purchaserecorded in the buyback ledger
Burn / policy actionrecorded with its transaction
Buybacks are manual. The ledger records each one for transparent accounting and future analytics.
| Field | Meaning |
|---|---|
| timestamp | When the buyback was executed |
| sourceAssets | Quote Primitives sold, with amounts |
| sourceValueUsd | USD value of the sold assets |
| primerPurchasedUi | $PRIMER bought |
| executionTx | Purchase transaction signature |
| primerBurnedUi, burnTx | Optional burn amount and its transaction |
primer buyback list
primer buyback add --source USDX:<mint>:12.5 --usd 12.5 --primer 15000 --tx <sig> [--burned 15000 --burn-tx <sig>]Validation
The ledger rejects malformed signatures, duplicate execution transactions, non-positive amounts and burns larger than the purchase. No buybacks are recorded yet.
See also: Primer economics, Fee claimer authority