mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
The D-Chain DEX wire methods now use the dex_ namespace (dex_place, dex_submit, dex_cancel, dex_ensure_market, dex_open_market, dex_deposit, dex_withdraw, dex_get_markets/book/orders/trades) per the luxd service-prefix convention (eth_/avm./platform.). On the D-Chain the DEX IS the CLOB (the AMM lives in C-Chain contracts, not this VM), so the public wire exposes the chain's purpose, not the internal engine name. The internal Go identifiers (clobMethods, MethodPlace, the CLOB engine name) are unchanged — only the on-wire string VALUES move. Covers BOTH transports via the one clobMethods table (ZAP RegisterCLOB + HTTP ingest.go httpHandlers) plus read.go GET endpoints. Forwards-only (DEX not live yet). dexseed + dexfillproof clients aligned. zapwire + dchain tests green; four-path + venue E2E pass.