Open Cross

Pools and LPs

Each Open Cross pool holds one xStock and USDC. The pool is a constant product market: base_reserve x quote_reserve stays constant through a swap, before fees.

Providing liquidity

Deposit takes a maximum of each asset and a minimum number of LP shares; Withdraw takes shares and minimum amounts out. Both work in the Open and Closed phases and pause during the Open Cross collection window, so the book always meets the reserves it was placed against.

What LPs are paid for

SourceWhen
Session fee, 0.25%New York hours
Session fee, up to 0.60%while New York is closed
Cross fee, 0.25% on every fillat each opening bell

On a flat fee pool the reopen is where LPs lose: the first trader after the bell buys or sells at a price that is hours old. The spike measured that loss at 9bp (SPYx), 66bp (NVDAx) and 167bp (TSLAx) of the pool per year. On Open Cross the reopen price is set by the cross, where the pool trades at one uniform price instead of along its curve.

Token handling

xStocks are Token Extensions mints. The program checks every mint and token program it is handed and rejects anything else with WrongMint or WrongTokenProgram. Fees are always paid in USDC.

Closing a pool

ClosePool works only on an empty pool (PoolNotEmpty otherwise) and returns its rent. Calendars and the config close the same way once nothing uses them.