Automated cross-chain yield optimization with real-time monitoring and user-defined guardrails.
Chameleon is a DeFi automation platform that intelligently moves idle stablecoins to the best APY opportunities across multiple blockchains. The platform leverages Avail Nexus for seamless cross-chain deposits and Vincent automation for periodic rebalancing with user-controlled permissions.
Users can deposit USDC from any supported chain through a unified interface, set custom guardrails for risk management (maximum slippage, gas ceilings, minimum APY differentials), and enable automated rebalancing that continuously optimizes their yields. The system monitors APYs across lending protocols like Aave and Compound, tracks gas costs for optimal transaction timing, and provides real-time analytics through a comprehensive dashboard.
The platform is built around three main components: smart contracts for yield optimization, a React-based frontend for user interaction, and automated backend services for monitoring and rebalancing.
Smart Contracts (Solidity + Foundry):
The core contracts are written in Solidity (version 0.8.20) and deployed using Foundry.
YieldOptimizer.sol is the main ERC4626 vault contract that manages user deposits and conducts yield farming across various protocols.
StrategyManager.sol is responsible for executing rebalancing strategies based on APY comparisons and user-defined guardrails.
YieldAggregator.sol aggregates yield data from multiple DeFi protocols to help select the most optimal strategy.
These contracts are deployed on both the Base and Arbitrum networks, with cross-chain communication handled through Avail Nexus bridge contracts.
Frontend (React + TypeScript + Vite):
The user interface is built using React 19 and TypeScript, with Vite for fast development and optimized production builds. The UI uses TailwindCSS and shadcn/ui for responsive, accessible design. Wallet connectivity and transaction management are powered by Wagmi and ConnectKit, while the Avail Nexus SDK supports cross-chain deposits and bridging operations.
Key Technical Integrations:
Avail Nexus Integration: Enables unified cross-chain deposits from any supported blockchain. It manages bridge and execute operations for seamless asset transfers and handles communication between Base and Arbitrum vaults.
Vincent Automation: Provides scoped delegations for user-controlled automation, executes periodic rebalancing based on user-defined parameters, and ensures gas-optimized transaction execution.

