Solana IDL reference › OKX DEX (closed)
Closed program. Closed on Solana mainnet. On 22 November 2026 (America/Fortaleza), the program-data account for 6m2CDdhRgxpH4WjvdzxAYbGxwdGUz5MziiL5jek2kBma was absent on two public RPCs (slots 472734977 and 472734983), so the bytecode is gone. The 36-byte program account still exists and is marked executable, but it cannot run. OKX's current Trade documentation lists proVF4pMXVaYqmy4NjniPh4pqKNfMmsihgd4wdkCX3u as the Solana DEX router (checked the same day; that program was executable with program data present). This page keeps the published snapshot of the closed router for historical lookup.
Program ID 6m2CDdhRgxpH4WjvdzxAYbGxwdGUz5MziiL5jek2kBma. IDL name dex_solana, version 0.1.0. Format: Anchor 0.30+ IDL (discriminators published). 20 type definitions. Source: solana-idls@1.2.1.
No account types in this snapshot.
| Event | Discriminator |
|---|---|
| AddResolverEvent | 0xad891dfbc33a7347 |
| CancelOrderEvent | 0xae428d1104e0a24d |
| FillOrderEvent | 0x2533c582350f6312 |
| InitGlobalConfigEvent | 0xc3fc85952f7e6be7 |
| PauseTradingEvent | 0x55175789ce41d03a |
| PlaceOrderEvent | 0x41bf195b1bfcc028 |
| RefundEvent | 0xb09fda3b5ed581da |
| RemoveResolverEvent | 0x398a7d7a64539c25 |
| SetAdminEvent | 0xf075ccfe5996845e |
| SetFeeMultiplierEvent | 0xc55b5aa5f4c90d9a |
| SetTradeFeeEvent | 0x0861a3444f6386e5 |
| SwapEvent | 0x40c6cde8260871e2 |
| UpdateOrderEvent | 0x37182ff069f51e87 |
GET /api/idl/okx-dex (Rugsight's normalized JSON, not the original IDL file)Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.
Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.