CAISSON
CA
Open app

Documentation · v1 beta

How CAISSON settles.

Signed orders and streams that settle in Uniswap v4 pools on Elysium, the checks around them, and exactly what the contracts can and cannot do.

Chain ID
99901
Protocol fee
0
Max filler tip
1%
Beta cap
≈ $10
Desks
Live beta
Audit
None yet

01

Overview

CAISSON is five tools for trading on Elysium without handing over custody. Two of them execute trades: the Order Desk (limit orders) and Stream (scheduled buys and sells). Three of them help you look first and clean up after: Pool & Hook Check, Allowances and the Bridge companion.

The idea is simple: you sign your terms once, anyone may execute them, and the contract refuses to finish unless every term holds. Your tokens stay in your wallet until the moment a fill runs.

Beta. The contracts are not audited and the per-order cap is small on purpose. Read Limits and risks before you use real funds.

02

Quick start

  1. Open the app and pick a module from the top bar.
  2. Connect a wallet. Any EIP-6963 browser wallet; the page switches it to Elysium (chain 99901).
  3. Scan first. Paste the token into Pool & Hook Check to see its pools, round-trip cost and liquidity owners.
  4. Place the order or stream. The ticket walks you through wallet, token, quote and signature.
  5. Clean up. Revoke allowances you no longer need; claim bridge withdrawals once they are confirmed.
Open the app

03

How an order settles

Every Order Desk fill follows the same five steps, inside one transaction. If any check fails, nothing moves.

  1. 1
    Sign

    You sign one Permit2 PermitWitnessTransferFrom. The witness is a CaissonOrder: token out, minimum, recipient, maximum tip and the hash of one pool key. No gas; nothing moves.

  2. 2
    Wait

    The order sits with the API. Nothing runs until the signed pool can pay at least your minAmountOut after its fee, any hook cut and the tip.

  3. 3
    Pull exactly

    Any filler calls fill(). The desk asks Permit2 for exactly the signed amount; Permit2 checks the signature, nonce and deadline. A changed field fails as InvalidSigner.

  4. 4
    Swap in one pool

    The desk swaps itself, in the pool you signed, inside one PoolManager.unlock. HYPE is wrapped or unwrapped when the pool side is native.

  5. 5
    Check on arrival

    The desk measures what your recipient actually received. Below minAmountOut, or if the desk balance changed, the whole transaction reverts.

The signed witness

CaissonOrder(
  address tokenOut,
  uint256 minAmountOut,
  address recipient,
  uint16  maxTipBps,      // ≤ 100 (1%)
  bytes32 poolKeyHash     // keccak256(abi.encode(PoolKey))
)
// token in, amount, nonce and deadline are bound by the Permit2 permit itself

04

Modules

Order Desk

Limit orders

Buy or sell only at a price you accept. One signature; any filler executes when the pool can pay your minimum.

You sign
1 signature (Permit2 witness). Wrap HYPE and one exact approval to Permit2 if needed.
Keep in mind
You are guaranteed at least the minimum, not the best price: set the minimum close to the price you want.
Open Order Desk →

Stream

Scheduled buys and sells

Split a buy or sell into slices on a schedule. Slice k runs at or after start + k × interval, each with its own price floor.

You sign
2 signatures: the EIP-712 Stream and one Permit2 PermitSingle allowance for the desk.
Keep in mind
A slice below its floor waits and may catch up, but never before its due time and never after the deadline.
Open Stream →

Pool & Hook Check

Read-only scan

Finds a token's pools on the official PoolManager and byte-identical launchpad copies, simulates a buy then sell, and shows who holds the liquidity.

You sign
Nothing. It only reads the chain.
Keep in mind
A script proves what exists, not what does not. Not found is reported as unknown, never as safe.
Open Pool & Hook Check →

Allowances

Approvals

Lists every ERC-20 and Permit2 allowance that can still move your tokens, with amount and expiry, and revokes them.

You sign
One small transaction per revoke: approve(spender, 0) or Permit2 lockdown().
Keep in mind
Found from Approval and Permit2 events for your wallet, then re-read on chain. Expired allowances are not listed.
Open Allowances →

Bridge

Elysium → HyperEVM

Tracks withdrawals to an address, counts down the challenge period and builds the claim with its Merkle proof.

You sign
One transaction on HyperEVM to claim, simulated first.
Keep in mind
Claimable after 86,400 HyperEVM blocks (about 24 hours) plus the next confirmed assertion. The countdown is an estimate.
Open Bridge →

05

Security model

Each property below has a test in the contract suite.

  • Bound by your signature

    Pool, recipient, token out, minimum, amount and maximum tip. A filler cannot change any of them.

  • One use

    A signature cannot be filled twice. Cancel an open order with Permit2 invalidateUnorderedNonces; cancel a stream on the desk.

  • Nothing held

    The desks hold no funds between transactions and no standing allowance for orders. Every fill checks the desk ends empty.

  • Owner powers

    Pause, set the per-order cap, change owner. There is no function that can move user funds.

  • Tip ceiling

    The filler tip is at most the maxTipBps you signed, and never more than 1% (a constant in the contract).

  • Canonical contracts

    Signatures go to the canonical Permit2; swaps go to the Uniswap v4 PoolManager on Elysium.

06

Fees

ItemWho paysAmount
Protocol feeNobody0
Filler tipFrom the output≤ the tip you sign, max 1%
Fill gasThe filler200k–460k gas
Pool fee and hook cutThe swapSet by the pool; shown in the quote
Wrap, approve, revoke, claimYouNormal network gas

07

Limits and risks

  • Unaudited beta. Both desks were deployed on Elysium mainnet on 29 November 2026; no user order or stream has been filled on mainnet yet. All tests ran on local forks of Elysium mainnet.
  • Small cap: 0.16 WHYPE or 10 USDC per order and per stream slice (about $10). The owner can change it; the app shows the live value.
  • Limit semantics: you receive at least your minimum. A filler may keep the difference up to that point, so a loose minimum is a loose price.
  • One pool per order or stream. Multi-pool routes are not supported.
  • Pool hooks can refuse a swap or take a cut. Your minimum still protects you; a hook that sends unexpected tokens makes the fill fail safely.
  • USDC on Elysium is an upgradeable proxy; whether it is native or bridged is not stated by Elysium.
  • The public RPC is rate limited per IP. Heavy use may be slowed down.
  • Not financial advice. Use only funds you can afford to lose.

08

Contracts

Elysium mainnet, chain ID 99901. Check an address on the explorer before you approve anything. The desk source code is not verified on the explorer yet; it is the code in the CAISSON repository, tested as listed under Measurements.

ContractAddressNote
CAISSON Order Desk0x6eAdc34FB85217a670B7b6b76b47f9A42BD92Ed2Limit orders · deployed 29 November 2026
CAISSON Stream Desk0x4fb2fbe4ED2064ab0ef403D3F1e39d19C5724791Scheduled buys and sells · deployed 29 November 2026
Desk owner0xc857439F2865A68908Bc388F88314c4fCCF26091Can pause and set the cap; cannot move funds
Permit20x000000000022D473030F116dDEE9F6B43aC78BA3Canonical
Uniswap v4 PoolManager0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1Official
WHYPE0xbA876237B0F021A6c6D852d6c26E107997cC5E81Wrapped HYPE
USDC0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65Upgradeable proxy, 6 decimals
Multicall30xcA11bde05977b3631167028862bE2a173976CA11Batched reads
Official CASoonOnly from Official links

09

Measurements

Measured, not projected. Every number comes from the test suite on local forks of Elysium mainnet.

Contract tests
61 / 61Unit, fuzz, invariant and mainnet-fork tests
Quote vs real fill
Equal, 26 / 26Live pools, buy then sell; CaissonQuoter injected with an eth_call state override
Invariant run
256 × 32 calls, 0 violationsDesk ends empty; pays ≤ signed; recipient gets ≥ minimum
Stream timing
2,000 fuzz runsNo slice ever executed before its due time
Signatures
Canonical Permit2Signed by the web code, filled on a fork; EIP-1271 wallets included
Launchpad copies
7 recognisedPoolManager copies matched by bytecode, not by a list
Static analysis
Slither: 23 findingsEach reviewed; all are intended behaviour
Gas
200k–460k per fillForge gas report on forked pools

10

FAQ

Do I pay CAISSON a fee?

No. The protocol fee is 0. The only deduction is the filler tip you sign, at most 1%, taken from the output. You pay gas only for your own transactions (wrap, approve, revoke, claim).

Can the owner take my funds?

No. The owner can pause the desks and change the per-order cap. No function in the contracts moves user funds, and the desks hold none between transactions.

What if the price never reaches my minimum?

Nothing happens. The order stays unfilled until its deadline and your tokens never leave your wallet. You can cancel it at any time.

Why does the scan say unknown instead of safe?

A script can show that something exists, for example an owner on a hook. It cannot prove that something does not exist. Anything not found is reported as unknown.

Which wallets work?

Any browser wallet that announces itself with EIP-6963. The page switches it to Elysium (chain 99901) before each transaction.

How do I cancel?

An order: press Cancel in the Order Desk; it invalidates the Permit2 nonce, so the signature can no longer be used. A stream: cancel it on the Stream Desk, or revoke its Permit2 allowance in Allowances.

11

Glossary

Permit2
Uniswap's shared approval contract. Orders use SignatureTransfer (no standing allowance); streams use one AllowanceTransfer allowance.
Witness
Extra typed data inside a Permit2 signature. CAISSON binds the order terms to the transfer with it.
Filler
Anyone who sends the fill transaction and pays its gas, paid by a tip you capped.
Desk
A CAISSON contract that pulls exactly what you signed, swaps in one pool and checks the result.
PoolManager
The Uniswap v4 singleton that holds every pool. Launchpads deploy byte-identical copies.
Hook
A contract attached to a v4 pool that can run code on every swap, including taking a cut.
Slice
One scheduled part of a stream, with its own due time and price floor.
Challenge period
The wait before an Elysium withdrawal can be claimed on HyperEVM: 86,400 HyperEVM blocks.