Solana IDL reference › OKX DEX (closed) › CancelOrderEvent

CancelOrderEvent event

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.

OKX DEX (closed) event. Program ID 6m2CDdhRgxpH4WjvdzxAYbGxwdGUz5MziiL5jek2kBma. Data starts with the 8-byte event discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0xae428d1104e0a24d

bytes [174, 66, 141, 17, 4, 224, 162, 77]

base58 W9YKPE1Y9tg

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
order_idu6488
payerpubkey1632
makerpubkey4832
update_tsu64808

Where this event appears

Anchor programs emit events in one of two ways. With emit! the event is written to the transaction logs as Program data: <base64>; the decoded bytes are the 8-byte discriminator above followed by the Borsh-encoded fields. With emit_cpi! the program calls itself and the event is in that inner instruction's data, which starts with the 8-byte tag 0xe445a52e51cb9a1d, then the discriminator and the fields. Logs can be truncated on busy transactions; inner-instruction data is not. The decoder below accepts both forms. How to decode Anchor events.

Decode this event

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.

Other OKX DEX (closed) events

OKX DEX (closed) instructions · Explain a transaction

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.