DOCS · PROTOCOL
Verified devs, bounded dev advantage, guaranteed exit, death that refunds.
Abyss is a launchpad on Solana where the rules live in bytecode, not in tweets. Four programs, open source, zero admin keys where there shouldn't be any. Everything below is what's actually deployed — no marketing layer.
| Decision | Choice | Why |
|---|---|---|
| Token standard | Token-2022 + Transfer Hook | The taint system is impossible on plain SPL, and migrating standards after launch is impossible too |
| Framework | Pinocchio, zero-dep | Minimal program size = cheap rent. IDL is handwritten |
| Vesting | Own contract | Zero external dependencies in the critical path |
| AMM | Own pool | The throttle and the taint survive migration |
| Time | Wall clock, not slots | Slot length changes between cluster upgrades; a 30-day lock must stay 30 days |
| Sell-back | Built into the curve | A honeypot is impossible at the program level |
Token lifecycle
Every token is a state machine. Terminal states — MIGRATED,
UNWOUND, CLOSED — have no way back.
Accounts (PDAs)
Every account is a PDA derived by the programs. Nothing is handed in by the caller and trusted.
Config seeds: ["config"]
Singleton, 224 bytes. Treasury, fee_bps = 25 (0.25%), dev allocation
cap (30%), per-wallet curve cap (2%), duplicate ticker penalty (0.5 SOL within
24h), the pair token registry, and the ids of the vesting, hook and pool
programs. Created once by the program's upgrade authority; there is no
instruction to change it.
Launch seeds: ["launch", mint]
One per token, 128 bytes. Dev, vesting account, state, real SOL and token
reserves, time of the last trade, website and Twitter verification flags
with the handle, and dev_bps — the dev's actual allocation,
computed by the program from what was bought.
TickerEntry seeds: ["ticker", ticker]
When the ticker was first launched. Tickers are 1–10 characters of
a–z and 0–9; the program rejects anything else, so there
are no look-alike characters to squat on.
Vesting seeds: ["vesting", launch]
Beneficiary, total, released, start time, cliff, end time. Wall-clock seconds, not slots — a 30-day lock stays 30 days whatever the slot length becomes. Only the curve can open the vesting of its own launch.
WalletState seeds: ["wallet", launch, user]
One per wallet per token, created on the first trade (about 0.0012 SOL of
rent, paid by the wallet). Net tokens bought from the curve — the wallet cap
counts this, not a token balance — and the sell bucket: how much was sold,
draining linearly to zero over 24h. The pool keeps its own bucket under
["throttle", pool, user].
Pool seeds: ["pool", mint, curve_program]
One per graduated token. Treasury and fee copied from the curve config, plus the dev's address. Its SOL and token vaults are PDAs too — there are no LP tokens and no instruction that withdraws liquidity.
Taint seeds: ["taint", token_account]
Owned by the hook: tainted amount, when it last arrived, and the flag.
The mint's list of trusted vaults lives next to the hook's account list under
["extra-account-metas", mint].
Bonding curve
Constant product with virtual reserves — the pump.fun formula, calibrated so the curve is bought out exactly at 75 SOL with no remainder:
k = vSol · vTok effectiveSol = vSol + realSol effectiveTok = vTok − tokens sold buy(Δsol): tokensOut = effectiveTok − k / (effectiveSol + Δsol) sell(Δtok): solOut = effectiveSol − k / (effectiveTok + Δtok) price = effectiveSol / effectiveTok calibration: vSol = 26.48 SOL · vTok = 1.0731e9
- 1B supply: 793.1M on the curve, 206.9M reserved for the pool — same split as pump.fun
- Buyout of exactly 100% of the curve at 75 SOL — nothing left to burn
- The pool opens at the curve's last price (+0.0% step) — migration is seamless
- First-buyer upside ×14.7 — degen math preserved
- Start mcap 25 SOL, graduation at mcap 362 SOL
- Price impact: 1 SOL ≈ 3.3% on an empty curve, 10 SOL ≈ 33% — big buys are always visible
Sell-back guarantee: the curve buys back at its own price for as long as it trades; the throttle limits how fast, never whether. Rounding always favors the vault. A honeypot is impossible by construction.
Launch flow
create_launch is one atomic transaction:
- Token-2022 mint with the transfer hook. There is no freeze authority, and the mint authority is burned before the instruction ends
- Ticker registry: a ticker launched within the last 24h costs +0.5 SOL, paid to the treasury
- Verification: a meta tag on the project's site plus login with the project's Twitter, checked off-chain and recorded on-chain with the verifier's signature. A handle change after launch invalidates it automatically
- The mint is registered with the hook: its account list and its trusted vaults
- Optional dev buy, at most 30% of supply, at the curve's opening price, with no fee
- If the dev bought: the tokens are minted straight into a vesting vault — they never touch the dev's wallet
- The rest of the supply goes to the curve, and a VRF request picks the opening slot
Until open_trading fires at the VRF-randomized slot, buying is
impossible for anyone — including the dev. His buy already happened, atomically
and provably. Lighthouse assertions cover the first trading slots against
sandwich bundles.
The result is a badge an indexer can read from the launch account:
Dev: 0% · fair launch or Dev: 15% · 30d cliff.
The number is computed by the program from the tokens actually bought —
it cannot be declared.
Trading
Buy
- Opens at the VRF-picked slot, state must be TRADING
- Cooldown: one buy per wallet per window in the first hour — a bot army buys at human speed while the market finds its bearings
- Per-wallet cap: net tokens taken from the curve ≤ 2% of supply. Counted in the wallet's state, so moving tokens out doesn't free it. Sybil-able, but it raises the cost
- Fee 0.25% in SOL → treasury
- The last buy tops the curve up to exactly 75 SOL; the change stays with the buyer
Sell
- Always allowed — the sell-back guarantee
- The progressive throttle is the only restriction
- Fee 0.25%. No decaying add-ons, no dev rewards, no hidden switches
Pair tokens
Curves can quote in tokens other than SOL via the on-chain pair token registry — multisig-gated, because one infinite-mint garbage mint would poison every curve. All curve math stays identical.
Buys and sells go through the wallet's own associated token account and nothing else. Its owner can never change, so a position can't change hands without a real transfer — which is what the taint system watches.
Sell throttle
The core principle: accumulation can't be stopped — the dump can. Tiers by share of supply at the moment of sell:
| Position | Daily limit |
|---|---|
| < 1% supply | no limit — retail is left alone |
| 1–5% supply | 50% of stack per rolling 24h |
| ≥ 5% supply, the dev, or a tainted / flagged account | 25% of stack per rolling 24h |
- Enforced on the curve and in the AMM after migration — the throttle lives in the pool program. After Raydium, pump.fun is the wild west; here the physics survive
- The dev wallet stays on the max tier forever, even after full unlock
- Rolling, not calendar: the sold amount drains linearly over 24h, so there is no midnight to dump around
- The tier is taken from balance + sold in the last 24h, and sells go only through the wallet's own associated token account — emptying it and topping it up from a side pocket doesn't reset anything
- A 10% whale cannot nuke the chart in one transaction: a quarter of the stack per day at most, and the whole market watches it happen
Stress test (75 SOL pool + 206.9M tokens, 10% whale): without throttle — −54.6% in one transaction, whale extracts 24.4 SOL, holders instantly trapped. With throttle — same final price, but spread over days. With throttle plus 3 SOL/day of organic flow — drawdown −40% instead of −55%, and the whale paradoxically extracts more (28.9 SOL), because it sells into a market that's buying. The leash pays the whale too — the key argument against bypassing it.
Taint system (Transfer Hook)
The hook has exactly one job: don't let anyone dodge the throttle by smearing a stack across fresh wallets. It does nothing else.
on every transfer (source account → destination account):
hot = source held ≥ 1% of supply before the transfer
OR source is tainted OR source is flagged OR source is the vesting vault
if hot:
destination.tainted += amount
source.tainted −= amount
- "Tainted" means "these tokens came out of a large position". A tainted or flagged seller sits on the worst throttle tier — 25% of the stack per day — however small the stack looks
- Ordinary transfers are free: an account under 1% with no taint sends to a friend and the hook does nothing at all
- Taint is tied to the token account, not the wallet — handing the account itself to another wallet takes the taint along
- Selling into the curve or the pool burns the taint of what was sold. Only this token's own vaults count: the curve, the pool and the vesting vault, written into the mint's whitelist at launch. Somebody else's program or multisig is just another account
- The dev allocation is born tainted: whatever leaves vesting carries it
- A hot account can only send to an account whose taint record is open — one extra instruction anyone can pay for. Selling never needs it
- The hook only answers Token-2022 in the middle of a real transfer; calling it directly moves nothing
- Taint decays 30 days after it last arrived
- KOL flags: known influence accounts get flagged, and everything they send taints the recipient. The OTC hop (ally buys → forwards to the KOL's hidden wallet) dies here
Honest limit: a pre-coordinated pair of independent wallets that never touched a public identity can't be caught on-chain. By anyone. The goal isn't a wall — it's a tax on cheating.
Vesting
- Cliff, then linear unlock, counted in wall-clock seconds
claim: beneficiary only,vested − released- The dev wallet sits on the max throttle tier forever, on the curve and in the pool — even a fully unlocked stack can't be dumped in a day
- Claimed tokens arrive tainted, so handing them to other wallets doesn't escape the throttle either
- The contract is deliberately dumb and open source: it holds other people's money, so readability is trust
Migration
- When the curve holds 75 SOL, anyone can send one transaction:
initialize_pool+migrate - All SOL and the 206.9M reserved tokens move into the pool's vaults
- There are no LP tokens. Liquidity sits in program-owned vaults with no withdraw instruction — nobody can pull it, including us
- The pool is constant product (x·y=k), fee 0.25% → treasury
- The same sell throttle and the same taint apply in the pool, with a fresh 24h bucket
Dead tokens
No oracles — just the Clock sysvar and a permissionless crank.
Every trade bumps last_activity_at on the launch account:
close_dead_token:
require state == TRADING
filled = real_sol_reserves / graduation_sol
if filled < 10%: require now − last_activity_at > 24h
else: require now − last_activity_at > 7d
→ state = DEAD
→ crank caller earns a share of recovered rent
Where the reserves go: holders burn tokens and take a
pro-rata share of the remaining curve reserves (claim_dead_refund).
A dead token isn't zero — you "lost less", not "lost everything".
That's the platform's central promise.
DAO voting
Buy-vote-dump protection is structural:
- Snapshot at a random moment before the proposal resolves — nobody knows when it happens, so nobody can stack a bag the block before and dump right after
- Vote weight =
min(balance@snapshot, balance@close)— sell mid-vote and you lose your voice - Votes are escrowed: you vote by depositing tokens into a vault, unlocked at close
- Proposal creation requires ≥ 1% of supply (anti-spam), quorum is 20% of circulating
- Unwind (safe path): everyone exits pro-rata at the current curve price. A clean death
- MigrateEarly (risky path): requires a liquidity floor (≥ 40 SOL of reserves) — otherwise a thin pool gets farmed instantly, which is just "rugging ourselves democratically"
Events for indexers
Every buy / sell / taint-transfer / vote emits a structured event:
TradeEvent { launch, wallet, side, sol_amount,
token_amount, slot, position_bps_after }
- Bundler detection is off-chain by design: terminals cluster same-funder
wallets from events and render
⚠ 34% held by suspected bundle - KOL wallets are marked, not banned:
⚠ known influence wallet · 14 tokens · median hold 40 min. Information beats censorship, and the victim narrative ("they banned me!") doesn't work
Security
Three review passes, 26 tests against the real programs and real Token-2022, and everything open source — the code is the trust. No external audit has been done yet.
Review findings (all fixed, with regression tests)
| Severity | Finding | Fix |
|---|---|---|
| CRITICAL | Unvalidated treasury in curve buy/sell/create_launch — fees went to whatever account was passed | Treasury checked against config in every instruction |
| CRITICAL | Pool front-run: a fake curve could occupy a real token's pool and skim fees or brick migration | All pool PDAs namespaced by the curve program id |
| CRITICAL | The throttle tier came from whatever token account was passed — a whale sold without a limit from side accounts | Own associated account only; tier from balance + sold in 24h |
| CRITICAL | Sell did not tie the launch to the mint: token B could be sold at curve A's price out of B's vault | Launch derived from the mint in every instruction |
| CRITICAL | The hook could be called directly, moving taint with no transfer; any program-owned address counted as a vault | Hook answers only inside a real transfer; per-mint vault whitelist |
| CRITICAL | With the hook enabled no transfer worked, and migration would have been blocked | Hook accounts wired through every transfer; covered by full-stack tests |
| MAJOR | The wallet cap was bypassed with a fresh token account | Cap counted per wallet, in program state |
| MAJOR | Whoever called first after deploy owned the config and the treasury | Upgrade authority only |
| MAJOR | Time counted in slots: a "day" lasted about 13 hours, a 30-day lock 16 days | Wall-clock time everywhere |
| MAJOR | The dev badge was a declared number | Computed from the tokens bought |
Also checked: u128 arithmetic in all k=x·y products, rounding directions (buy floors, sell ceils, in the vault's favor), overflow checks enabled globally, every PDA re-derived before use.
Risks we say out loud
| Risk | Mitigation |
|---|---|
| Vesting bug unlocks early | Open source from day one, minimal logic, boundary tests |
| Configs can't be changed | Both are set once by the upgrade authority; changing a parameter means a program upgrade |
| A big or tainted account can't send to a brand-new address from a plain wallet | The recipient's taint record has to be opened first — one instruction, anyone can pay. Selling never needs it |
| The programs are upgradeable | The upgrade authority can change the code. Who holds it, and when it is given up, is published before launch |
| Transfer hook breaks external DEX listings | Own AMM at start; hook compatibility is a listing criterion |
| Throttle called a honeypot | Rules are public and uniform; sell is always possible — slow ≠ never |
| KOL victim narrative | We mark and throttle, we never ban |
| Sybil accumulation | Acknowledged: unsolvable. We solve the dump, not the accumulation |
Official programs (mainnet-beta)
These are the only program ids the ABYSS frontend and indexers ever talk to. If a "ABYSS token" lives anywhere else — it's not ours.
| Program | Address | |
|---|---|---|
| abyss-curve | curvevQuSjWHvT6umWRn6yzai2PeuFxnXsbYZqhkLcr |
solscan ↗ |
| abyss-pool | poo1DMTgPn2FzaroASiECkTQsVh8jqvcP93rFFtc4ox |
solscan ↗ |
| abyss-hook | hookhR5JaFX7Y5WdEDZJLNiQCrPksEb2aZGYsxcY9xj |
solscan ↗ |
| abyss-vesting | vestZ96ovTKZ47kMv2zpSodonPjFhKr6dRJrHCRgCDN |
solscan ↗ |
| treasury (fees) | vau1XV4eRrr9ByzcgrtXXzSABdswFBLeYFZmiH7inHS |
solscan ↗ |
| curve config | 9JY5EDJYagtbEoSnbcKgRunKsteYNiVaCzRhwN5JDmwy |
solscan ↗ |
Each program carries its IDL on-chain via Solana Program Metadata (canonical
idl seed) — explorers and indexers pick it up straight from the
cluster. The binaries match the source below, byte for byte.
Contracts — open source
Four programs, Pinocchio. This is the exact source the tested binaries are built from — read it before you trust it. That's the point.
IDL
Handwritten interface definitions, one per program: