Trade politics, news, crypto, culture, sports, tech, and more with Solana on https://t.co/T0x3OzKnaY.
We are currently live on Solana Devnet.
We expect to move to Testnet at the end of February and launch on Mainnet in mid-March.
@cryptoser100 if you look at the smart contract, there is a special role for token holders. These individuals have the right to vote on upcoming or draft markets, while non-token holders do not
🛡️
We just patched 9 vulnerabilities in the SyxthOracle prediction market contracts.
Every account is now type-checked. Every arithmetic op is overflow-safe. Every fee is correctly rounded. Every payout is double-claim protected.
@CanuckInvesting if you look at the smart contract, there is a special role for token holders. These individuals have the right to vote on upcoming or draft markets, while non–token holders do not
Details:
- C-1: validate update_treasury new_treasury as TokenAccount with mint check
- C-2: validate init_platform collateral_mint as Mint, treasury as TokenAccount
- C-3: move user_share_account validation before token transfers in place_bet
- C-4: type treasury as Account<TokenAccount> with mint constraint in place_bet
- H-1: replace all raw += with checked_add in place_bet state updates
- H-2: fee calculation uses ceiling division to prevent micro-bet fee bypass
- H-3: add PDA seeds/bump to platform_config in cancel_bet
- H-4: add PDA seeds/bump to platform_config in place_bet
- H-5: add explicit double-claim guard
Syxth Oracle smart contract is now open for public contributions!
Read the readme file on how to contribute
Let's build it togehter
https://t.co/WCwgR7GkrY
# Smart Contract Critical Security Fixes
**Date:** February 10, 2026
**File:** `programs/solana-predict/src/instructions/dispute/settle_dispute.rs`
**Problem:** Anyone could call `settle_dispute` and flip market outcomes — fully exploitable on public devnet.
**Fix:** Added `platform_config` account with admin constraint to the `SettleDispute` accounts struct.
**File:** `programs/solana-predict/src/instructions/betting/claim_payout.rs`
**Problem:** When a market resolved as `Invalid`, the burn always used `no_mint` regardless of which shares the user held. YES holders couldn't claim because their shares didn't match the burn mint — users lose funds.
**Fix:** Rewrote the claim logic to:
1. Accept **either** YES or NO shares when outcome is `Invalid` (pro-rata across total supply)
2. Determine the burn mint from the user's actual share account, not from the outcome enum
3. Replaced `.unwrap()` on `checked_sub` with `.ok_or(PredictError::InsufficientVault)?` (H-3)
**File:** `programs/solana-predict/src/instructions/oracle/resolve_market.rs`
**Problem:** An attacker could pass any Pyth feed account to manipulate market resolution outcomes — fully exploitable on public devnet.
**Fix:** Added a `require!` check that the Pyth feed account key matches the market's stored `oracle_feed`. Also added a 60-second staleness check (H-1).
**File:** `programs/solana-predict/src/instructions/admin/close_market.rs`
**Problem:** `close_market` had no status check, no outstanding positions check, and yes/no mint accounts were never closed (orphaned). An admin could close any market at any time, stranding user funds.
**Fix:** Added three safety checks and close operations for mint accounts.
Syxth Oracle just upgraded from Parimutuel to CPMM pricing 👨🔬
What changed:
• Constant product pools (k = yes × no)
• Real-time price discovery — every trade moves the curve
• Slippage protection built in
• Prices always sum to $1.00