▸ DeFi Automation

Supported Protocols

Opus integrates with leading DeFi platforms, offering automation across:

  • Uniswap v2/v3: Liquidity provisioning, limit orders

  • Aave & Compound: Borrowing, lending, auto-repay

  • Balancer: Rebalancing and liquidity automation

  • 1inch / 0x: Optimized token swaps

Additional protocol adapters can be added through the StrategyExecutor.

Strategy Builder UX Explained

Users can construct DeFi strategies without writing code through an intuitive form-based interface:

  1. Select protocol (e.g., Aave)

  2. Choose action (e.g., supply, withdraw)

  3. Set condition triggers (e.g., "ETH < $2,500")

  4. Preview logic and sign session intent

The strategy builder converts these choices into ABI-encoded calldata, stored and validated on-chain.

Examples

  • DCA Strategy: Buy 100 USDC worth of ETH every 24h

  • Auto-Liquidation Avoidance: Withdraw collateral if LTV > 70%

  • Yield Farming: Claim & reinvest rewards if gas < 50 gwei

Security & Gas Efficiency of DeFi Operations

  • Session-limited execution ensures that actions can only be executed under strict scopes.

  • Gas ceilings can be set to avoid overpaying during spikes.

  • Conditional batching reduces the number of on-chain calls.

Example: Trigger multiple reward claims only if block.timestamp % 86400 == 0 (once daily).


Last updated