Contract Information
This page contains the current public integration targets for DeepBook Predict on Sui Testnet. These values come from the predict-testnet-4-16 branch of the DeepBookV3 Predict package.
DeepBook Predict is documented here as a Testnet integration surface. The smart contracts might change before Mainnet deployment, so treat the current package IDs, object layouts, and entry points as provisional. Ignore older Predict package IDs in local configs or scripts unless a newer deployment explicitly replaces the values below.
Current deployment
| Parameter | Value |
|---|---|
| Network | Testnet |
| Public server | https://predict-server.testnet.mystenlabs.com |
| Predict package | 0xf5ea2b3749c65d6e56507cc35388719aadb28f9cab873696a2f8687f5c785138 |
| Predict registry | 0x43af14fed5480c20ff77e2263d5f794c35b9fab7e2212903127062f4fe2a6e64 |
| Predict object | 0xc8736204d12f0a7277c86388a68bf8a194b0a14c5538ad13f22cbd8e2a38028a |
| Current quote asset | 0xe95040085976bfd54a1a07225cd46c8a2b4e8e2b6732f140a0fc49850ba73e1a::dusdc::DUSDC |
| PLP coin type | 0xf5ea2b3749c65d6e56507cc35388719aadb28f9cab873696a2f8687f5c785138::plp::PLP |
| Source branch | predict-testnet-4-16 |
Supported quote assets
DeepBook Test USDC (DUSDC)
| Parameter | Value |
|---|---|
| Type | 0xe95040085976bfd54a1a07225cd46c8a2b4e8e2b6732f140a0fc49850ba73e1a::dusdc::DUSDC |
| Currency ID | 0xf3000dff421833d4bb8ed58fac146d691a3aaba2785aa1989af65a7089ca3e9c |
| Decimals | 6 |
| Network | Testnet |
Public server endpoints
The public server provides render-ready market, vault, portfolio, and history data.
Protocol and market state
| Endpoint | Use |
|---|---|
GET /status | Server health and status |
GET /predicts/:predict_id/state | Predict object state and config |
GET /predicts/:predict_id/oracles | Oracle list for a Predict object |
GET /oracles/:oracle_id/state | Current oracle state |
GET /predicts/:predict_id/quote-assets | Accepted quote assets |
GET /oracles/:oracle_id/ask-bounds | Resolved oracle ask bounds |
Vault and LP data
| Endpoint | Use |
|---|---|
GET /predicts/:predict_id/vault/summary | Current vault summary |
GET /predicts/:predict_id/vault/performance?range=ALL | Vault performance over a selected range |
GET /lp/supplies | LP supply history |
GET /lp/withdrawals | LP withdrawal history |
Manager and portfolio data
| Endpoint | Use |
|---|---|
GET /managers | Predict manager list |
GET /managers/:manager_id/summary | Manager summary |
GET /managers/:manager_id/positions/summary | Manager position summary |
GET /managers/:manager_id/pnl?range=ALL | Manager PnL over a selected range |
History data
| Endpoint | Use |
|---|---|
GET /oracles/:oracle_id/prices | Oracle price history |
GET /oracles/:oracle_id/prices/latest | Latest indexed price update |
GET /oracles/:oracle_id/svi | Oracle SVI history |
GET /oracles/:oracle_id/svi/latest | Latest indexed SVI update |
GET /positions/minted | Position mint history |
GET /positions/redeemed | Position redeem history |
GET /ranges/minted | Range mint history |
GET /ranges/redeemed | Range redeem history |
GET /trades/:oracle_id | Trade history for an oracle |
Live Sui events
When a UI needs lower-latency oracle state than the indexed server provides, use Sui checkpoint or event streaming. Filter by the current Predict package ID and watch these event types:
oracle::OraclePricesUpdatedoracle::OracleSVIUpdatedoracle::OracleSettledoracle::OracleActivated
Use the server for historical pagination. Use the live stream for freshness.
Source pointers
| Area | Source |
|---|---|
| Core shared object | packages/predict/sources/predict.move |
| Manager account model | packages/predict/sources/predict_manager.move |
| Registry and admin entry points | packages/predict/sources/registry.move |
| Oracle state machine | packages/predict/sources/oracle.move |
| Vault accounting | packages/predict/sources/vault/vault.move |
Predict
Learn about the Predict shared object, public trading functions, liquidity functions, configuration reads, and emitted events.
Predict Manager
Learn about PredictManager accounts, deposited quote balances, binary position quantities, and range quantities.
Market Keys
Learn how DeepBook Predict identifies binary positions and vertical ranges with MarketKey and RangeKey.
Oracle
Learn about OracleSVI lifecycle, price updates, SVI updates, settlement, and oracle read functions in DeepBook Predict.
Vault
Learn about the DeepBook Predict vault, PLP shares, vault value, exposure tracking, and liquidity reads.
Registry
Learn about DeepBook Predict registry setup, oracle creation, quote asset management, and admin configuration entry points.