doc.gno
0.74 Kb · 16 lines
1// Package router provides swap routing and execution across GnoSwap liquidity pools.
2//
3// Router domain proxy for single-hop and multi-hop exact-in, exact-out, and
4// dry-route operations.
5//
6// Live exact-in and exact-out calls validate a deadline and the corresponding
7// amount limit (minimum output or maximum input). DrySwapRoute is a read-only
8// quote path with no deadline or token transfer.
9//
10// The router fee is charged on output tokens. It defaults to 15 bps (0.15%)
11// and is configurable by admin/governance from 0 through 1000 bps (0–10%);
12// the current rate is fixed for each individual execution.
13//
14// The router acts as a proxy to version-specific implementations,
15// currently routing to v1 for all swap operations.
16package router