What problem does it solve?
Managing Uniswap V4 liquidity positions from .NET requires assembling complex multi-command transactions against the Position Manager contract. This Skill provides ready-to-use C# patterns for the full position lifecycle — minting, increasing, decreasing, collecting fees, rebalancing, and burning — using Nethereum's actions builder.
Core Features & Use Cases
- Position Lifecycle Management: Mint new concentrated-liquidity positions as ERC-721 NFTs, increase or decrease liquidity, and burn positions, all via the Position Manager actions builder.
- Fee Collection & Rebalancing: Collect accumulated fees with zero-liquidity decrease commands and atomically rebalance into new tick ranges in a single transaction.
- Position Analytics: Query position liquidity, decode tick ranges, and calculate current token amounts and position value with built-in calculators.
- Use Case: A DeFi portfolio service in .NET needs to automatically rebalance LP positions when prices move out of range. Use this Skill to decrease the old position, mint a new one at updated ticks, and settle the net token difference atomically.
Quick Start
Ask the AI to create a Uniswap V4 liquidity position in C# with Nethereum for an ETH/USDC pool with a specified tick range and deposit amounts.