ANSEMFUND
← Back

Whitepaper

Fees buy $ANSEM. Holders get it back.

Version 1.0 · 14 August 2026 · not yet launched

A description of what ANSEMFUND does, the measurements that forced each design decision, and the parts we have not solved. Every figure here was measured against mainnet; where something is assumed rather than measured, it says so.

Nothing has launched. No token is minted, nothing is deployed to mainnet, and no formal audit has been completed. This document describes intended behaviour of software that has only ever run against a local validator. Read the disclaimer and risk before acting on any of it.

  1. The problem
  2. The flywheel
  3. Time-weighted balance
  4. Cumulative roots
  5. Converting without an oracle
  6. Who can run what
  7. What is not solved
  8. The numbers

1 · The problem

"Strategy tokens" pay trading fees back to holders as some other asset. The category has a consistent failure: the fees never reach anyone. Distribution thresholds are set so high that a coin dies before it qualifies, and the fee data supports that — we measured every Meteora Dynamic Bonding Curve pool that has ever existed, 1,559,237 of them, and ~98.6% never earn $250 in lifetime fees.

A second failure is subtler. A distribution based on who holds at one instant pays whoever happened to be there, so buying just before a snapshot and selling just after extracts the same reward as holding for a month. That is a transfer from patient holders to fast ones.

ANSEMFUND targets both: no distribution threshold on the pool, and rewards proportional to how long you actually held.

2 · The flywheel

0.30% creator feesweep · anyoneevery 12h · our signatureDutch auction · anyonetime-weighted balanceclaim · anyone pays gasTrades on pump.funcreator-vault PDASquads vaultFlywheel treasury$ANSEM in treasuryCumulative merkle rootHolder's wallet
Every arrow is an on-chain instruction. Green edges take no privileged signer — anyone may trigger them. The amber edge is the single step that requires us.
Permissionless Requires our signature

The coin launches on pump.fun, which pays the coin's creator 0.30% of trading volume. That figure is measured, not read: pump's Global.creator_fee_basis_points says 5, which is vestigial. The authoritative value lives in the fee program's FeeConfig and says 30 bps — confirmed by decoding a real mainnet sale where the curve paid out 0.222932448 SOL and the creator vault received 0.000668798, exactly 0.30000%.

Fees accrue to a vault derived from the creator address. Anyone may sweep them. They are then converted to $ANSEM and distributed to ANSEMFUND holders by time-weighted balance.

3 · Time-weighted balance

A holder's share is their balance integrated over the epoch, divided by the epoch's length — not their balance at a chosen moment. Holding half the epoch earns half as much as holding all of it. Buying before a snapshot and selling after earns approximately nothing.

The computation is deterministic, which matters more than it sounds. Given (mint, startSlot, endSlot, exclusions) it enumerates token accounts, replays every balance change from transaction history, integrates balance × slots, and divides. No sampling, no wall clock, no randomness. Two strangers computing the same epoch get byte-identical results, which is what allows anyone — not just us — to publish a distribution and anyone else to check it.

Validated by replaying 240 real balance changes and confirming every reconstructed closing balance matched chain state exactly. That check is vacuous on a dead token with no activity, so it was run against one with real in-window trading.

4 · Cumulative roots

Each epoch publishes a merkle root committing every holder's lifetime entitlement, not that epoch's slice. A claim pays cumulative − already_claimed. Three properties fall out of that arithmetic rather than out of extra code:

The economic consequence is large. The conventional design needs one rent-bearing account per claimant per epoch. Cumulative roots need one shared ledger, forever, which cut the marginal cost of a claim from $0.0924 to $0.0004 — a 246× reduction. On a real 528-holder curve that moves the share of holders for whom a $100 epoch is worth claiming from 13.4% to 56.6%.

The tree's structure follows Jito's distributor and is checked against vectors from its Rust across 92 cases. The leaf deliberately differs: it also commits the recipient's index, which is what makes a shared ledger safe. It is not Jito wire-compatible.

5 · Converting without an oracle

Turning treasury SOL into $ANSEM without trusting anyone is harder than it looks. A router CPI lets the caller supply the route, so the program must bound the price it accepts — and there is no oracle for a memecoin. An admin-set price reintroduces exactly the trust this removes.

Instead the treasury posts an offer and the market takes it. The price of SOL per $ANSEM opens unfavourable to the filler and improves with elapsed slots until someone finds it worth filling. Arbitrage competes it toward fair value. No oracle, no route to validate, no privileged actor.

Guards, all unit- and fork-tested: both legs settle in one instruction with the payload taken first, so a later failure cannot leave the treasury short; destinations are pinned by PDA constraints so a filler cannot redirect them; any single fill is capped at 25% of the spendable treasury; a cooldown separates fills; and the price range is required to open unfavourable — inverted, the first caller would take the treasury at the best price.

6 · Who can run what

StepWho may run itWhy
Sweep pump feesAnyone pump's collection instructions take no signer at all, and the destination is fixed by address derivation.
Vault → treasuryOnly us, every 12 hours The flywheel has no withdrawal instruction. Paying fees straight in would strand them permanently if the unaudited code has a defect.
Convert to $ANSEMAnyone Anyone may fill the auction when the price suits them.
Publish the rootAnyone The computation is deterministic, so any two honest parties produce the same root.
ClaimAnyone, on a holder's behalf The proof fixes the recipient. A stranger can pay your gas; they cannot redirect your tokens.

We would rather name the exception than claim a trustlessness we have not earned. One hop needs us. It is the hop that keeps the money recoverable while the program is unaudited, and it is the first thing that should change once a formal audit is complete.

7 · What is not solved

8 · The numbers

MeasurementValueHow
Creator fee on pump0.30%Decoded from a real mainnet sale, not from config
Meteora pools never earning $250 lifetime~98.6%All 1,559,237 pools swept
pump curves that ever graduate1.22%59,581 curves sampled
Median un-graduated curve balance7 lamportsSame sample
Volume needed for $250 of fees~$83,000Follows from 0.30%
Marginal cost of a claim$0.0004Down 246× from the per-epoch design
Recipients per epoch1,024Fixed ledger size
Fork checks passing34Against a local validator, plus 7 unit tests

The launch-economics figures describe other tokens' history. They are published because they are the honest base rate any launch faces — including this one. They are not a forecast.