微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

arcadia-finance

arcadia-finance · v1.2.0
安全 unknown 级 作者 thomas-smets 公开目录收录
1.1k 下载 2 安装 3k 收藏 1 浏览

简介

arcadia-finance

原始描述

DeFi liquidity management on Uniswap and Aerodrome, live on Base, Unichain, and Optimism. Deploy concentrated liquidity positions with automated rebalancing, compounding, yield optimization, and leverage, or provide single-sided liquidity to lending pools.

通过你的 Agent 添加

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/arcadia-finance/
Codex CLI~/.codex/skills/arcadia-finance/
DeepSeek Harness~/.agents/skills/arcadia-finance/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: arcadia-finance version: 1.2.0 description: "DeFi liquidity management on Uniswap and Aerodrome, live on Base, Unichain, and Optimism. Deploy concentrated liquidity positions with automated rebalancing, compounding, yield optimization, and leverage, or provide single-sided liquidity to lending pools." metadata: openclaw: homepage: https://arcadia.finance requires: bins: [curl, jq]

Arcadia Finance

Agent note: {baseDir} refers to the directory containing this SKILL.md file. Resolve all {baseDir} paths relative to it.

Arcadia helps users deploy concentrated liquidity positions on Uniswap, Aerodrome, and Velodrome with automated rebalancing, compounding, yield optimization, and optional leverage, or provide single-sided liquidity to lending pools to earn borrower interest. Supported chains: Base (8453), Unichain (130), Optimism (10).

CLI Usage

# Discover all available tools (run this first)
{baseDir}/arcadia.sh --list

# Call a specific tool
{baseDir}/arcadia.sh <tool_name> '<json_args>'

Requires: curl, jq. No other dependencies.

Read Operations

# List all accounts for a wallet
{baseDir}/arcadia.sh read_wallet_accounts '{"wallet_address":"0x..."}'

# Account details (health factor, collateral, debt, positions)
{baseDir}/arcadia.sh read_account_info '{"account_address":"0x..."}'

# Featured LP strategies with APY
{baseDir}/arcadia.sh read_strategy_list '{"featured_only":true}'

# Lending pools (TVL, APY, utilization)
{baseDir}/arcadia.sh read_pool_list '{}'

# Workflow guides (automation setup, strategy selection)
{baseDir}/arcadia.sh read_guides '{"topic":"overview"}'

# Available automations (rebalancer, compounder, yield claimer)
{baseDir}/arcadia.sh read_asset_manager_intents '{}'

Single-Sided Liquidity (Lending)

Provide single-sided liquidity by depositing the pool's underlying asset into an Arcadia lending tranche (ERC-4626), earning interest from borrowers. Use read_pool_list to find tranches[0].address for each pool. Approve the tranche first (write_wallet_approve).

# Lender deposit: lend 10 USDC into the USDC tranche, receive shares to your wallet
{baseDir}/arcadia.sh write_pool_deposit '{"tranche_address":"0x...","assets":"10000000","receiver":"0x...","chain_id":8453}'

# Lender exit: redeem shares back to the underlying asset
{baseDir}/arcadia.sh write_pool_redeem '{"tranche_address":"0x...","shares":"10000000","receiver":"0x...","owner":"0x...","chain_id":8453}'

write_pool_deposit is for lenders earning yield. For depositing collateral into an Arcadia account, use write_account_deposit instead.

Write Operations

All write tools return unsigned transactions { to, data, value, chainId }. Sign with your wallet before broadcasting. See {baseDir}/wallet-signing.md for wallet options.

# Open LP position (deposits + swaps + mints LP atomically)
{baseDir}/arcadia.sh write_account_add_liquidity '{"account_address":"0x...","wallet_address":"0x...","positions":[{"strategy_id":123}],"deposits":[{"asset":"0x...","amount":"1000000","decimals":6}]}'

# Close position (burn LP + swap + repay in one tx)
{baseDir}/arcadia.sh write_account_close '{"account_address":"0x...","assets":[...],"receive_assets":[...]}'

# Create a new account (salt must be unique per wallet)
{baseDir}/arcadia.sh write_account_create '{"wallet_address":"0x...","salt":1,"chain_id":8453}'

# Enable automation
{baseDir}/arcadia.sh read_asset_manager_intents '{"account_address":"0x...","chain_id":8453}'
{baseDir}/arcadia.sh write_account_automations '{"account_address":"0x...","position_id":12345,"intents":[{"kind":"compound_fees"},{"kind":"rebalance"}],"chain_id":8453}'

Configuration

The CLI connects to https://mcp.arcadia.finance/mcp by default. Set ARCADIA_MCP_URL to override (e.g. for local development).

Data and Safety

This skill connects to Arcadia's public API at https://mcp.arcadia.finance/mcp (override via ARCADIA_MCP_URL). Tool calls send public wallet addresses, account addresses, and transaction parameters to this server. This is the same data that is publicly visible on-chain. No private keys or signing capabilities are transmitted.

  • Write tools return unsigned transactions only. Never auto-sign.
  • Always confirm transaction details with the user before signing.
  • Check account health factor with read_account_info before risky operations.
  • Do not pass private keys or secrets as tool arguments. Only public addresses and amounts are needed.

References

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill