crane-camelot

Implement Camelot V2 swaps, deposits, and withdrawals with router awareness on Arbitrum.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/cyotee/cyotee-claude-plugin-crane --skill crane-camelot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crane-camelot
Source: https://github.com/cyotee/cyotee-claude-plugin-crane/tree/main/.opencode/skills/crane-camelot
Command: npx skills add https://github.com/cyotee/cyotee-claude-plugin-crane --skill crane-camelot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Camelot V2 integration with directional (asymmetric) fees on Arbitrum can be complex to implement and test. Crane's service library provides a structured approach to swap, deposit, withdraw, balance and test Camelot flows.

Core Features & Use Cases

  • CamelotV2Service.sol: swap, deposit, withdraw operations with router awareness.
  • Router / Factory aware repos: inject dependencies for modular deployments.
  • Test infrastructure: TestBase_CamelotV2 and reference implementations to simulate end-to-end scenarios.
  • Support for asymmetric fees: directional fee handling on Camelot pools, including referrer support.
  • Zap in/out patterns and balance tooling for deposits and withdrawals.

Quick Start

Invoke CamelotV2Service._swap with a test pool to validate directional fees.

Frequently Asked Questions about crane-camelot

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

FAQPage Schema
How do I handle asymmetric fees when implementing Camelot V2 swaps on Arbitrum?

You can implement Camelot V2 swaps with asymmetric fees using a structured service library that manages directional fee logic. It provides router-aware swap operations with referrer support, ensuring fees are correctly applied based on the swap direction.

What's the best way to test Camelot V2 deposit and withdraw flows before production deployment?

The best way to test Camelot V2 deposit and withdraw flows is using the included TestBase_CamelotV2 infrastructure. It provides reference implementations to simulate end-to-end scenarios with router and factory awareness across test environments.

Does Crane's service library support zap in and zap out patterns for liquidity management?

Yes, Crane's service library supports zap in and zap out patterns for liquidity management on Camelot V2. It includes balance tooling that streamlines single-asset deposits and withdrawals through the router-aware interface.

How do I inject router and factory dependencies for modular Camelot V2 deployments?

Inject router and factory dependencies using repository patterns designed for modular Camelot V2 deployments. This approach allows CamelotV2Service to operate with configurable dependencies, enabling flexible deployments across test and production-like environments.

Can I use Camelot V2 service libraries to manage liquidity on test networks?

Yes, Camelot V2 service libraries support liquidity management on test networks. The included test infrastructure and router-aware repositories are specifically designed to validate deposit, withdraw, and swap operations across test and production-like environments.