doc.gno
0.42 Kb · 9 lines
1// package router handles token swaps through GnoSwap liquidity pools.
2//
3// The router provides user-facing swap functions with slippage protection,
4// multi-hop routing, and both exact-input and exact-output swap modes.
5//
6// Live exact-input calls enforce a minimum output and deadline. Live
7// exact-output calls enforce a maximum input and deadline. DrySwapRoute is
8// read-only and has no deadline or transfer.
9package router