Skip to content

Add Arcadia Finance integration#71

Open
Thomas-Smets wants to merge 3 commits intoRealWagmi:mainfrom
Thomas-Smets:feature/arcadia
Open

Add Arcadia Finance integration#71
Thomas-Smets wants to merge 3 commits intoRealWagmi:mainfrom
Thomas-Smets:feature/arcadia

Conversation

@Thomas-Smets
Copy link
Copy Markdown

Summary

Arcadia Finance adapter for concentrated liquidity management on Base (Uniswap and Aerodrome).

37 tools covering the full protocol:

  • 17 getters: account info, history, PnL, wallet balances/allowances/points, strategies, pools, assets, prices, guides, leaderboard
  • 13 actions: create account, deposit, withdraw, borrow, repay, approve, add/remove liquidity, close position, swap, deleverage, stake, set asset managers
  • 7 intent encoders: rebalancer, compounder, compounder (staked + CowSwap), yield claimer, yield claimer (CowSwap), standalone CowSwap, Merkl operator

API-routed actions call api.arcadia.finance for optimized calldata (flash-actions, swap routing), then submit via sendTransactions().

Concentrated liquidity management on Uniswap and Aerodrome (Base).
37 tools: account management, lending, LP positions, automated
rebalancing, compounding, yield claiming, and CowSwap integrations.
- Fix OpenAI strict mode: all tool properties now in required arrays
- Add multisig handling (isMultisig check) to all 13 action functions
- Add try/catch with descriptive errors around all transaction blocks
- Add JSDoc comments to all 38 exported functions
- Add getProtocolDescription getter (spec requirement RealWagmi#5)
- Cap getter response sizes to stay under 500 token limit
- Fix package.json: publishConfig, prepare/lint scripts, dep placement
- Use SDK ChainIds instead of hardcoded chain ID
- Use @arcadia format in README example prompts
- Remove non-null assertions on evm/notify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant