LogoLogo
  • Introduction
    • What is Codefi?
    • Why Codefi?
  • Links
  • Products
    • Key Features
      • Codefi in Action
    • Intelligence Layer
      • User Guide
    • Execution Layer
    • Social Layer
      • Prediction Market
        • Connecting to the Social Layer
        • Prediction & Point Mechanics
        • How to Refill Your Points
  • Roadmap
    • Short Term Roadmap
  • Subscription Model
  • Tokenomics
    • COAI Token Overview
    • Token Distribution and Vesting Schedule
    • Token Utility
  • Staking & Revenue Stream
    • Revenue Stream
    • Staking Plan
  • Branding Guidelines
    • Colors
      • Primary Colors
      • Secondary Colors
  • Logo
    • Logotype
    • Symbol
  • Font
  • Tech
    • Technical Paper
  • Policies
    • Privacy Policy
    • Terms of Use
Powered by GitBook
On this page
  1. Products

Execution Layer

PreviousUser GuideNextSocial Layer

Last updated 3 months ago

The Execution Layer allows prompt-based execution and automates yield farming & liquidity management through a transaction routing framework. Once a user submits a query, Codefi fetches real-time data and calculates an optimal execution strategy. Codefi actively tracks yield performance and executes fund reallocations if a strategy underperforms.

Execution via Prompts - Users can interact with the AI-model to manage their DeFi strategies and perform DeFi operations, such as liquidity provisioning, withdrawals, fee collection, swaps, and staking.

Gas Fee Optimization - Transactions are executed on-chain using automated gas-optimized smart contracts. The model routes transactions through the lowest-cost gas paths via smart order routing.

Portfolio Monitoring - Codefi’s AI continuously monitors users' DeFi positions, tracking APY fluctuations, liquidity shifts, and IL risks. If the market or pool conditions exceed user-defined risk limits, the model can either liquidate the position or notify the user accordingly.

Auto-Rebalancing - Codefi autonomously rebalances user positions to align with user’s risk & reward preferences and current market conditions, ensuring optimal positioning based on market fluctuations.

💬 "Provide liquidity to a stablecoin pool that has an APY over 8% and a TVL above $500M."

💬 "Convert 25% of my USDT yield into ETH and auto-stake it in Rocket Pool every month."

💬 “Deposit $20,000 USDC into the highest yielding lending protocol with minimal protocol risk.”

💬 "Execute a swap for 2 ETH to USDT with the optimum routing and deposit USDT to the Aave V3."

💬 "Monitor TVL fluctuations in my deposited pools and alert me if liquidity decreases by 25%."