$ whoami
P0P — a new ERC-404 protocol on Base.
auto-graduating bonding curve · Uniswap v4 hook · holders earn daily from trading fees

$ cat specs
──────────────────────────────────────────────
mechanism      ERC-404 + Uniswap v4 hook
network        Base (mainnet 8453)
supply         10,000 NFT-bound ERC-404
vETH           10 ETH    (virtual)
vTOKEN         10,000    (virtual)
K              vETH × vTOKEN = 100,000
swap cap       200 token / tx (bonding only)
graduation     realETH ≥ 50 ETH  →  auto V4 LP, same tx

$ cat holders
──────────────────────────────────────────────
benefit        hold a P0P NFT → eligible for daily fee rewards
allocation     admin posts a new cumulative merkle root every 24h
claim          one transaction, cumulative — missed days roll forward
no lockup      transfer or sell anytime; rewards accrue while you hold

$ cat fees
──────────────────────────────────────────────
model          flat bidirectional fee on every trade
routing        accrued into hook 6909 buckets
buy            fee-on-top
sell           fee-from-revenue
rounding       always toward the protocol (ceilDiv)

$ cat phases
──────────────────────────────────────────────
[0] BONDING    realETH < 50 ETH
               curve: (vETH + real) · (vTOKEN − sold) = K
               fees accrued into hook 6909 buckets
               specified-side must be token (exactOut buy / exactIn sell)

[1] GRADUATED  realETH ≥ 50 ETH  (automatic)
               LP deployed in the same swap that crosses the threshold
               post-graduate swaps route through V4 LP
               fees still levied via afterSwap hookDelta

$ cat contracts --chain base
──────────────────────────────────────────────
status         pending deployment
Hook           pending
Token          pending
PoolManager    0x4985…2b2b
SwapRouter     pending

$ cat invariants
──────────────────────────────────────────────
ETH conservation     hook's 6909 ETH balance == realETH + accrued fees
curve monotonicity   (vETH + realETH) · (vTOKEN − tokenSold) ≥ K  during BONDING
supply ceiling       tokenSold ≤ vTOKEN
no external LP       beforeAddLiquidity reverts for sender ≠ hook

$ ls links
──────────────────────────────────────────────
twitter        https://x.com/
docs           /spec
trade          /trade
collection     /collection
claim          /claim

$