FAQ — Frequently Asked Questions#
Common questions about trading, fees, oracle behavior, and the protocol.
General#
What is Seesaw?#
Seesaw is a permissionless, non-custodial binary prediction-market protocol on Solana. See the docs landing page for a full product overview.
What is on-chain, and what depends on off-chain services?#
Solana enforces market custody, order matching, and settlement. Indexing, analytics, Pyth/Hermes oracle transport, and external-proof providers remain off-chain dependencies. An indexer or API outage must not change the protocol's rules or custody, but it can make indexed views, analytics, oracle delivery, or external-proof acquisition temporarily unavailable. See the canonical product trust boundary.
How do binary prediction markets work?#
You buy YES shares if you think a price will be UP by the end of a window, or NO shares if you think it will be DOWN. Winning shares pay 1 USDT each; losing shares pay 0. For the full mechanics see Understanding Shares and How It Works.
Trading#
How do I place an order?#
- Connect a Solana wallet (Phantom, Solflare, or Backpack).
- Pick a Pyth-backed binary market exposed by the current deployment.
- Select YES (price UP) or NO (price DOWN).
- Enter quantity (shares) and limit price (0.01–0.99 USDT per share).
- Click Buy and approve the transaction.
Your cost is price × quantity. Buying 100 YES at 0.60 USDT requires 60 USDT
in collateral (plus a small taker fee if your order fills immediately).
What order types are available?#
| Type | Behaviour |
|---|---|
| Limit | Rests on the book at your price if not immediately matchable |
| PostOnly | Rests on the book; rejected if it would match immediately |
| ImmediateOrCancel (IOC) | Fills what it can right now; the unfilled remainder is cancelled |
IOC orders are exempt from the maker price band.
What happens if my order does not fill?#
A Limit or PostOnly order rests on the book until another trader matches it, you
cancel it, or the market's trading period ends. Resting orders that exceed their
per-order TTL (max_age_seconds) become reclaimable via ReclaimExpiredOrder.
Important: unfilled bid collateral is not automatically returned when the market closes. Cancel the order while trading is live to get it back immediately, or it is released together with your payout when you redeem after resolution. See What if I forget to claim?.
Fees#
What fees do I pay?#
Seesaw charges a taker-only, linear fee with no cap. Makers (resting orders) pay nothing.
fee_bps(p) = taker_fee_coefficient_bps × (10_000 − p) / 10_000
With the default coefficient (taker_fee_coefficient_bps = 400):
| Fill price | Effective taker fee |
|---|---|
| 0.10 USDT | 3.60% |
| 0.30 USDT | 2.80% |
| 0.50 USDT | 2.00% |
| 0.60 USDT | 1.60% |
| 0.80 USDT | 0.80% |
| 0.90 USDT | 0.40% |
| 0.95 USDT | 0.20% |
| 0.99 USDT | 0.04% |
The fee is rounded UP; payouts are rounded DOWN — both in the protocol's favor.
Where do fees go?#
Shipped fee defaults allocate five ways:
<!-- src: program/src/logic/fee.rs:187 FeeSplit5::TARGET -->| Recipient | Share |
|---|---|
| Protocol treasury | 45% (routed to one of 8 treasury_recipients shards) |
| Market creator | 5% (accrues in market; claimed via ClaimCreatorFees) |
| Referrer | 5% (retained in the market until rollup; if no referrer, flows to protocol) |
| Approved builder | 5% (paid during the order; if the order names no builder, flows to protocol) |
| Eligible maker | 40% (credited as free quote balance after the resting-age gate) |
Ineligible maker allocation and rounding dust go to protocol. See fee constants for shipped defaults; deployed config may be retuned.
The 8-shard protocol treasury means a single recipient authority compromise can affect at most one shard, not necessarily exactly 1/8 of all historical protocol revenue. See Flow of Funds for the full accounting and the distinct authorities requirement.
Referrals#
How does the referral program work?#
- Click a referral link or call
SetReferrer (0x1E)directly. - An on-chain
ReferralAccountpermanently binds you to that first-touch referrer; the binding earns for 365 days and cannot be replaced after expiry. - Every taker fee you pay during that period retains its configured referral share (5% at shipped defaults) in
the market vault as a deferred liability. Permissionless
RollupCurrencyReferralFees (0x51)later moves it to the referrer's bound treasury shard and creditsReferrerEarningsAccount.
Referrers call ClaimCurrencyReferrerEarnings (0x50) to withdraw accumulated earnings
after rollup — no minimum balance or cooldown applies to the rolled-up amount.
Rollup should land before the seven-day post-resolution grace period ends.
After that deadline, permissionless position cleanup may reclassify any still
pending referral amount to market-creator fees.
Without an eligible referrer, the referral portion defaults to the protocol treasury. Your total fee is the same either way.
Settlement and Claiming#
When do markets resolve?#
After the market's duration window closes (e.g. 15 minutes for the default):
- Anyone calls
SnapshotEnd (0x04)to capture the end price from Pyth. - Anyone calls
ResolveMarket (0x05)to compare the authenticated confidence intervals: UP only whenend_low > start_high, and DOWN only whenend_high < start_low. Equality, touching, or overlap is neutralEXPIRED; a point-price comparison is not the resolution rule. - Winners redeem for 1 USDT per share via
Redeem (0x17).
All lifecycle cranks are permissionless — anyone can execute them. The canonical SDK exposes the instruction builders; operators can assemble them through the core SDK or keeper tooling. External markets require authenticated verifier and policy evidence. Source admission and deployment/provider availability are separate controls.
What if I forget to claim after a market resolves?#
This is the most important risk to understand.
Winnings are NOT pushed to your wallet automatically. You must call Redeem.
The cleanup timeline:
- Market resolves.
- 7 days after
resolved_at:CloseMarket (0x1B)becomes eligible after the position-settlement gates are met. - During that 7-day window,
Redeem (0x17)pays your claim and also releases any unfilled buy-side resting collateral from your position. - After the grace period, the permissionless
MarkPositionSettled (0x19)crank pays each abandoned position's owed value directly to the owner's settlement token account. This is your safety net — third parties can trigger it on your behalf, and it pays owners, not the creator. - Expired resting orders that are reclaimed before terminal teardown use
ReclaimExpiredOrder (0x16): ordinary bid-side reclaims refund the maker minus the optional caller bounty, capped at 10 bps / 0.1 stablecoin. CloseMarketexecutes: the market is torn down. Any residual dust still in the vault after all liability checks pass goes to the market creator's settlement-token account. Unsettled positions block closure. Terminal bid cleanup releases collateral to the owner. Terminal ask cleanup credits the owner with the burned shares' terminal payout.
Safe habit: redeem every resolved market within a few days. Don't leave positions or resting orders abandoned in finished markets. See Flow of Funds for the full timeline.
What if the oracle is down at settlement time?#
If the Pyth oracle cannot supply a usable post-boundary price by
t_end + market_expiration_window_seconds (default 7 days after the
market's end time), the market transitions to Expired via
ExpireMarket (0x06). In that state:
- Both YES and NO shares redeem at 0.50 USDT each (50/50 split).
- Unfilled bid collateral is released.
- Funds are never stranded by an oracle outage.
Orders and Price Band#
Why was my order rejected?#
Several conditions can cause a resting order to be rejected:
| Error | Code | Cause |
|---|---|---|
OrderPriceOutOfBand | 0x3012 | Resting price is outside the maker price band |
PostOnlyModeActive | 0x300B | Market is in PostOnly mode; Limit and PostOnly orders are still accepted |
ProtocolPaused | 0x6001 | Protocol is paused; only settlement instructions remain available |
WouldCross | 0x3004 | A PostOnly order would immediately match |
TradingEnded | 0x1004 | Market's trading period has closed |
OrderbookFull | 0x3002 | The orderbook is full on that side |
MinRestingNotionalNotMet | 0x3011 | Remaining quantity after partial fill is below the minimum |
MaxTotalSharesExceeded | 0x300E | Order would push the market over its share cap |
Price band in detail: When both sides of the order book have resting orders, new resting orders must sit within ±1000 bps of the midpoint. When one or both sides are empty, the static bounds apply: bids must be ≥ 100 bps, asks ≤ 9900 bps. IOC orders are exempt — they never rest.
Market emergency status: Each market has an independent emergency status set
by the admin via SetMarketEmergencyStatus (0x27):
| Status | Effect |
|---|---|
| None | Normal trading |
| PostOnly | Only PostOnly orders may rest; IOC/Limit takers blocked |
| Paused | All order placement blocked; settlement still works |
| ForceCancelOnly | New orders blocked; ForceCancelMarketOrders (0x28) can cancel one identified resting order per call after the emergency delay |
Settlement instructions (Redeem, ForceClose, MarkPositionSettled, etc.)
remain available in all non-None emergency states.
Oracle#
How does Seesaw use Pyth?#
Seesaw launch markets use Pyth Pull only. The market stores the 32-byte feed ID,
and each snapshot must supply a PriceUpdateV2 account whose owner, verification
level, feed ID, freshness, and boundary evidence satisfy the on-chain validator.
The program does not treat a client label, a local fixture, or a provider claim
as evidence that an update is authentic; deployment and provider liveness remain
external signoff.
The create-market instruction has no oracle-mode selector or Push compatibility fields. E2E and production setup must fail closed when a Receiver-backed update account is unavailable; synthetic or client-owned oracle accounts are invalid.
Pull mode:
- The market stores
pyth_feed = [0u8; 32](the pull indicator — no address). - At snapshot time, the transaction supplies a Receiver-backed
PriceUpdateV2; the program validates the pinned Receiver owner, feed ID, verification level, and predecessor/boundary evidence. - This is an on-chain validation contract, not a claim that any named relay, Hermes run, provider, or deployment has produced a live observation.
Native outcomes use the confidence-aware rule: UP only if
end_low > start_high; DOWN only if end_high < start_low; equality, touching,
or overlap is neutral EXPIRED. An order's named-outcome price is not a
substitute for this interval comparison.
For technical background see Design → Price Oracle.
Is there a planned Pyth upgrade I should know about?#
Historical oracle-governance note: older documents used names such as
ProposePythProgramId and ApplyPythProgramId. Those routes are not part of
the current public ABI, and their old numeric claims are not current route
identities. The live bytes 0x28 and 0x29 are
ForceCancelMarketOrders and SetPauser. The 191 live public tags are dense over
0x00–0xBE, bytes 0xBF–0xFE have no public route, and 0xFF is the
internal LOG recorder.
If the pinned Receiver owner or Pyth deployment changes, Seesaw must handle it as a program-upgrade event with release evidence rather than a routine on-chain configuration proposal.
SDK#
What SDK should I use to integrate?#
One canonical family:
Canonical SDKs (convenience; indexer/API in the read path):
- TypeScript:
@seesaw/core(@solana/kitv6) - Python:
seesaw-sdk(PyPI, solders-based) - Rust:
seesaw-sdk(crates.io)
Generated account surface — generated readers validate account sets from RPC fail-closed:
- TypeScript:
@seesaw/core - Python:
seesaw-sdk - Rust:
seesaw-sdk
See SDK Guide for the canonical integration.
Security#
Is Seesaw audited or risk-free?#
No. The Protocol and its surrounding infrastructure may contain undiscovered bugs or vulnerabilities. Oracle data may be delayed, unavailable, stale, or incorrect; blockchain transactions may be irreversible; and network or third-party service failures may prevent timely trading or settlement. Do not use funds you cannot afford to lose, and review the Terms of Use and Security documentation (unavailable reference) before using the Services.
Is the protocol audited?#
The Seesaw on-chain program has not undergone a human third-party security audit as of the current release. Security measures in place include:
- ~1,628 unit tests and ~49 property tests (as of 2026-05-19)
- Fuzz testing (36 targets via
cargo-fuzz) - Mutation testing (
cargo-mutants) - Kani formal verification proofs
- Runtime invariant checks (solvency, no-crossed-book, conservation)
- All arithmetic uses checked operations; rounding always favors the protocol
This status will be updated when a human third-party audit is completed. Trade accordingly — smart-contract risk is real. See For Traders → Risks for the full risk disclosure.
Common Error Codes#
See Error Codes for the complete, categorized reference. Common codes you may encounter while trading are listed there alongside their causes and recovery actions.
Getting Help#
If your issue is not covered here:
- Examine the Troubleshooting guide.
- Search Discord — many issues have been discussed before. See Support (unavailable reference) for channels and what to include.
- Post in #support with: error code, transaction signature, wallet type, browser, and steps to reproduce.
- Open a GitHub issue for bugs or feature requests.