Uniswap V4 Flash Accounting

Community

Defer token transfers, settle at end.

Authorcyotee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flash accounting defers token transfers by tracking deltas in transient storage and settles at unlock, enabling more gas-efficient multi-step swaps.

Core Features & Use Cases

  • Transient storage to hold per-currency deltas during complex sequences.
  • Delta accounting to accumulate net positions across pools and settle at the end.
  • Unlock-based settlement to pay or take tokens when the callback completes, supporting multi-hop swaps and liquidity changes.
  • Real-world use: execute multi-pool strategies in a single transaction with net settlements.

Quick Start

Explain how flash accounting defers token transfers and performs settlement at unlock.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Uniswap V4 Flash Accounting
Download link: https://github.com/cyotee/crane/archive/main.zip#uniswap-v4-flash-accounting

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.