Skip to main content

Documentation

Start with Ring Swap unless your integration explicitly targets Uniswap v4.

Structured reference
TOC available

Contract Map

Start with Ring Swap unless your integration explicitly targets Uniswap v4.

Native Ring contracts

ComponentResponsibilityUse it for
FewFactoryResolves the canonical FewToken for an original ERC-20Wrapper discovery and validation
FewTokenWraps an original asset for use in Ring systemsManual wrapping and unwrapping
Ring Swap FactoryCreates and indexes Ring Swap pairsPair discovery and validation
Ring Swap PairHolds two FewToken reserves and executes swapsReserve reads, LP accounting, and direct pair integrations
Ring Swap RouterCoordinates normal swap and liquidity flowsSmart contract integrations
Universal RouterExecutes command-based routes across supported pathsInterface and advanced routing flows
Permit2Provides shared allowance and signature-transfer flowsRouter approvals

Use Contract Deployments for network-specific addresses and Pools by Network for published pair addresses.

External integration contracts

The Uniswap v4 Integration section covers PoolManager, PositionManager, hooks, and related contracts used in Uniswap v4 environments. These contracts are not a separate native Ring AMM.

Choose the correct entry point

TaskEntry point
Resolve a FewTokenFewFactory
Find or validate a Ring Swap pairRing Swap Factory
Execute a standard swapRing Swap Router or Universal Router
Provide Ring Swap liquidityRing Swap Router
Build a TypeScript routeRing Swap SDK
Request executable calldataRouting API
Build a Few hook or use a Uniswap v4 poolUniswap v4 Integration

Do not select a contract from its name alone. Select the network and workflow first, then use the official address published for that path.