Slipstream Swapping

Explain Slipstream concentrated-liquidity swap mechanics, including tick traversal and fee distribution.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/cyotee/aerodrome-V2-slipstream-skill --skill slipstream-swapping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Slipstream Swapping
Source: https://github.com/cyotee/aerodrome-V2-slipstream-skill/tree/main/.opencode/skills/slipstream-swap
Command: npx skills add https://github.com/cyotee/aerodrome-V2-slipstream-skill --skill slipstream-swapping

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill explains how swaps work in Slipstream pools and clarifies the price movement, liquidity consumption, and fee implications during a swap.

Core Features & Use Cases

  • Swap traversal across price ranges with deterministic steps
  • Understanding input/output amount calculations and fee distribution
  • Use Case: Given a desired token swap, anticipate price impact and liquidity shifts across ticks.

Quick Start

Describe a basic swap scenario: "Explain how swapping 10 token0 for token1 would progress across initialized ticks in a Slipstream pool."

Frequently Asked Questions about Slipstream Swapping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do swaps work in Slipstream concentrated liquidity pools?

Slipstream pools execute swaps by traversing initialized ticks deterministically, consuming liquidity across specific price ranges, calculating input and output amounts, and distributing fees at each step. Price movement relies on the sqrtPriceX96 value updating as liquidity is consumed.

How do I calculate price impact and liquidity shifts when swapping tokens across ticks?

Calculate price impact and liquidity shifts by modeling tick traversal step-by-step, tracking how liquidity changes as the sqrtPriceX96 value crosses initialized ticks, and computing the exact input and output amounts consumed within each range.

How is swap fee distribution calculated across multiple tick crossing steps in Slipstream?

Swap fee distribution is calculated across each tick crossing step by applying the pool fee rate to the token amounts exchanged within that specific liquidity range, accumulating fees deterministically as the sqrtPriceX96 price moves through initialized ticks.

What prerequisite knowledge is needed to model Slipstream swap math and tick crossing behavior?

Modeling Slipstream swap math requires prerequisite familiarity with sqrtPriceX96 calculations, tick crossing mechanics, SwapMath functions, and liquidity management concepts to accurately anticipate price impact and liquidity shifts during token swaps.

When do I need to account for tick crossing during a concentrated liquidity swap?

You need to account for tick crossing during a concentrated liquidity swap when the desired input or output amount is large enough to push the sqrtPriceX96 value beyond the current tick's liquidity range, requiring traversal into adjacent initialized ticks.