Agregacja Ksiąg Zleceń DEX
Technologia pobierająca dane o płynności z wielu zdecentralizowanych giełd w celu zapewnienia najlepszych cen i najniższego poślizgu (slippage).
Agregacja nie tworzy nowej płynności, jedynie optymalizuje dostęp do już istniejącej. Dla 'wielorybów' (whales) jest to niezbędne narzędzie zapobiegające ogromnym stratom z powodu poślizgu cenowego.
graph LR
Center["Agregacja Ksiąg Zleceń DEX"]:::main
Rel_decentralized_derivatives_pricing_models["decentralized-derivatives-pricing-models"]:::related -.-> Center
click Rel_decentralized_derivatives_pricing_models "/terms/decentralized-derivatives-pricing-models"
Rel_distributed_transactions["distributed-transactions"]:::related -.-> Center
click Rel_distributed_transactions "/terms/distributed-transactions"
Rel_decentralized_exchange_dex["decentralized-exchange-dex"]:::related -.-> Center
click Rel_decentralized_exchange_dex "/terms/decentralized-exchange-dex"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 Wyjaśnij jak 5-latkowi
Jeśli chcesz kupić 100 jabłek na jednym straganie, sprzedawca podniesie cenę, widząc duży popyt. Agregator [DEX](/pl/terms/dex) to asystent, który sprawdza wszystkie rynki w mieście i kupuje 30 jabłek tu, a 70 tam, zdobywając najlepszą średnią cenę bez wywoływania paniki na jednym straganie.
🤓 Expert Deep Dive
Algorytm Smart Order Routing (SOR) rozwiązuje problem optymalizacji w teorii grafów, uwzględniając płynność i opłaty za gaz. Głównym wyzwaniem jest normalizacja: AMMy używają krzywych matematycznych, a CLOBy dyskretnych ofert (bids/asks). Z powodu MEV (ataków sandwich) na publicznych mempoolach, nowoczesne agregatory używają prywatnych RPC (np. Flashbots) do bezpiecznej realizacji transakcji.
❓ Częste pytania
What is the difference between a DEX and a DEX Aggregator?
A DEX (like Uniswap) is a single marketplace with its own liquidity. A DEX Aggregator (like 1inch) is a search engine that checks prices across all DEXs to find you the best deal.
Why do aggregators split trades?
If you make a very large trade on a single exchange, you deplete its liquidity and get a worse price (slippage). Splitting the trade across multiple exchanges minimizes this effect.
Do DEX Aggregators charge extra fees?
Most major aggregators do not charge an extra fee on top of the trade, but they do require slightly more gas to execute because the smart contract has to interact with multiple exchanges at once.