c00k Exchangec00k

Docs

How the kitchen works.

c00k Exchange is a set of trading tools on Arc, built around one rule: your wallet signs, and the contracts enforce. This page explains every station, what it guarantees, what it costs, what it does for $c00k, and what has not been verified yet. Every diagram opens full size when you click it.

01

Start here

You need three things:

  • A browser wallet, such as MetaMask.
  • The Arc network (chain id 5042). The site adds it to your wallet the first time you press “Switch to Arc”.
  • A little USDC. On Arc, gas is paid in USDC, not ETH, so keep some for fees even if you are trading something else.

Then press Connect in the top bar. The site only ever sees your address. It never asks for a seed phrase or a private key, and nothing on it can move your tokens without your signature.

02

How it fits together

There are three layers:

  • You: your wallet holds your keys and signs every transaction.
  • c00k.exchange: the website and the quote engine. The engine indexes the pools on Arc, prices every route at the same block, and simulates it on chain from your address before your wallet is asked for anything.
  • Arc: the contracts, which do the actual work and enforce the rules. Uniswap v4 is where the pools and LP positions live.

Your signed transaction goes straight from your wallet to the chain. The engine builds it, but it cannot sign it.

Architecture: your wallet, the c00k website and engine, and the contracts on Arc

03

Who can do what

Every c00k contract was written without an owner key, a pause switch or an upgrade path. What the engine can do is limited to quoting, simulating, submitting Window batches and running Split rounds on time, and even then each contract checks the rules you signed.

Trust model: what only you can do, what the engine can do, and what nobody can do

04

Fire: ask every pool, sign once

Fire is the swap. You name the pair, the amount and your floor (the least you will accept). The engine asks every pool it has verified on Arc at the same block, splits your order across the ones that pay the most, possibly over several hops, and hands your wallet a single transaction.

Fire swap flow
Guarantee
If any leg would pay less than your floor, the whole swap reverts and nothing moves.
Fee
No router fee. You pay the pools’ own fees and gas.
For $c00k
Any token on Arc can be swapped into $c00k in one step. The $c00k pool’s hook is priced by asking the chain, so the quote is the fill.

05

Fire: schedule a swap

From the same terminal you can schedule a swap for a time window instead of sending it now. The keeper contract holds your input until the window opens. From then on anyone can execute it, you included, and whoever does is paid the small bounty you set. The executor only chooses the route: your amounts, minimum and recipient are fixed.

Scheduled swap flow through CookKeeper
Guarantee
Funds leave only as a swap that meets your minimum, delivered to your recipient, or as a refund to you.
Cancel
Any time. Once the window has closed, anyone can trigger the refund, and it always goes back to you.
Fee
No keeper fee. The only cost is the bounty you choose, paid in USDC.

06

Window: opposite orders never pay a pool

In the Window you sign an order as a message, not a transaction. It costs no gas and is not in the public mempool. Every 5 seconds, all the orders signed in that window are settled together in one transaction, at one price per pair. Orders pointing opposite ways settle against each other first, and only the leftover is routed to the pools.

Window batch settlement flow
Guarantee
One price per pair for everyone in the window, and every order’s own minimum. A fill below any signed minimum reverts the whole batch.
Privacy
Nothing an order says is public before it settles, so there is nothing to front run.
Fee
None. Matched orders also skip the pool fee.

07

Split: hand it over, let the chain say so

Split lets any token’s dev hand tokens to a contract with a time on it, instead of promising the community something. The dev chooses the token, the amount, the moment, the burn share, how many of the largest holders are paid (1 to 500), and a minimum holding. Once committed, the tokens cannot come back.

When the time comes, the round executes in one transaction:

  • For any token other than $c00k, 10% is bought into $c00k and sent to the $c00k dev wallet. $c00k rounds pay no fee.
  • The burn share buys the chosen token and sends it to the dead address.
  • The rest is paid pro rata to the largest holders at that block. Nobody has to claim anything.
Split round flow
Who counts
Pools, the dead address, the token contract, any contract address and the dev’s own wallet never count as holders.
Timing
c00k’s executor runs rounds on time. If it ever does not, anyone can execute a round after one day of grace.
For $c00k
The only station where $c00k is bought automatically: a tenth of every round for another token, enforced by the contract.

08

Pantry: add liquidity to any pool

The Pantry is the first place on Arc where anyone can add liquidity to $c00k, or to any Uniswap v4 pool on the chain, from one page. Pick a pool, type one side, and the other side is worked out from the pool’s price at the block. Choose full range (always active) or a band around today’s price.

Pantry add liquidity flow
Approvals
Exact amounts only, to Permit2, which lets the PositionManager draw them for one hour. No unlimited approvals.
Safety
The mint is simulated from your address before your wallet is asked. Pools whose hook can block or tax withdrawals, pools priced in the native unit, and pools with no liquidity are not offered.
Your position
A Uniswap v4 position NFT, minted by Uniswap’s own PositionManager. Withdraw 25%, 50% or 100% from the same page.
Fee
None from c00k.

09

Locker: locked means locked

Any Uniswap v4 LP position on Arc can be locked in CookLocker for 30 days, 90 days, 6 months, 1 year, or forever. Locking is one transaction and needs no approval. Until the unlock time nobody can withdraw it: not a hacker, not c00k, not the owner.

Locker flow
While locked
The owner can collect the swap fees any time, extend the lock (never shorten it), or hand the lock to another wallet.
Forever
A forever lock never unlocks. It is burned liquidity that still pays its fees to the owner.
Public
Every lock, and the share of each pool’s liquidity that is locked, is listed on the Pantry page.

10

Line, Books and Copilot

  • Line: a live map of Arc. Every token the index has seen trade is a point, and every swap lights up the two tokens it moved between.
  • Books: what has been tested, with the command to reproduce each result, and the list of what has not been verified.
  • Copilot: ask questions in plain words in the terminal. It answers from live engine data and cannot sign anything.

11

$c00k

$c00k launched on Argus into a Uniswap v4 pool against USDC. Everything below can be checked on chain.

Where $c00k moves: Split, trading, burns and LP
Pool
$c00k / USDC on Uniswap v4, with the launch hook. The pool’s LP fee is 0% today.
Automatic buys
10% of every Split round for another token, enforced by ProofOfFair.
Burned
5,000,000 $c00k (0.5% of supply) from the dev wallet · 0x1ad6b6a2…96419f
LP added
4 full range adds through the Pantry, 22.15M $c00k + 500 USDC in total · 0xc3e0424b…f1e4f3, 0x5e1b5498…ecb598, 0x483d9e93…e6cc2a, 0x49264526…3f0a68
Where to buy
Fire on c00k.exchange, or its page on Argus

Burns and LP adds are decisions the team makes by hand. They are not automatic, and every one of them is a public transaction linked above.

12

Fees

Stationc00k feeYou also pay
Fire · swapNonePool fees and gas
Fire · scheduleNoneThe bounty you set
WindowNonePool fees only on the unmatched part
Split10% into $c00k (0% for $c00k rounds)Gas and the executor bounty you set
PantryNoneGas
LockerNoneGas

13

Contracts

Every c00k contract below is checked by the engine on each start: the code at the address must match what this repository compiles, byte for byte, or the station is switched off.

CookRouter

Every swap: all legs, one transaction

CookTransit

Window: batch settlement every 5 seconds

Uniswap v4 PositionManager

Pantry positions (Uniswap’s own contract)

14

Risks, said plainly

  • No outside audit yet. The contracts have been tested against Arc and the results are on Books, but nobody outside the team has reviewed them.
  • The engine is run by c00k. It cannot move your funds, but if it is down, quotes, Window settlement and on-time Split rounds stop until it is back. Split rounds can still be executed by anyone after a day of grace.
  • Liquidity has market risk. A position is worth what its two tokens are worth. When the price moves, it ends up holding more of the side that fell (impermanent loss).
  • Tokens can be bad. Any token can be traded or pooled here. A tool that works correctly does not make a token trustworthy, so check what you buy.
  • Gas is USDC. Keep some USDC in your wallet, or transactions will fail.

15

FAQ

Do I need $c00k to use the stations?

No. Every station works without holding $c00k.

Where do swap fees go?

c00k takes no swap fee. Pool fees go to each pool’s liquidity providers, as usual.

How does $c00k benefit?

Automatically through Split (10% of every round for another token is bought into $c00k), and from the traffic of every tool that routes through the $c00k pool. Burns and LP adds are done by the team, on chain.

Is the $c00k LP locked?

Every lock is public on the Pantry page, so you do not have to take anyone’s word for it: check the locker list there.

Can c00k freeze or take my funds?

No. None of the c00k contracts has an owner key, a pause switch or an upgrade path.

Which wallets work?

Any browser wallet that supports EIP-1193, such as MetaMask. The site adds the Arc network for you.