Skip to content
Back to skills

Using Uniswap Adapter

ASecurity

How to use Uniswap V3 and V4 swaps and concentrated liquidity, including Arc V4 explicit-position management.

  • 22 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added February 11, 2026
blockchaingo

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add WayfinderFoundation/wayfinder-paths-sdk --skill using-uniswap-adapter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Using Uniswap Adapter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Using Uniswap Adapter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wayfinderfoundation-using-uniswap-adapter/badge)](https://www.skillsdirectory.com/skills/wayfinderfoundation-using-uniswap-adapter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: using-uniswap-adapter
description: How to use Uniswap V3 and V4 swaps and concentrated liquidity, including Arc V4 explicit-position management.
metadata:
  tags: wayfinder, uniswap, v3, liquidity, lp, base, arbitrum, tick, nft
---

## When to use

Use this skill when you are:
- Provisioning concentrated liquidity on Uniswap V3 (or V3 forks)
- Reading LP positions, pool state, or uncollected fees
- Writing scripts that add/remove liquidity or collect fees
- Working with tick math, price ranges, or sqrtPriceX96

## How to use

- [rules/high-value-reads.md](rules/high-value-reads.md) - Pool state, positions, fees, tick/price conversions
- [rules/execution-opportunities.md](rules/execution-opportunities.md) - Add/remove liquidity, collect fees
- [rules/gotchas.md](rules/gotchas.md) - Tick math pitfalls, slippage, token ordering, ABIs

## Arc V4

Arc (5042) has V4, not V3. Use `UniswapAdapter({"chain_id": 5042}, ...)` and `v4_*`
methods; V3 NFT/pool calls fail instead of selecting another chain.
`v4_mint_position` accepts a `PoolKey`, ticks, liquidity and raw amount maxima;
`v4_increase_liquidity` / `v4_decrease_liquidity` take explicit IDs and limits.
`v4_collect_fees` uses zero-liquidity decrease; `v4_close_position` burns and
returns both currencies to the owner. Persist minted `token_ids` from receipts.
`v4_get_positions(ids)` reads only those IDs (max 100), with no history scans.

New liquidity supports hookless pools only. Use canonical currency order,
aligned ticks and deliberate slippage limits. Native USDC (zero address, 18
decimals) and ERC-20 USDC (`0x3600…0000`, 6 decimals) are different pool keys but
share a wallet balance. Do not normalize one pool into the other. Native input
uses `msg.value` and refunds excess; ERC-20 input uses Permit2.

Files in this skill

  • SKILL.md901 B
  • rules/execution-opportunities.md4.4 KB
  • rules/gotchas.md3.1 KB
  • rules/high-value-reads.md4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.