Protocol Overview
Kroko DEX is a decentralized exchange on the Kasplex blockchain that combines two proven AMM models — V2 (constant product) and V3 (concentrated liquidity) — under a unified routing layer.Architecture
Components
How a Swap Works
- Approve — User approves their token to the Permit2 contract (one-time per token)
- Permit — User grants the Universal Router permission via Permit2 (one-time per token)
- Quote — Frontend requests an optimal route from the Swap API
- Calldata — Frontend requests encoded transaction data from the Swap API
- Execute — User sends the transaction to the Universal Router