Documentation / Integration
System architecture
Read, settle, escrow, report: the four steps every tick goes through.
4 min read · pre-launch
| Step | Does | Reads | Writes |
|---|---|---|---|
| Read | Spot and TWAP of every leg | Uniswap v3 pools (slot0) | Candidate marks |
| Settle | Update the slow mean, median of three, then the clamp | Spot, slow mean, last mark | Marks, dampened flags |
| Escrow | Net escrow per pair, utilisation check, skew accrual | Open interest, marks | Vault reservations |
| Report | Weekly Tide, hash, closing share price | Settled history | TideLog |
Orders reach AmphiBook through any relayer, including your own: the book trusts signatures, not senders. A keeper that stops running only delays marks; it cannot move them, because every mark it posts is recomputed from the pools on chain.